|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.util.xml.XmlDescriber
public class XmlDescriber
Some utilities for describing XML elements.
Constructor Summary | |
---|---|
XmlDescriber()
|
Method Summary | |
---|---|
static String |
describePath(Node node)
A utility that creates an XPath-like path for a particular node. |
static String |
describeSingleElement(Element element)
A utility that creates a representation of the element and its attributes. |
static int |
getIndexOf(Element start)
A utility to determine which repetition of a particular element name this element represents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlDescriber()
Method Detail |
---|
public static String describePath(Node node)
A utility that creates an XPath-like path for a particular node.
node
- - the node being described.
public static int getIndexOf(Element start)
A utility to determine which repetition of a particular element name this element represents. This method is used to create an xpath-like index for repeating elements.
start
- - the element
public static String describeSingleElement(Element element)
A utility that creates a representation of the element and its attributes. This representation would typically be used in error messages to help the user recognize which element is a problem.
element
- - the element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |