Skip navigation links
A C D E F G H I L N P R S T U V X 

A

add(Iterable<XElement>) - Method in class hu.akarnokd.xml.XElement
Add the iterable of elements as children.
add(String) - Method in class hu.akarnokd.xml.XElement
Add a new child element with the given name.
add(String, Object) - Method in class hu.akarnokd.xml.XElement
Add an element with the supplied content text.
add(XElement...) - Method in class hu.akarnokd.xml.XElement
Add the array of elements as children.
add(XElement) - Method in class hu.akarnokd.xml.XElement
Add the array of elements as children.
add(String) - Method in class hu.akarnokd.xml.XNElement
Add a new XElement with the given local name and no namespace.
add(String, String) - Method in class hu.akarnokd.xml.XNElement
Add a new XElement with the given local name and namespace.
add(XNElement) - Method in class hu.akarnokd.xml.XNElement
Add the given existing child to this element.
append(Object) - Method in interface hu.akarnokd.xml.XAppender
Append an object.
append(Object) - Method in interface hu.akarnokd.xml.XNAppender
 
attributes - Variable in class hu.akarnokd.xml.XElement
The attribute map.
attributes() - Method in class hu.akarnokd.xml.XElement
 
attributes - Variable in class hu.akarnokd.xml.XNElement
The attribute map.
attributes() - Method in class hu.akarnokd.xml.XNElement
 

C

charOffset - Variable in class hu.akarnokd.xml.XNElement.XRepresentationRecord
The offset.
childElement(String) - Method in class hu.akarnokd.xml.XElement
Returns the first child element with the given name.
childElement(String) - Method in class hu.akarnokd.xml.XNElement
Returns the first child element with the given name.
childElement(String, String) - Method in class hu.akarnokd.xml.XNElement
Returns the first child element with the given name.
children - Variable in class hu.akarnokd.xml.XElement
The child elements.
children() - Method in class hu.akarnokd.xml.XElement
 
children - Variable in class hu.akarnokd.xml.XNElement
The child elements.
children() - Method in class hu.akarnokd.xml.XNElement
 
childrenWithName(String) - Method in class hu.akarnokd.xml.XElement
Returns an iterator which enumerates all children with the given name.
childrenWithName(String) - Method in class hu.akarnokd.xml.XNElement
Returns an iterator which enumerates all children with the given name.
childrenWithName(String, String) - Method in class hu.akarnokd.xml.XNElement
Returns an iterator which enumerates all children with the given name.
childValue(String) - Method in class hu.akarnokd.xml.XElement
 
childValue(String) - Method in class hu.akarnokd.xml.XElementBase
Returns the content of the first child which has the given name.
childValue(String) - Method in class hu.akarnokd.xml.XNElement
 
childValue(String, String) - Method in class hu.akarnokd.xml.XNElement
Returns the content of the first child which has the given name.
clear() - Method in class hu.akarnokd.xml.XElement
Remove attributes and children.
content - Variable in class hu.akarnokd.xml.XElementBase
The content of a simple node.
copy() - Method in class hu.akarnokd.xml.XElement
 
copy() - Method in class hu.akarnokd.xml.XElementBase
 
copy() - Method in class hu.akarnokd.xml.XNElement
 
copyFrom(XElement) - Method in class hu.akarnokd.xml.XElement
Copy the attributes, content and child elements from the other element in a deep-copy fashion.
copyFrom(XNElement) - Method in class hu.akarnokd.xml.XNElement
Copy the attributes and child elements from the other element.
createPrefix(Map<String, String>, String, String) - Method in class hu.akarnokd.xml.XNElement
Generate a new prefix if the current is empty or already exists but with a different URI.
createRequest(String, Object...) - Static method in class hu.akarnokd.xml.XNSerializables
Create a request with the given function and name-value pairs.
createRequest(String, Object...) - Static method in class hu.akarnokd.xml.XSerializables
Create a request with the given function and name-value pairs.
createUpdate(String, XNSerializable) - Static method in class hu.akarnokd.xml.XNSerializables
Create an update request and store the contents of the object into it.
createUpdate(String, XSerializable) - Static method in class hu.akarnokd.xml.XSerializables
Create an update request and store the contents of the object into it.

