| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static Element | |
| public static Element | |
| public static Element | |
| public static Element | |
| private static void | |
| public static NamedNodeMap | |
| public static NodeList | |
| public static NodeList | |
| private static NodeList | |
| public static NodeList | |
| public static Object | |
| public static Object | |
| public static Object | |
| public static Node | |
| public static Node | |
| public static Node | |
| public static NodeList | |
| public static NodeList | |
| public static NodeList | |
| private static NodeList | |
| private static NodeList | |
| private static boolean | |
| public static boolean | |
| public static synchronized boolean | Returns: true if ignorable whitespace (e.g. whitespace between elements) is kept; default false
|
| public static synchronized boolean | |
| public static List | |
| public static List | |
| public static String | |
| private static Node | |
| private static NodeList | |
| public static Node | |
| public static void | |
| public static void | |
| public static void | |
| public static Node | |
| public static Node | |
| public static synchronized void | setGlobalKeepIgnorableWhitespace(boolean
the new value keepIgnorableWhitespace)Whether ignorable whitespace (e.g. whitespace between elements) is kept (default false). |
| public static synchronized void | setGlobalTrimWhitespace(boolean
the new value trimWhitespace)Whether text content is trimmed (removing leading and trailing whitespace); default false. |
| public static void | |
| public static int | |
| public static int | |
| public static String | |
| public static String | |
| public static String | |
| private static String | |
| private static Object | |
| private static Object | |
| private static String | |
| private static Node | |
| private static Node | |
| private static NodeList | |
| private static NodeList | |
| public static Object | |
| public static String |
| keepIgnorableWhitespace | back to summary |
|---|---|
| private static boolean keepIgnorableWhitespace | |
| trimWhitespace | back to summary |
|---|---|
| private static boolean trimWhitespace | |
| DOMCategory | back to summary |
|---|---|
| public DOMCategory() | |
| addResult | back to summary |
|---|---|
private static void addResult(List<E> results, Object result)
| |
| appendNode | back to summary |
|---|---|
| public static Element appendNode(Element self, Object name) | |
| appendNode | back to summary |
|---|---|
| public static Element appendNode(Element self, Object name, Map<K, V> attributes) | |
| appendNode | back to summary |
|---|---|
| public static Element appendNode(Element self, Object name, String value) | |
| appendNode | back to summary |
|---|---|
| public static Element appendNode(Element self, Object name, Map<K, V> attributes, String value) | |
| appendNodes | back to summary |
|---|---|
| private static void appendNodes(Node self, Closure<V> c) | |
| attributes | back to summary |
|---|---|
| public static NamedNodeMap attributes(Element element) | |
| breadthFirst | back to summary |
|---|---|
| public static NodeList breadthFirst(Element self) | |
| children | back to summary |
|---|---|
| public static NodeList children(Element self) | |
| createNodeList | back to summary |
|---|---|
| private static NodeList createNodeList(Element self) | |
| depthFirst | back to summary |
|---|---|
| public static NodeList depthFirst(Element self) | |
| get | back to summary |
|---|---|
| public static Object get(Element element, String elementName) | |
| get | back to summary |
|---|---|
| public static Object get(NodeList nodeList, String elementName) | |
| get | back to summary |
|---|---|
| public static Object get(NamedNodeMap nodeMap, String elementName) | |
| getAt | back to summary |
|---|---|
| public static Node getAt(Node o, int i) | |
| getAt | back to summary |
|---|---|
| public static Node getAt(DOMCategory. | |
| getAt | back to summary |
|---|---|
| public static Node getAt(DOMCategory. | |
| getAt | back to summary |
|---|---|
| public static NodeList getAt(Node o, IntRange r) | |
| getAt | back to summary |
|---|---|
| public static NodeList getAt(DOMCategory. | |
| getAt | back to summary |
|---|---|
| public static NodeList getAt(DOMCategory. | |
| getChildElements | back to summary |
|---|---|
| private static NodeList getChildElements(Element self, String elementName) | |
| getNextLevel | back to summary |
|---|---|
| private static NodeList getNextLevel(NodeList thisLevel) | |
| hasChildElements | back to summary |
|---|---|
| private static boolean hasChildElements(Element self, String elementName) | |
| isEmpty | back to summary |
|---|---|
| public static boolean isEmpty(NodeList self) | |
| isGlobalKeepIgnorableWhitespace | back to summary |
|---|---|
public static synchronized boolean isGlobalKeepIgnorableWhitespace()
| |
| isGlobalTrimWhitespace | back to summary |
|---|---|
public static synchronized boolean isGlobalTrimWhitespace()
| |
| list | back to summary |
|---|---|
| public static List | |
| localText | back to summary |
|---|---|
| public static List Returns the list of any direct String nodes of this node. | |
| name | back to summary |
|---|---|
| public static String name(Node node) | |
| nodeGetAt | back to summary |
|---|---|
| private static Node nodeGetAt(Object o, int i) | |
| nodesGetAt | back to summary |
|---|---|
| private static NodeList nodesGetAt(Object o, IntRange r) | |
| parent | back to summary |
|---|---|
| public static Node parent(Node node) | |
| plus | back to summary |
|---|---|
| public static void plus(Element self, Closure<V> c) | |
| plus | back to summary |
|---|---|
| public static void plus(NodeList self, Closure<V> c) | |
| putAt | back to summary |
|---|---|
| public static void putAt(Element self, String property, Object value) | |
| replaceNode | back to summary |
|---|---|
| public static Node replaceNode(DOMCategory. | |
| replaceNode | back to summary |
|---|---|
| public static Node replaceNode(Node self, Closure<V> c) | |
| setGlobalKeepIgnorableWhitespace | back to summary |
|---|---|
| public static synchronized void setGlobalKeepIgnorableWhitespace(boolean keepIgnorableWhitespace) Whether ignorable whitespace (e.g. whitespace between elements) is kept (default false). Warning this is a global setting. Altering it will affect all DOMCategory usage within the current Java process.
| |
| setGlobalTrimWhitespace | back to summary |
|---|---|
| public static synchronized void setGlobalTrimWhitespace(boolean trimWhitespace) Whether text content is trimmed (removing leading and trailing whitespace); default false. Warning this is a global setting. Altering it will affect all DOMCategory usage within the current Java process. It is not recommended that this is altered; instead call the trim() method on the returned text, but the flag is available to support legacy Groovy behavior.
| |
| setValue | back to summary |
|---|---|
| public static void setValue(Element self, String value) | |
| size | back to summary |
|---|---|
| public static int size(NamedNodeMap namedNodeMap) | |
| size | back to summary |
|---|---|
| public static int size(NodeList self) | |
| text | back to summary |
|---|---|
| public static String text(Node node) | |
| text | back to summary |
|---|---|
| public static String text(NodeList nodeList) | |
| toString | back to summary |
|---|---|
| public static String toString(Object o) | |
| toString | back to summary |
|---|---|
| private static String toString(NodeList self) | |
| xgetAt | back to summary |
|---|---|
| private static Object xgetAt(Element element, String elementName) | |
| xgetAt | back to summary |
|---|---|
| private static Object xgetAt(NodeList nodeList, String elementName) | |
| xgetAt | back to summary |
|---|---|
| private static String xgetAt(NamedNodeMap namedNodeMap, String elementName) | |
| xgetAt | back to summary |
|---|---|
| private static Node xgetAt(Element element, int i) | |
| xgetAt | back to summary |
|---|---|
| private static Node xgetAt(NodeList nodeList, int i) | |
| xgetAt | back to summary |
|---|---|
| private static NodeList xgetAt(Element element, IntRange r) | |
| xgetAt | back to summary |
|---|---|
| private static NodeList xgetAt(NodeList nodeList, IntRange r) | |
| xpath | back to summary |
|---|---|
| public static Object xpath(Node self, String expression, QName returnType) | |
| xpath | back to summary |
|---|---|
| public static String xpath(Node self, String expression) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public Node | item(int
Index into the collection. index)Implements org. indexth item in the collection.
|
| public String |
| nodeLists | back to summary |
|---|---|
| private final List<NodeList> nodeLists | |
| NodeListsHolder | back to summary |
|---|---|
| private NodeListsHolder(List<NodeList> nodeLists) | |
| getLength | back to summary |
|---|---|
| public int getLength() Implements org. Doc from org. The number of nodes in the list. The range of valid child node indices
is 0 to | |
| item | back to summary |
|---|---|
| public Node item(int index) Implements org. Doc from org. Returns the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public Node | item(int
Index into the collection. index)Implements org. indexth item in the collection.
|
| nodes | back to summary |
|---|---|
| private final List<Node> nodes | |
| NodesHolder | back to summary |
|---|---|
| private NodesHolder(List<Node> nodes) | |
| getLength | back to summary |
|---|---|
| public int getLength() Implements org. Doc from org. The number of nodes in the list. The range of valid child node indices
is 0 to | |
| item | back to summary |
|---|---|
| public Node item(int index) Implements org. Doc from org. Returns the
| |