| Package | Description |
|---|---|
| net.pterodactylus.util.xml |
Package for XML-related utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleXML |
SimpleXML.append(SimpleXML newChild)
Appends the node with all its child nodes to this node and returns the
child node.
|
SimpleXML |
SimpleXML.append(String nodeName)
Appends a new XML node with the specified name and returns the new node.
|
SimpleXML |
SimpleXML.append(String nodeName,
String nodeValue)
Appends a new XML node with the specified name and value and returns the
new node.
|
static SimpleXML |
SimpleXML.fromDocument(Document document)
Creates a SimpleXML node from the specified
Document. |
SimpleXML |
SimpleXML.getNode(String nodeName)
Returns the child node of this node with the specified name.
|
SimpleXML |
SimpleXML.getNode(String[] nodeNames)
Returns the child node that is specified by the names.
|
SimpleXML[] |
SimpleXML.getNodes()
Returns all child nodes of this node.
|
SimpleXML[] |
SimpleXML.getNodes(String nodeName)
Returns all child nodes of this node with the specified name.
|
SimpleXML |
SimpleXML.setValue(String nodeValue)
Sets the value of this node.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleXML |
SimpleXML.append(SimpleXML newChild)
Appends the node with all its child nodes to this node and returns the
child node.
|
void |
SimpleXML.remove(SimpleXML child)
Removes the specified child from this node.
|
void |
SimpleXML.replace(SimpleXML childNode)
Replaces the child node that has the same name as the given node by the
given node.
|
Copyright © 2026. All rights reserved.