Package | Description |
---|---|
jnlp.sample.servlet |
Modifier and Type | Method and Description |
---|---|
static XMLNode |
XMLParsing.convert(Node n) |
static XMLNode |
XMLParsing.findChildElement(XMLNode elem,
String tag)
Returns an child element with the current tag name or null.
|
static XMLNode |
XMLParsing.findElementPath(XMLNode elem,
String path)
Parses a path string of the form
|
XMLNode |
XMLNode.getNested() |
XMLNode |
XMLNode.getNext() |
XMLNode |
XMLNode.getParent() |
Modifier and Type | Method and Description |
---|---|
static XMLNode |
XMLParsing.findChildElement(XMLNode elem,
String tag)
Returns an child element with the current tag name or null.
|
static XMLNode |
XMLParsing.findElementPath(XMLNode elem,
String path)
Parses a path string of the form
|
static String |
XMLParsing.getElementContent(XMLNode root,
String path)
Like getElementContents(...) but with a defaultValue of null
|
static String |
XMLParsing.getElementContent(XMLNode root,
String path,
String defaultvalue)
Returns the value of the last element tag in the path, e.g., <..>
|
static String[] |
XMLParsing.getMultiElementContent(XMLNode root,
String path)
Like getElementContents(...) but with a defaultValue of null
|
static String |
XMLParsing.getPathString(XMLNode e)
Returns a string describing the current location in the DOM
|
static boolean |
XMLParsing.isElementPath(XMLNode root,
String path)
Returns true if the path exists in the document, otherwise false
|
void |
XMLNode.setNested(XMLNode nested) |
void |
XMLNode.setNext(XMLNode next) |
void |
XMLNode.setParent(XMLNode parent) |
static void |
XMLParsing.visitChildrenElements(XMLNode elem,
XMLParsing.ElementVisitor ev) |
abstract void |
XMLParsing.ElementVisitor.visitElement(XMLNode e) |
static void |
XMLParsing.visitElements(XMLNode root,
String path,
XMLParsing.ElementVisitor ev)
Visits all elements which matches the
|
Constructor and Description |
---|
XMLNode(String name,
XMLAttribute attr,
XMLNode nested,
XMLNode next)
Creates a ELEMENT node
|
Copyright © 2005–2016 Sun Microsystems. All rights reserved.