D

detach() - Method in class hu.akarnokd.xml.XElement
Detach this element from its parent.
detach() - Method in class hu.akarnokd.xml.XNElement
Breaks the link with its parent XElement if any.
doubleValue(String) - Method in class hu.akarnokd.xml.XElementBase
Returns a double value of the supplied child or throws an exception if missing.
doubleValue(String, double) - Method in class hu.akarnokd.xml.XElementBase
Returns a double value or the default value if the element is missing or empty.
doubleValue(String, String) - Method in class hu.akarnokd.xml.XNElement
Returns a double value of the supplied child or throws an exception if missing.
doubleValue(String, String, double) - Method in class hu.akarnokd.xml.XNElement
Returns a double value or the default value if the element is missing or empty.

E

element - Variable in class hu.akarnokd.xml.XNElement.XRepresentationRecord
The current element.
equals(Object) - Method in class hu.akarnokd.xml.XNElement
 
equals(Object) - Method in class hu.akarnokd.xml.XNElement.XAttributeName
 

F

formatDateTime(Date) - Static method in class hu.akarnokd.xml.XElementBase
Convert the given date to string.
formatDateTime(TemporalAccessor) - Static method in class hu.akarnokd.xml.XElementBase
Convert the given date to string.

G

get(String) - Method in class hu.akarnokd.xml.XElement
 
get(String, String) - Method in class hu.akarnokd.xml.XElement
 
get() - Method in class hu.akarnokd.xml.XNElement
Retrieve the currently associated user object.
get(String) - Method in class hu.akarnokd.xml.XNElement
Retrieve the first attribute which has the given local attribute name.
get(String, String) - Method in class hu.akarnokd.xml.XNElement
Retrieve the specific attribute.
getAttributeNames() - Method in class hu.akarnokd.xml.XNElement
Retrieve the attribute names.
getBoolean(String) - Method in class hu.akarnokd.xml.XElement
 
getBoolean(String, boolean) - Method in class hu.akarnokd.xml.XElement
 
getBoolean(String) - Method in class hu.akarnokd.xml.XNElement
Retrieve a value of a boolean attribute.
getBoolean(String, boolean) - Method in class hu.akarnokd.xml.XNElement
Retrieve a value of a boolean attribute.
getBoolean(String, String) - Method in class hu.akarnokd.xml.XNElement
Retrieve a value of a boolean attribute.
getBoolean(String, String, boolean) - Method in class hu.akarnokd.xml.XNElement
Retrieve a value of a boolean attribute.
getByte(String) - Method in class hu.akarnokd.xml.XElement
 
getByte(String, byte) - Method in class hu.akarnokd.xml.XElement
 
getChar(String) - Method in class hu.akarnokd.xml.XElement
 
getChar(String, char) - Method in class hu.akarnokd.xml.XElement
 
getDouble(String) - Method in class hu.akarnokd.xml.XElement
 
getDouble(String, double) - Method in class hu.akarnokd.xml.XElement
 
getDouble(String) - Method in class hu.akarnokd.xml.XNElement
Returns the attribute as a double value.
getDouble(String, double) - Method in class hu.akarnokd.xml.XNElement
Returns the attribute as a double value or the default.
getDouble(String, String) - Method in class hu.akarnokd.xml.XNElement
Returns the attribute as a double value.
getDouble(String, String, double) - Method in class hu.akarnokd.xml.XNElement
Returns the attribute as a double value or the default.
getDoubleObject(String) - Method in class hu.akarnokd.xml.XElement
Get a double attribute as object or null if not present.
getEnum(String, Class<E>) - Method in class hu.akarnokd.xml.XElement
 
getEnum(String, Class<E>, E) - Method in class hu.akarnokd.xml.XElement
 
