Package | Description |
---|---|
xmlwise |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Document |
Xmlwise.createDocument(java.lang.String xml)
Creates a DOM Document from the specified XML string, ignoring DTD-validation.
|
static org.w3c.dom.Document |
Xmlwise.createDocument(java.lang.String xml,
boolean validate)
Creates a DOM Document from the specified XML string, ignoring DTD-validation.
|
static XmlElement |
Xmlwise.createXml(java.lang.String xml)
Creates a document from a string and transforms it into an XmlElement tree.
|
static java.util.Map<java.lang.String,java.lang.Object> |
Plist.fromXml(java.lang.String xml)
Create a nested
map<String, Object> from a plist xml string using the default mapping. |
boolean |
XmlElement.getBoolAttribute(java.lang.String attribute)
Get an boolean attribute for this element.
|
boolean |
XmlElement.getBoolAttribute(java.lang.String attribute,
boolean defaultValue)
Get an boolean attribute for this element, defaulting to the default value if missing.
|
boolean |
XmlElementAttributes.getBoolean(java.lang.String attribute)
Get an boolean attribute.
|
double |
XmlElementAttributes.getDouble(java.lang.String attribute)
Get a double attribute.
|
double |
XmlElement.getDoubleAttribute(java.lang.String attribute)
Get a double attribute for this element.
|
double |
XmlElement.getDoubleAttribute(java.lang.String attribute,
double defaultValue)
Get an double attribute for this element, defaulting to a default value if the attribute is missing.
|
int |
XmlElementAttributes.getInt(java.lang.String attribute)
Get an integer attribute.
|
int |
XmlElement.getIntAttribute(java.lang.String attribute)
Get an integer attribute for this element.
|
int |
XmlElement.getIntAttribute(java.lang.String attribute,
int defaultValue)
Get an integer attribute for this element, defaulting to a default value if the attribute is missing.
|
XmlElement |
XmlElement.getUnique(java.lang.String name)
Get the single direct sub-element with the given name.
|
static org.w3c.dom.Document |
Xmlwise.loadDocument(java.io.File file)
Loads an XML document ignoring DTD-validation.
|
static org.w3c.dom.Document |
Xmlwise.loadDocument(java.io.File file,
boolean validate)
Loads an XML document.
|
static XmlElement |
Xmlwise.loadXml(java.io.File file)
Loads a document from file and transforms it into an XmlElement tree.
|
static XmlElement |
Xmlwise.loadXml(java.lang.String filename)
Loads a document from file and transforms it into an XmlElement tree.
|