A C D E F G H N R S T V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- attribute(String) - Method in class net.jodah.xsylum.XmlElement
-
Get the value of the
attribute
. - attributeAsBoolean(String) - Method in class net.jodah.xsylum.XmlElement
-
Get the value of the
attribute
as a boolean. - attributeAsDouble(String) - Method in class net.jodah.xsylum.XmlElement
-
Get the value of the
attribute
as a double. - attributeAsEnum(String, Class<V>) - Method in class net.jodah.xsylum.XmlElement
-
Get the value of the
attribute
as an enum of typeV
. - attributeAsInt(String) - Method in class net.jodah.xsylum.XmlElement
-
Get the value of the
attribute
as an integer. - attributeAsLong(String) - Method in class net.jodah.xsylum.XmlElement
-
Get the value of the
attribute
as a long. - attributes() - Method in class net.jodah.xsylum.XmlElement
-
Builds and returns a map of the element's attributes, else empty map if the element has no attributes.
C
- children() - Method in class net.jodah.xsylum.XmlElement
-
Returns the element's children, else empty list if the element has no children.
D
- document() - Method in class net.jodah.xsylum.XmlDocument
-
Returns the underlying document.
- documentFor(byte[]) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlDocument for the
xml
. - documentFor(File) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlDocument for the xml read from the
file
. - documentFor(InputStream) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlDocument for the xml read from the
inputStream
. - documentFor(String) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlDocument for the
xml
.
E
- element() - Method in class net.jodah.xsylum.XmlElement
-
Returns the underlying element.
- elementFor(byte[]) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlDocument for the
xml
. - elementFor(File) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlElement representing the document element for the xml read from the
file
. - elementFor(InputStream) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlElement representing the document element for the xml read from the
inputStream
. - elementFor(String) - Static method in class net.jodah.xsylum.Xsylum
-
Returns an XmlElement representing the document element for the
xml
.
F
- find(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Returns the first element matching the
expression
, else null if none can be found. - findAll(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Returns all elements that match the
expression
, else empty list if none can be found.
G
- get(int) - Method in class net.jodah.xsylum.XmlElement
-
Returns the XmlElement at the
index
, else null if none can be found or the node at theindex
is not an element - get(String) - Method in class net.jodah.xsylum.XmlDocument
-
Returns the first XmlElement matching the
tagName
. - get(String) - Method in class net.jodah.xsylum.XmlElement
-
Returns the first child XmlElement matching the
tagName
. - get(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Returns the first child element that matches the
tagName
, else null. - getAll(String) - Method in class net.jodah.xsylum.XmlDocument
-
Returns all child XmlElements matching the
tagName
. - getAll(String) - Method in class net.jodah.xsylum.XmlElement
-
Returns all child XmlElements matching the
tagName
. - getAll(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Returns all child elements that match the
tagName
else empty List.
H
- hasAttribute(String) - Method in class net.jodah.xsylum.XmlElement
-
Returns whether the element contains the
attribute
. - hasAttributes() - Method in class net.jodah.xsylum.XmlElement
-
Returns whether the element contains attributes.
- hasChild(String) - Method in class net.jodah.xsylum.XmlElement
-
Returns whether the element contains any child elements with the
name
.
N
- name() - Method in class net.jodah.xsylum.XmlElement
-
Returns the element's name.
- net.jodah.xsylum - package net.jodah.xsylum
R
- root() - Method in class net.jodah.xsylum.XmlDocument
-
Returns the root document element.
S
- source - Variable in class net.jodah.xsylum.XmlSearchable
T
- toString() - Method in class net.jodah.xsylum.XmlDocument
- toString() - Method in class net.jodah.xsylum.XmlElement
- toXml() - Method in class net.jodah.xsylum.XmlElement
-
Returns a XML representation of the element, including its attributes and value.
V
- value() - Method in class net.jodah.xsylum.XmlElement
-
Returns the text value of the element.
- value(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the value for the XPath
expression
. - valueAsBoolean() - Method in class net.jodah.xsylum.XmlElement
-
Get the element value as a boolean.
- valueAsBoolean(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the value for the XPath
expression
as a boolean. - valueAsDouble() - Method in class net.jodah.xsylum.XmlElement
-
Get the element value as a double.
- valueAsDouble(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the value for the XPath
expression
as a double. - valueAsEnum(Class<V>) - Method in class net.jodah.xsylum.XmlElement
-
Get the element value as an enum of type
V
. - valueAsEnum(String, Class<V>) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the value for the XPath
expression
as an Enum of typeV
. - valueAsInt() - Method in class net.jodah.xsylum.XmlElement
-
Get the element value as an integer.
- valueAsInt(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the value for the XPath
expression
as an integer. - valueAsLong() - Method in class net.jodah.xsylum.XmlElement
-
Get the element value as a long.
- valueAsLong(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the value for the XPath
expression
as a long. - values(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the values for the XPath
expression
. - valuesAsBoolean(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the values for the XPath
expression
as booleans. - valuesAsDouble(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the values for the XPath
expression
as doubles. - valuesAsEnum(String, Class<V>) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the values for the XPath
expression
as Enums of typeV
. - valuesAsInt(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the values for the XPath
expression
as integers. - valuesAsLong(String) - Method in class net.jodah.xsylum.XmlSearchable
-
Finds the values for the XPath
expression
ending in text() as longs.
X
- XmlDocument - Class in net.jodah.xsylum
-
An XML document.
- XmlDocument(Document) - Constructor for class net.jodah.xsylum.XmlDocument
- XmlElement - Class in net.jodah.xsylum
-
A named XML element.
- XmlElement(Element) - Constructor for class net.jodah.xsylum.XmlElement
- XmlSearchable<T> - Class in net.jodah.xsylum
-
An XPath searchable XML object.
- Xsylum - Class in net.jodah.xsylum
-
XML parsing for the sane.
- XsylumException - Exception in net.jodah.xsylum
- XsylumException(String, Object...) - Constructor for exception net.jodah.xsylum.XsylumException
- XsylumException(Throwable, String, Object...) - Constructor for exception net.jodah.xsylum.XsylumException
All Classes All Packages