getEnum(String, E[]) - Method in class hu.akarnokd.xml.XElement
 
getEnum(String, E[], E) - Method in class hu.akarnokd.xml.XElement
 
getFloat(String) - Method in class hu.akarnokd.xml.XElement
 
getFloat(String, float) - Method in class hu.akarnokd.xml.XElement
 
getInt(String) - Method in class hu.akarnokd.xml.XElement
 
getInt(String, int) - Method in class hu.akarnokd.xml.XElement
 
getInt(String) - Method in class hu.akarnokd.xml.XNElement
Retrieve an integer attribute.
getInt(String, int) - Method in class hu.akarnokd.xml.XNElement
Retrieve an integer attribute or the default value if not exists.
getInt(String, String) - Method in class hu.akarnokd.xml.XNElement
Retrieve an integer attribute or the default value if not exists.
getInt(String, String, int) - Method in class hu.akarnokd.xml.XNElement
Retrieve an integer attribute or the default value if not exists.
getIntObject(String) - Method in class hu.akarnokd.xml.XElement
Get an integer attribute as object or null if not present.
getLong(String) - Method in class hu.akarnokd.xml.XElement
 
getLong(String, long) - Method in class hu.akarnokd.xml.XElement
 
getLong(String) - Method in class hu.akarnokd.xml.XNElement
Retrieve an long attribute or throw an exception if not exists.
getLong(String, long) - Method in class hu.akarnokd.xml.XNElement
Retrieve an long attribute or the default value if not exists.
getLong(String, String) - Method in class hu.akarnokd.xml.XNElement
Retrieve an integer attribute or throw an exception if not exists.
getLong(String, String, long) - Method in class hu.akarnokd.xml.XNElement
Retrieve an integer attribute or the default value if not exists.
getShort(String) - Method in class hu.akarnokd.xml.XElement
 
getShort(String, short) - Method in class hu.akarnokd.xml.XElement
 
getXPath() - Method in class hu.akarnokd.xml.XNElement
 

H

has(String) - Method in class hu.akarnokd.xml.XElement
 
hasAttribute(String) - Method in class hu.akarnokd.xml.XNElement
Check if the simply-named attribute exists.
hasAttribute(String, String) - Method in class hu.akarnokd.xml.XNElement
Check if the attribute exists.
hasAttributes() - Method in class hu.akarnokd.xml.XNElement
 
hasChildren() - Method in class hu.akarnokd.xml.XElement
 
hasChildren() - Method in class hu.akarnokd.xml.XNElement
 
hasDouble(String) - Method in class hu.akarnokd.xml.XElement
Check if there is a valid integer attribute.
hasFloat(String) - Method in class hu.akarnokd.xml.XElement
Check if there is a valid integer attribute.
hashCode() - Method in class hu.akarnokd.xml.XNElement
 
hashCode() - Method in class hu.akarnokd.xml.XNElement.XAttributeName
 
hasInt(String) - Method in class hu.akarnokd.xml.XElement
Check if there is a valid integer attribute.
hasLong(String) - Method in class hu.akarnokd.xml.XElement
Check if there is a valid integer attribute.
hasName(String) - Method in class hu.akarnokd.xml.XNElement
Test if this XElement has the given name.
hasName(String, String) - Method in class hu.akarnokd.xml.XNElement
Test if this XElement has the given name and namespace.
hasPositiveInt(String) - Method in class hu.akarnokd.xml.XElement
Check if there is a valid positive integer attribute.
hu.akarnokd.xml - package hu.akarnokd.xml
 

I

intValue(String) - Method in class hu.akarnokd.xml.XElementBase
Returns an integer value of the supplied child or throws an exception if missing.
intValue(String, int) - Method in class hu.akarnokd.xml.XElementBase
Returns an integer value or the default value if the element is missing or empty.
intValue(String, String) - Method in class hu.akarnokd.xml.XNElement
Returns an integer value of the supplied child or throws an exception if missing.
intValue(String, String, int) - Method in class hu.akarnokd.xml.XNElement
Returns an integer value or the default value if the element is missing or empty.
isNullOrEmpty(String) - Method in class hu.akarnokd.xml.XElement
Check if the given attribute is present an is not empty.

L

length() - Method in interface hu.akarnokd.xml.XNAppender
 
load(XNElement) - Method in interface hu.akarnokd.xml.XNSerializable
Load the contents from the given source.
load(XElement) - Method in interface hu.akarnokd.xml.XSerializable
Load the contents from the given source.
longValue(String) - Method in class hu.akarnokd.xml.XElementBase
Returns a long value of the supplied child or throws an exception if missing.
longValue(String, long) - Method in class hu.akarnokd.xml.XElementBase
Returns a long value or the default value if the element is missing or empty.
longValue(String, String) - Method in class hu.akarnokd.xml.XNElement
Returns a long value of the supplied child or throws an exception if missing.
longValue(String, String, long) - Method in class hu.akarnokd.xml.XNElement
Returns a long value or the default value if the element is missing or empty.

N

name - Variable in class hu.akarnokd.xml.XElementBase
The element name.
name - Variable in class hu.akarnokd.xml.XNElement.XAttributeName
The name.
namespace - Variable in class hu.akarnokd.xml.XNElement
The optional associated namespace uri.
namespace - Variable in class hu.akarnokd.xml.XNElement.XAttributeName
The namespace.

P

parent - Variable in class hu.akarnokd.xml.XElement
The parent element.
parent - Variable in class hu.akarnokd.xml.XNElement
The parent element.
parseDateTime(String) - Static method in class hu.akarnokd.xml.XElementBase
Parse an XSD dateTime.
parseItem(XNElement, Supplier<T>) - Static method in class hu.akarnokd.xml.XNSerializables
Create an XNSerializable object through the creator function and load it from the item.
parseItem(XElement, Supplier<T>) - Static method in class hu.akarnokd.xml.XSerializables
Create an XSerializable object through the creator function and load it from the item.
parseList(XNElement, String, Supplier<T>) - Static method in class hu.akarnokd.xml.XNSerializables
Parses an container for the given itemName elements and loads them into the given Java XNSerializable object.
parseList(XElement, String, Supplier<T>) - Static method in class hu.akarnokd.xml.XSerializables
Parses an container for the given itemName elements and loads them into the given Java XSerializable object.
parseXML(byte[]) - Static method in class hu.akarnokd.xml.XElement
Parse an XML from the binary data.
parseXML(File) - Static method in class hu.akarnokd.xml.XElement
Parse an XML from the given local file.
parseXML(InputStream) - Static method in class hu.akarnokd.xml.XElement
Parse an XML document from the given input stream.
parseXML(Reader) - Static method in class hu.akarnokd.xml.XElement
Parse an XML document from the given reader.
parseXML(ResultSet, int) - Static method in class hu.akarnokd.xml.XElement
Reads the contents of a indexed column as an XML.
parseXML(ResultSet, String) - Static method in class hu.akarnokd.xml.XElement
Reads the contents of a named column as an XML.
parseXML(String) - Static method in class hu.akarnokd.xml.XElement
Parse an XML from the given local filename.
parseXML(URL) - Static method in class hu.akarnokd.xml.XElement
Parses an XML from the given URL.
parseXML(XMLStreamReader) - Static method in class hu.akarnokd.xml.XElement
Parse an XML from an XML stream reader.
parseXML(byte[]) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML from the binary data.
parseXML(File) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML from the given file.
parseXML(InputStream) - Static method in class hu.akarnokd.xml.XNElement
Parse XML from the input stream.
parseXML(Reader) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML from the given Reader.
parseXML(ResultSet, int) - Static method in class hu.akarnokd.xml.XNElement
Reads the contents of a indexed column as an XML.
parseXML(ResultSet, String) - Static method in class hu.akarnokd.xml.XNElement
Reads the contents of a named column as an XML.
parseXML(String) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML from the given file.
parseXML(URL) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML from the supplied URL.
parseXML(XMLStreamReader) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML from the given XML Stream reader.
parseXMLFragment(XMLStreamReader) - Static method in class hu.akarnokd.xml.XElement
Parse an XML from an XML stream reader.
parseXMLFragment(XMLStreamReader) - Static method in class hu.akarnokd.xml.XNElement
Parses the stream until the end element of the start element is reached, then returns.
parseXMLGZ(File) - Static method in class hu.akarnokd.xml.XElement
Parse an XML file compressed by GZIP.
parseXMLGZ(String) - Static method in class hu.akarnokd.xml.XElement
Parse an XML file compressed by GZIP.
parseXMLGZ(File) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML file compressed by GZIP.
parseXMLGZ(String) - Static method in class hu.akarnokd.xml.XNElement
Parse an XML file compressed by GZIP.
prefix - Variable in class hu.akarnokd.xml.XNElement
The prefix used by this element.
prefix - Variable in class hu.akarnokd.xml.XNElement.XAttributeName
The namespace prefix.

R

remove(XElement) - Method in class hu.akarnokd.xml.XElement
Remove the given element from the children.
removeChildrenWithName(String) - Method in class hu.akarnokd.xml.XElement
Removes all children with the given element name.
replace(XElement, XElement) - Method in class hu.akarnokd.xml.XElement
Replaces the specified child node with the new node.

S

sanitize(String) - Static method in class hu.akarnokd.xml.XElementBase
Converts all sensitive characters to its HTML entity equivalent.
save(File) - Method in class hu.akarnokd.xml.XElement
Save this XML into the given file.
save(OutputStream) - Method in class hu.akarnokd.xml.XElement
Save this XML into the supplied output stream.
save(String) - Method in class hu.akarnokd.xml.XElement
Save this XML into the given file.
save(Writer) - Method in class hu.akarnokd.xml.XElement
Save this XML into the supplied output writer.
save(File) - Method in class hu.akarnokd.xml.XNElement
Save this XML into the given file.
save(OutputStream) - Method in class hu.akarnokd.xml.XNElement
Save this XML into the given output stream.
save(String) - Method in class hu.akarnokd.xml.XNElement
Save this XML into the given file.
save(Writer) - Method in class hu.akarnokd.xml.XNElement
Save this XML into the given writer.
save(XMLStreamWriter) - Method in class hu.akarnokd.xml.XNElement
Save the tree into the given XML stream writer.
save(XNElement) - Method in interface hu.akarnokd.xml.XNSerializable
Save the contents into the given destination.
save(XElement) - Method in interface hu.akarnokd.xml.XSerializable
Save the contents into the given destination.
saveInternal(XMLStreamWriter) - Method in class hu.akarnokd.xml.XNElement
Store the element's content and recursively call itself for children.
set(String, Object) - Method in class hu.akarnokd.xml.XElement
Set an attribute value.
set(Object...) - Method in class hu.akarnokd.xml.XNElement
Set a multitude of attribute names and values.
set(String, Object) - Method in class hu.akarnokd.xml.XNElement
Set an attribute value identified by a local name and no namespace.
set(String, String, Object) - Method in class hu.akarnokd.xml.XNElement
Set an attribute value identified by a local name and namespace.
set(T) - Method in class hu.akarnokd.xml.XNElement
Replace the associated user object with a new object.
setValue(Object) - Method in class hu.akarnokd.xml.XElementBase
Sets or clears the content of this element.
state - Variable in class hu.akarnokd.xml.XNElement.XRepresentationRecord
The state.
storeItem(String, XNSerializable) - Static method in class hu.akarnokd.xml.XNSerializables
Store the value of a single serializable object with the given element name.
storeItem(String, XSerializable) - Static method in class hu.akarnokd.xml.XSerializables
Store the value of a single serializable object with the given element name.
storeList(String, String, Iterable<? extends XNSerializable>) - Static method in class hu.akarnokd.xml.XNSerializables
Create an XNElement with the given name and items stored from the source sequence.
storeList(String, String, Iterable<? extends XSerializable>) - Static method in class hu.akarnokd.xml.XSerializables
Create an XElement with the given name and items stored from the source sequence.

T

toString() - Method in class hu.akarnokd.xml.XElement
 
toString() - Method in class hu.akarnokd.xml.XNElement
 
toString() - Method in class hu.akarnokd.xml.XNElement.XAttributeName
 
toStringRep(String, Map<String, String>, XNAppender, Consumer<? super XNElement.XRepresentationRecord>) - Method in class hu.akarnokd.xml.XNElement
Convert the element into a pretty printed string representation.

U

userObject - Variable in class hu.akarnokd.xml.XElementBase
The user object to tag along.

V

valueOf(String) - Static method in enum hu.akarnokd.xml.XNElement.XRepresentationState
Returns the enum constant of this type with the specified name.
values() - Static method in enum hu.akarnokd.xml.XNElement.XRepresentationState
Returns an array containing the constants of this enum type, in the order they are declared.
visit(boolean, Consumer<? super XElement>) - Method in class hu.akarnokd.xml.XElement
Iterate through the elements of this XElement and invoke the action for each.

X

XAppender - Interface in hu.akarnokd.xml
A callback interface to append to a stream.
XAttributeName(String, String, String) - Constructor for class hu.akarnokd.xml.XNElement.XAttributeName
Construct an XName entity.
XElement - Class in hu.akarnokd.xml
A simplified XML element model.
XElement(String) - Constructor for class hu.akarnokd.xml.XElement
Constructor.
XElement(String, Object) - Constructor for class hu.akarnokd.xml.XElement
Creates a new XElement and sets its content according to the supplied value.
XElementBase - Class in hu.akarnokd.xml
The base interface for XElement and XNElement's common methods.
XElementBase(String) - Constructor for class hu.akarnokd.xml.XElementBase
Constructor, sets the element name.
XNAppender - Interface in hu.akarnokd.xml
A callback interface to append to a stream and return the number of characters appended.
XNElement - Class in hu.akarnokd.xml
A simplified XML element model with namespace support.
XNElement(String) - Constructor for class hu.akarnokd.xml.XNElement
Constructor.
XNElement(String, Object) - Constructor for class hu.akarnokd.xml.XNElement
Creates a new XElement and sets its content according to the supplied value.
XNElement(String, String) - Constructor for class hu.akarnokd.xml.XNElement
Constructor.
XNElement(String, String, Object) - Constructor for class hu.akarnokd.xml.XNElement
Creates a new XElement and sets its content according to the supplied value.
XNElement.XAttributeName - Class in hu.akarnokd.xml
The namespace:name record.
XNElement.XRepresentationRecord - Class in hu.akarnokd.xml
The representation record.
XNElement.XRepresentationState - Enum in hu.akarnokd.xml
The representation state.
XNSerializable - Interface in hu.akarnokd.xml
Common interface to denote objects which can be serialized and deserialized into XElements.
XNSerializables - Class in hu.akarnokd.xml
Utility classes to handle XNSerializable object creation and conversion.
XRepresentationRecord(XNElement.XRepresentationState, XNElement, int) - Constructor for class hu.akarnokd.xml.XNElement.XRepresentationRecord
Create the record.
XSD - Static variable in class hu.akarnokd.xml.XElementBase
The XSD namespace.
XSerializable - Interface in hu.akarnokd.xml
Common interface to denote objects which can be serialized and deserialized into XElements.
XSerializables - Class in hu.akarnokd.xml
Utility classes to handle XSerializable object creation and conversion.
XSI - Static variable in class hu.akarnokd.xml.XElementBase
The XSD instance URI.
A C D E F G H I L N P R S T U V X 
Skip navigation links