| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static List | |
| public static Optional | |
| public static Optional | |
| public static Optional | |
| public static List | |
| public static void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| XMLUtil | back to summary |
|---|---|
| private XMLUtil() | |
| asList | back to summary |
|---|---|
| public static List | |
| getAttributeContent | back to summary |
|---|---|
| public static Optional Gets the content of an attribute.
For example,
| |
| getNode | back to summary |
|---|---|
| public static Optional Gets a the first subnode with the specified tag name. For example, <item>
<node>hit</node>
<node>second hit, but not returned</node>
</item>
| |
| getNodeContent | back to summary |
|---|---|
| public static Optional Gets the content of a subnode. For example, <item>
<nodeName>content</nodeName>
</item>
| |
| getNodesByName | back to summary |
|---|---|
| public static List Gets a list of subnodes with the specified tag name. For example, <item>
<node>first hit</node>
<node>second hit</node>
</item>
| |
| printDocument | back to summary |
|---|---|
| public static void printDocument(Document doc) Prints out the document to standard out. Used to generate files for test cases. | |
| Modifier and Type | Field and Description |
|---|---|
| private final NodeList |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Node | get(int index)
Implements abstract java. Implements java. Returns the element at the specified position in this list. |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this list. |
| list | back to summary |
|---|---|
| private final NodeList list | |
| NodeListWrapper | back to summary |
|---|---|
| pack-priv NodeListWrapper(NodeList list) | |
| get | back to summary |
|---|---|
| public Node get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |