Package | Description |
---|---|
org.mdiutil.xml |
Utility classes for XML managing.
|
org.mdiutil.xml.tree |
This package contains a parser allowing to get a tree of Nodes from an XML file.
|
Modifier and Type | Method and Description |
---|---|
XMLNode |
XMLRootDetector.getRoot(File file)
Return the root element of an XML File.
|
XMLNode |
XMLRootDetector.getRoot(File file,
boolean acceptNotWellFormed)
Return the root element of an XML File.
|
XMLNode |
XMLRootDetector.getRoot(Reader reader)
Return the root element of a Reader parsed as an XML file.
|
XMLNode |
XMLRootDetector.getRoot(URL url)
Return the root element of an XML URL.
|
XMLNode |
XMLRootDetector.getRoot(URL url,
boolean acceptNotWellFormed)
Return the root element of an XML URL.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLCommentedNode
A Node in an XML File, with an associated comment.
|
class |
XMLCommentedRoot
A root Node in an XML File with an associated comment.
|
class |
XMLInvalidNode
An invalid node in an XML File.
|
class |
XMLInvalidRoot
A not well-formed root Node in an XML File.
|
class |
XMLNumberedNode
A Node in an XML File with a line number.
|
class |
XMLNumberedRoot
A root Node in an XML File with a comment.
|
class |
XMLRoot
A root Node in an XML File.
|
Modifier and Type | Field and Description |
---|---|
protected XMLNode |
XMLNode.nodeParent
The node parent.
|
Modifier and Type | Field and Description |
---|---|
protected List<XMLNode> |
XMLNode.children
The children nodes.
|
Modifier and Type | Method and Description |
---|---|
XMLNode |
XMLNode.addChild(QName qName)
Creates a node and the created Node as a child to this Node.
|
XMLNode |
XMLNode.addChild(String nodeName)
Creates a node and the created Node as a child to this Node.
|
XMLNode |
XMLNode.copy()
Create a copy of this node.
|
XMLNode |
XMLNode.copy(boolean deep)
Create a copy of this node.
|
XMLNode |
XMLNode.copyAsCommentedNode()
Create a copy of this node as a commented node.
|
protected XMLNode |
XMLTreeHandler.createNodeImpl(QName qname,
Attributes attr)
Create a node.
|
XMLNode |
XMLNodesIterator.firstChild()
Moves the TreeWalker to the first visible child of the current node, and returns the new node.
|
XMLNode |
XMLNode.getChild(int i)
Return the i-th child of this node.
|
XMLNode |
XMLNodesIterator.getCurrentNode()
Return the node at which the TreeWalker is currently positioned.
|
protected XMLNode |
XMLTreeHandler.getCurrentNode()
Return the current node.
|
XMLNode |
XMLNode.getFirstChild()
Return the first child of the Node.
|
XMLNode |
XMLNode.getLastChild()
Return the last child of the Node.
|
XMLNode |
XMLNodePath.getLastPathNode()
Returns the last Node in the path.
|
XMLNode |
XMLNode.getNextSibling()
Return the next sibling of the Node.
|
static XMLNode |
XMLNodeUtilities.getNode(File file)
Return the Node from a file.
|
XMLNode |
XMLNodeUtilities2.getNode(File file)
Return the Node from a file.
|
static XMLNode |
XMLNodeUtilities.getNode(File file,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers)
Return the Node from a file.
|
static XMLNode |
XMLNodeUtilities.getNode(File file,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware,
boolean allowInternalReaders)
Return the Node from a file.
|
static XMLNode |
XMLNodeUtilities.getNode(File file,
int options)
Return the root Node from a file.
|
static XMLNode |
XMLNodeUtilities.getNode(File file,
XMLParserConfiguration config,
boolean preserveSpace,
boolean keepLineNumbers)
Return the Node from a file.
|
static XMLNode |
XMLNodeUtilities.getNode(Reader reader)
Return the root Node from a Reader.
|
XMLNode |
XMLNodeUtilities2.getNode(Reader reader)
Return the Node from a Reader.
|
static XMLNode |
XMLNodeUtilities.getNode(Reader reader,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers)
Return the root Node from a Reader.
|
static XMLNode |
XMLNodeUtilities.getNode(Reader reader,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware,
boolean allowInternalReaders)
Return the Node from a Reader.
|
static XMLNode |
XMLNodeUtilities.getNode(Reader reader,
int options)
Return the Node from a Reader.
|
static XMLNode |
XMLNodeUtilities.getNode(Reader reader,
XMLParserConfiguration config,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware)
Return the Node from a Reader.
|
static XMLNode |
XMLNodeUtilities.getNode(Reader reader,
XMLParserConfiguration config,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware,
boolean allowInternalReaders)
Return the Node from a Reader.
|
static XMLNode |
XMLNodeUtilities.getNode(String str)
Return the Node from a String.
|
XMLNode |
XMLNodeUtilities2.getNode(String str)
Return the Node from a String.
|
static XMLNode |
XMLNodeUtilities.getNode(String str,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers)
Return the Node from a String.
|
static XMLNode |
XMLNodeUtilities.getNode(String str,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware)
Return the Node from a String.
|
static XMLNode |
XMLNodeUtilities.getNode(String str,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware,
boolean allowInternalReaders)
Return the Node from a String.
|
static XMLNode |
XMLNodeUtilities.getNode(String str,
int options)
Return the Node from a String.
|
static XMLNode |
XMLNodeUtilities.getNode(String str,
XMLParserConfiguration config,
boolean preserveSpace,
boolean keepLineNumbers)
Return the Node from a String.
|
static XMLNode |
XMLNodeUtilities.getNode(URL url)
Return the Node from an URL.
|
XMLNode |
XMLNodeUtilities2.getNode(URL xmlURL)
Return the root Node from an XML URL.
|
static XMLNode |
XMLNodeUtilities.getNode(URL xmlURL,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers)
Return the Node from an XML URL.
|
static XMLNode |
XMLNodeUtilities.getNode(URL xmlURL,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware)
Return the Node from an XML URL.
|
static XMLNode |
XMLNodeUtilities.getNode(URL xmlURL,
boolean showExceptions,
boolean showWarnings,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware,
boolean allowInternalReaders)
Return the Node from an XML URL.
|
static XMLNode |
XMLNodeUtilities.getNode(URL xmlURL,
int options)
Return the root Node from an XML URL.
|
XMLNode |
XMLNodeUtilities2.getNode(URL xmlURL,
String comment)
Return the root Node from an XML URL, with a comment.
|
static XMLNode |
XMLNodeUtilities.getNode(URL xmlURL,
XMLParserConfiguration config,
boolean preserveSpace,
boolean keepLineNumbers)
Return the Node from an XML URL.
|
static XMLNode |
XMLNodeUtilities.getNode(URL xmlURL,
XMLParserConfiguration config,
boolean preserveSpace,
boolean keepLineNumbers,
boolean isNamespaceAware)
Return the Node from an XML URL.
|
XMLNode |
XMLNode.getParent()
Return the Node parent (or null if the Node is the root of the XML File).
|
XMLNode |
XMLNodePath.getPathNode(int index)
Returns the path Node at a specified index.
|
XMLNode |
XMLNode.getPreviousSibling()
Return the previous sibling of the Node.
|
XMLNode |
XMLNodesIterator.getRoot()
The root node of the TreeWalker, as specified when it was created.
|
XMLNode |
XMLTreeHandler.getRootNode()
Return the root node.
|
XMLNode |
XMLNodesIterator.lastChild()
Moves the TreeWalker to the last visible child of the current node, and returns the new node.
|
XMLNode |
XMLNodesIterator.next()
Moves the iterator to the next node in document order relative to the current node, and returns this node.
|
XMLNode |
XMLNodesIterator.nextNode()
Moves the TreeWalker to the next visible node in document order relative to the current node, and returns the new
node.
|
XMLNode |
XMLNodesIterator.nextSibling()
Moves the TreeWalker to the next sibling of the current node, and returns the new node.
|
XMLNode |
XMLNodesIterator.parentNode()
Moves to and returns the closest visible ancestor node of the current node.
|
XMLNode |
XMLNodesIterator.previousNode()
Moves the TreeWalker to the previous visible node in document order relative to the current node, and returns the
new node.
|
XMLNode |
XMLNodesIterator.previousSibling()
Moves the TreeWalker to the previous sibling of the current node, and returns the new node.
|
XMLNode |
XMLTreeReplacer.replace(XMLNode root,
XMLTreeReplacer.NodePath... paths)
Replace the attributes of some nodes in a XML document.
|
XMLNode |
XMLNode.searchFirst(List<QName> qnames,
boolean deep)
Search for the the first child node having a specified qualified name among a list of qualified names.
|
XMLNode |
XMLNode.searchFirst(QName[] qnames,
boolean deep)
Search for the the first child node having a specified qualified name among a list of qualified names.
|
XMLNode |
XMLNode.searchFirst(QName qname,
boolean deep)
Search for the the first child node having a specified qualified name.
|
XMLNode |
XMLNode.searchFirst(String name,
boolean deep)
Search for the first child node having a specified name.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the first child node having qualified name among a list of specified names.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the first child node having a specified qualified name among a list of qualified names.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
QName[] qnames,
boolean deep)
Search for the first child node having qualified name among a list of specified names.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
QName[] qnames,
boolean deep)
Search for the first child node having a specified qualified name among a list of qualified names.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
QName qname,
boolean deep)
Search for the first child node having a specified qualified name.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
QName qname,
boolean deep)
Search for the first child node having a specified qualified name.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
String name,
boolean deep)
Search for the the first child node having a specified name.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
String name,
boolean deep)
Search for the first child node having a specified name.
|
XMLNode |
XMLNode.searchFirstForNames(List<String> names,
boolean deep)
Search for the first child node having a specified name among a list of names.
|
XMLNode |
XMLNode.searchFirstForNames(String[] names,
boolean deep)
Search for the first child node having a specified name among a list of names.
|
static XMLNode |
XMLNodeUtilities.searchFirstForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the the first child node having a specified name among a list of names.
|
XMLNode |
XMLNodeUtilities2.searchFirstForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the first child node having a specified name among a list of names.
|
static XMLNode |
XMLNodeUtilities.searchFirstForNames(XMLNode node,
String[] names,
boolean deep)
Search for the the first child node having a specified name among a list of names.
|
XMLNode |
XMLNodeUtilities2.searchFirstForNames(XMLNode node,
String[] names,
boolean deep)
Search for the first child node having a specified name among a list of names.
|
Modifier and Type | Method and Description |
---|---|
List<XMLNode> |
XMLNode.getAllChildren(QName qname)
Return the list of all children of this node having a specified qualified name.
|
List<XMLNode> |
XMLNode.getAllChildren(String name)
Return the list of all children of this node having a specified name.
|
List<XMLNode> |
XMLNode.getChildren()
Return the ordered list of children of this Node.
|
List<XMLNode> |
XMLNodePath.getPath()
Return the ordered list of Nodes in the path.
|
Iterator<XMLNode> |
XMLNode.iterator()
Return an iterator on the Nodes under this node.
|
List<XMLNode> |
XMLNode.search(List<QName> qnames,
boolean deep)
Search for the children nodes having a specified qualified name among a list of qualified names.
|
List<XMLNode> |
XMLNode.search(QName[] qnames,
boolean deep)
Search for the children nodes having a specified qualified name among a list of qualified names.
|
List<XMLNode> |
XMLNode.search(QName qname,
boolean deep)
Search for the children nodes having a specified qualified name.
|
List<XMLNode> |
XMLNode.search(String name,
boolean deep)
Search for the children nodes having a specified name.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the children nodes having a specified qualified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the children nodes having a specified qualified name among a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
QName[] qnames,
boolean deep)
Search for the children nodes having a specified qualified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
QName[] qnames,
boolean deep)
Search for the children nodes having a specified qualified name among a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
QName qname,
boolean deep)
Search for the children nodes having a specified qualified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
QName qname,
boolean deep)
Search for the children nodes having a specified qualified name.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
String name,
boolean deep)
Search for the children nodes having a specified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
String name,
boolean deep)
Search for the children nodes having a specified name.
|
List<XMLNode> |
XMLNode.searchForNames(List<String> names,
boolean deep)
Search for the children nodes having a specified name almong a list of names.
|
List<XMLNode> |
XMLNode.searchForNames(String[] names,
boolean deep)
Search for the children nodes having a specified name almong a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.searchForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
List<XMLNode> |
XMLNodeUtilities2.searchForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.searchForNames(XMLNode node,
String[] names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
List<XMLNode> |
XMLNodeUtilities2.searchForNames(XMLNode node,
String[] names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLNode.addChild(XMLNode child)
Add a child to this Node.
|
void |
XMLNodesIterator.addToParentFilters(XMLNode node)
Add a node to the parent tags.
|
protected Map<String,String> |
AbstractNodeSerializer.computeBoundPrefixes(BoundPrefix boundPrefix,
XMLNode node)
Compute the bound prefixes for a XML node.
|
protected void |
AbstractNodeSerializer.endWriteNodeQName(BufferedWriter writer,
XMLNode node)
Write a node qualified name element end.
|
protected void |
AbstractNodeSerializer.endWriteNodeQName(StringBuilder buf,
XMLNode node)
Write a node qualified name element end.
|
int |
XMLNode.getIndex(XMLNode child)
Return the index of a child Node in this parent Node.
|
Map<String,String> |
BoundPrefix.getResultBoundPrefixes(XMLNode node)
Merge the prefixes from a node with the current prefixes.
|
boolean |
NodeFilter.isCompatibleWithNode(XMLNode node)
Return true if this filter is compatible with a specified node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
boolean isOrdered,
int indentation,
URL outputURL)
Save in an URL the content of an XML file under a root Node.
|
static String |
XMLNodeUtilities.print(XMLNode node,
int indentation)
Print as a String the content of an XML file under a root Node.
|
String |
XMLNodeUtilities2.print(XMLNode node,
int indentation)
Print as a String the content of an XML file under a root Node.
|
static String |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered)
Print as a String the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
File outputFile)
Save in a File the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
boolean isOrdered,
File outputFile)
Save in a File the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
File outputFile,
NodeSerializer serializer,
String encoding)
Save in a File the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
File outputFile,
String encoding)
Save in a File the content of an XML file under a root Node.
|
static String |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serializer)
Print as a String the content of an XML file under a root Node.
|
String |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serializer)
Print as a String the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serialiser,
File outputFile)
Save in a File the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serializer,
File outputFile)
Save in a File the content of an XML file under a root Node.
|
static String |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serializer,
String encoding)
Print as a String the content of an XML file under a root Node.
|
String |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serializer,
String encoding)
Print as a String the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serializer,
URL outputURL)
Save in an URL the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
boolean isOrdered,
NodeSerializer serializer,
URL outputURL)
Save in an URL the content of an XML file under a root Node.
|
static String |
XMLNodeUtilities.print(XMLNode node,
int indentation,
boolean isOrdered,
String encoding)
Print as a String the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
boolean isOrdered,
URL outputURL)
Save in an URL the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
File outputFile)
Save in a File the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
File outputFile)
Save in a File the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
File outputFile,
boolean isOrdered,
NodeSerializer serializer,
String encoding)
Save in a File the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
File outputFile,
String encoding)
Save in a File the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
File outputFile,
String encoding)
Save in a File the content of an XML file under a root Node.
|
static String |
XMLNodeUtilities.print(XMLNode node,
int indentation,
String encoding)
Print as a String the content of an XML file under a root Node.
|
String |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
String encoding)
Print as a String the content of an XML file under a root Node.
|
static void |
XMLNodeUtilities.print(XMLNode node,
int indentation,
URL outputURL)
Save in an URL the content of an XML file under a root Node.
|
void |
XMLNodeUtilities2.print(XMLNode node,
int indentation,
URL outputURL)
Save in an URL the content of an XML file under a root Node.
|
void |
DefaultNodeSerializer.printNode(BufferedWriter writer,
XMLNode node,
boolean isOrdered,
BoundPrefix boundPrefix,
String tabTotal,
String tabIndent,
boolean isFirst,
boolean isLast)
Prints a node.
|
void |
NodeSerializer.printNode(BufferedWriter writer,
XMLNode node,
boolean isOrdered,
BoundPrefix boundPrefix,
String tabTotal,
String tabIndent,
boolean isFirst,
boolean isLast)
Prints a node.
|
void |
DefaultNodeSerializer.printNode(StringBuilder buf,
XMLNode node,
boolean isOrdered,
BoundPrefix boundPrefix,
String tabTotal,
String tabIndent,
boolean isFirst,
boolean isLast)
Prints a node.
|
void |
NodeSerializer.printNode(StringBuilder buf,
XMLNode node,
boolean isOrdered,
BoundPrefix boundPrefix,
String tabTotal,
String tabIndent,
boolean isFirst,
boolean isLast)
Prints a node.
|
boolean |
XMLTreeReplacer.replace(XMLNode root,
File outputFile,
XMLTreeReplacer.NodePath... paths)
Replace the attributes of some nodes in a XML document.
|
boolean |
XMLTreeReplacer.replace(XMLNode root,
URL outputURL,
XMLTreeReplacer.NodePath... paths)
Replace the attributes of some nodes in a XML document.
|
XMLNode |
XMLTreeReplacer.replace(XMLNode root,
XMLTreeReplacer.NodePath... paths)
Replace the attributes of some nodes in a XML document.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the children nodes having a specified qualified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the children nodes having a specified qualified name among a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
QName[] qnames,
boolean deep)
Search for the children nodes having a specified qualified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
QName[] qnames,
boolean deep)
Search for the children nodes having a specified qualified name among a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
QName qname,
boolean deep)
Search for the children nodes having a specified qualified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
QName qname,
boolean deep)
Search for the children nodes having a specified qualified name.
|
static List<XMLNode> |
XMLNodeUtilities.search(XMLNode node,
String name,
boolean deep)
Search for the children nodes having a specified name.
|
List<XMLNode> |
XMLNodeUtilities2.search(XMLNode node,
String name,
boolean deep)
Search for the children nodes having a specified name.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the first child node having qualified name among a list of specified names.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
List<QName> qnames,
boolean deep)
Search for the first child node having a specified qualified name among a list of qualified names.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
QName[] qnames,
boolean deep)
Search for the first child node having qualified name among a list of specified names.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
QName[] qnames,
boolean deep)
Search for the first child node having a specified qualified name among a list of qualified names.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
QName qname,
boolean deep)
Search for the first child node having a specified qualified name.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
QName qname,
boolean deep)
Search for the first child node having a specified qualified name.
|
static XMLNode |
XMLNodeUtilities.searchFirst(XMLNode node,
String name,
boolean deep)
Search for the the first child node having a specified name.
|
XMLNode |
XMLNodeUtilities2.searchFirst(XMLNode node,
String name,
boolean deep)
Search for the first child node having a specified name.
|
static XMLNode |
XMLNodeUtilities.searchFirstForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the the first child node having a specified name among a list of names.
|
XMLNode |
XMLNodeUtilities2.searchFirstForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the first child node having a specified name among a list of names.
|
static XMLNode |
XMLNodeUtilities.searchFirstForNames(XMLNode node,
String[] names,
boolean deep)
Search for the the first child node having a specified name among a list of names.
|
XMLNode |
XMLNodeUtilities2.searchFirstForNames(XMLNode node,
String[] names,
boolean deep)
Search for the first child node having a specified name among a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.searchForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
List<XMLNode> |
XMLNodeUtilities2.searchForNames(XMLNode node,
List<String> names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
static List<XMLNode> |
XMLNodeUtilities.searchForNames(XMLNode node,
String[] names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
List<XMLNode> |
XMLNodeUtilities2.searchForNames(XMLNode node,
String[] names,
boolean deep)
Search for the children nodes having a specified name among a list of names.
|
void |
XMLNodesIterator.setCurrentNode(XMLNode node)
Set the current Node.
|
protected void |
XMLNode.setParent(XMLNode parent)
Set the Node parent.
|
protected void |
AbstractNodeSerializer.writeBoundPrefixes(StringBuilder buf,
BoundPrefix boundPrefix,
XMLNode node)
Write the bound prefixes for a XML node.
|
protected void |
AbstractNodeSerializer.writeNodeQName(BufferedWriter writer,
XMLNode node)
Write a node qualified name element start.
|
protected void |
AbstractNodeSerializer.writeNodeQName(StringBuilder buf,
XMLNode node)
Write a node qualified name element start.
|
Constructor and Description |
---|
XMLCommentedNode(XMLNode parent,
QName qname)
Create a Node.
|
XMLCommentedNode(XMLNode parent,
QName qname,
String comment)
Create a Node.
|
XMLCommentedNode(XMLNode parent,
String nodeName)
Create a Node.
|
XMLCommentedNode(XMLNode parent,
String nodeName,
String comment)
Create a Node.
|
XMLInvalidNode(XMLNode parent,
QName qname)
Create a Node.
|
XMLInvalidNode(XMLNode parent,
String nodeName)
Create a Node.
|
XMLNode(XMLNode parent,
QName qname)
Create a Node.
|
XMLNode(XMLNode parent,
String nodeName)
Create a Node.
|
XMLNodesIterator(XMLNode rootNode)
Create a new XMLNodesIterator.
|
XMLNumberedNode(XMLNode parent,
QName qname)
Create a Node.
|
XMLNumberedNode(XMLNode parent,
QName qname,
int lineNumber)
Create a Node.
|
XMLNumberedNode(XMLNode parent,
String nodeName)
Create a Node.
|
XMLNumberedNode(XMLNode parent,
String nodeName,
int lineNumber)
Create a Node.
|
XMLRoot(XMLNode node)
Create the root Node from a node.
|
Constructor and Description |
---|
XMLNodePath(List<XMLNode> path) |