com.pingidentity.sts.clientapi.utils
Class StringUtils

java.lang.Object
  extended by com.pingidentity.sts.clientapi.utils.StringUtils

public class StringUtils
extends java.lang.Object

This class provides utily functions to transform org.w3c.DOM Element into String representation


Constructor Summary
StringUtils()
           
 
Method Summary
 boolean isEmpty(java.lang.String string)
           
 java.lang.String prettyNSTransformPrint(org.w3c.dom.Element xml)
          This method transforms Element of dom tree into String without any changes.
 java.lang.String prettyPrint(org.w3c.dom.Element xml)
          This method is used for logging only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Method Detail

prettyPrint

public java.lang.String prettyPrint(org.w3c.dom.Element xml)
This method is used for logging only. It applies the XSL transformation to DomElement, that contains Password tag, and replaces is with ***Not Shown*** mask.

Parameters:
xml -
Returns:
string with xml data

prettyNSTransformPrint

public java.lang.String prettyNSTransformPrint(org.w3c.dom.Element xml)
This method transforms Element of dom tree into String without any changes. It is used for transmitting DOM tree without unexpected namespace and prefixes changes.

Parameters:
xml -
Returns:
string with xml data

isEmpty

public boolean isEmpty(java.lang.String string)


Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.