|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdqa.dom.TextUtils
final class TextUtils
TextUtils class
Constructor Summary | |
---|---|
TextUtils()
|
Method Summary | |
---|---|
static void |
appendIgnoreWhiteSpace(java.lang.String string,
java.lang.StringBuffer stringBuffer)
appends a string to a stringBuffer, ignoring XML whitespaces |
static StringStack |
childStringStack(org.w3c.dom.Node node)
|
static java.lang.String |
childText(org.w3c.dom.Node node)
returns the child text of this node |
static StringStack |
descStringStack(org.w3c.dom.Node node)
|
static java.lang.String |
descText(org.w3c.dom.Node node)
returns the descendant text of this node |
static java.lang.String |
stackToStringIgnoreWhiteSpace(StringStack stringStack)
converts a stringStack into a string |
static java.lang.String |
textNodeValue(org.w3c.dom.Node n)
If n is not a Text Node, returns null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
TextUtils()
Method Detail |
---|
public static java.lang.String textNodeValue(org.w3c.dom.Node n)
public static java.lang.String childText(org.w3c.dom.Node node)
public static java.lang.String descText(org.w3c.dom.Node node)
public static void appendIgnoreWhiteSpace(java.lang.String string, java.lang.StringBuffer stringBuffer)
public static java.lang.String stackToStringIgnoreWhiteSpace(StringStack stringStack)
public static StringStack descStringStack(org.w3c.dom.Node node)
node
-
public static StringStack childStringStack(org.w3c.dom.Node node)
node
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |