A B C D E F G I L N P R S T U X 
All Classes All Packages

A

a(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
a(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
a(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
addNamespace(String, String) - Method in class com.jamesmurty.utils.NamespaceContextImpl
Add a custom mapping from prefix to a namespace.
assertElementContainsNoOrWhitespaceOnlyTextNodes(Node) - Method in class com.jamesmurty.utils.BaseXMLBuilder
 
asString() - Method in class com.jamesmurty.utils.BaseXMLBuilder
Serialize the XML document to a string excluding the XML declaration.
asString() - Method in class com.jamesmurty.utils.XMLBuilder2
 
asString(Properties) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Serialize the XML document to a string by delegating to the BaseXMLBuilder.toWriter(Writer, Properties) method.
asString(Properties) - Method in class com.jamesmurty.utils.XMLBuilder2
 
attr(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
attr(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
attr(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
attribute(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named attribute value to the element represented by this builder node, and return the node representing the element to which the attribute was added (not the new attribute node).
attribute(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
attribute(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
attributeImpl(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named attribute value to the element for this builder node.

B

BaseXMLBuilder - Class in com.jamesmurty.utils
Base abstract class for all XML Builder implementations.
BaseXMLBuilder(Document) - Constructor for class com.jamesmurty.utils.BaseXMLBuilder
Construct a new builder object that wraps the given XML document.
BaseXMLBuilder(Node, Node) - Constructor for class com.jamesmurty.utils.BaseXMLBuilder
Construct a new builder object that wraps the given XML document and node.
buildDocumentNamespaceContext() - Method in class com.jamesmurty.utils.BaseXMLBuilder
 

C

c(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
c(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
c(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
cdata(byte[]) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a CDATA node with Base64-encoded byte data content to the element represented by this builder node, and return the node representing the element to which the data was added (not the new CDATA node).
cdata(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
 
cdata(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder2
 
cdata(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a CDATA node with String content to the element represented by this builder node, and return the node representing the element to which the data was added (not the new CDATA node).
cdata(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
cdata(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
cdataImpl(byte[]) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a CDATA node with Base64-encoded byte data content to the element for this builder node.
cdataImpl(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a CDATA node with String content to the element for this builder node.
cmnt(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
cmnt(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
cmnt(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
com.jamesmurty.utils - package com.jamesmurty.utils
 
comment(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a comment to the element represented by this builder node, and return the node representing the element to which the comment was added (not the new comment node).
comment(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
comment(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
commentImpl(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a comment to the element represented by this builder node.
create(String) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder for new XML document.
create(String) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder for new XML document.
create(String, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder for new XML document.
create(String, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder for new XML document.
create(String, String) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder for new XML document with a default namespace.
create(String, String) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder for new XML document with a default namespace.
create(String, String, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder for new XML document with a default namespace.
create(String, String, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder for new XML document with a default namespace.
createDocumentImpl(String, String, boolean, boolean) - Static method in class com.jamesmurty.utils.BaseXMLBuilder
Construct an XML Document with a default namespace with the given root element.

D

d(byte[]) - Method in class com.jamesmurty.utils.BaseXMLBuilder
d(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
 
d(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder2
 
d(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
d(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
d(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
data(byte[]) - Method in class com.jamesmurty.utils.BaseXMLBuilder
data(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
 
data(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder2
 
data(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
data(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
data(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
document() - Method in class com.jamesmurty.utils.BaseXMLBuilder
BEWARE: The builder returned by this method represents a Document node, not an Element node as is usually the case, so attempts to use the attribute or namespace methods on this builder will likely fail.
document() - Method in class com.jamesmurty.utils.XMLBuilder
 
document() - Method in class com.jamesmurty.utils.XMLBuilder2
 

E

e(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
e(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
e(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
elem(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
elem(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
elem(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
element - Variable in class com.jamesmurty.utils.NamespaceContextImpl
 
element(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named XML element to the document as a child of this builder node, and return the builder node representing the new child.
element(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
element(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
element(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named and namespaced XML element to the document as a child of this builder node, and return the builder node representing the new child.
element(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
element(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
elementAsString() - Method in class com.jamesmurty.utils.BaseXMLBuilder
Serialize the current XML Element and its descendants to a string excluding the XML declaration.
elementAsString() - Method in class com.jamesmurty.utils.XMLBuilder2
 
elementAsString(Properties) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Serialize the current XML Element and its descendants to a string by delegating to the BaseXMLBuilder.toWriter(Writer, Properties) method.
elementAsString(Properties) - Method in class com.jamesmurty.utils.XMLBuilder2
 
elementBefore(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named XML element to the document as a sibling element that precedes the position of this builder node, and return the builder node representing the new child.
elementBefore(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
elementBefore(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
elementBefore(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named and namespaced XML element to the document as a sibling element that precedes the position of this builder node, and return the builder node representing the new child.
elementBefore(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
elementBefore(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
elementBeforeImpl(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named XML element to the document as a sibling element that precedes the position of this builder node.
elementBeforeImpl(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named and namespaced XML element to the document as a sibling element that precedes the position of this builder node.
elementImpl(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a named and namespaced XML element to the document as a child of this builder's node.
enableOrDisableExternalEntityParsing(DocumentBuilderFactory, boolean) - Static method in class com.jamesmurty.utils.BaseXMLBuilder
Explicitly enable or disable the 'external-general-entities' and 'external-parameter-entities' features of the underlying DocumentBuilderFactory.
equals(Object) - Method in class com.jamesmurty.utils.BaseXMLBuilder
 

F

failIfExternalEntityParsingCannotBeConfigured - Static variable in class com.jamesmurty.utils.BaseXMLBuilder
If true, the builder will raise an XMLBuilderRuntimeException if external general and parameter entities cannot be explicitly enabled or disabled.

G

getDocument() - Method in class com.jamesmurty.utils.BaseXMLBuilder
 
getElement() - Method in class com.jamesmurty.utils.BaseXMLBuilder
 
getNamespaceURI(String) - Method in class com.jamesmurty.utils.NamespaceContextImpl
 
getPrefix(String) - Method in class com.jamesmurty.utils.NamespaceContextImpl
 
getPrefixes(String) - Method in class com.jamesmurty.utils.NamespaceContextImpl
 
getPrefixFromQualifiedName(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
 

I

i(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
i(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
i(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
importXMLBuilder(BaseXMLBuilder) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Imports another XMLBuilder document into this document at the current position.
importXMLBuilder(BaseXMLBuilder) - Method in class com.jamesmurty.utils.XMLBuilder
 
importXMLBuilder(BaseXMLBuilder) - Method in class com.jamesmurty.utils.XMLBuilder2
 
importXMLBuilderImpl(BaseXMLBuilder) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Imports another BaseXMLBuilder document into this document at the current position.
insertInstruction(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Insert an instruction before the element represented by this builder node, and return the node representing that same element (not the new instruction node).
insertInstruction(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
insertInstruction(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
insertInstructionImpl(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Insert an instruction before the element represented by this builder node.
inst(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
inst(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
inst(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
instruction(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add an instruction to the element represented by this builder node, and return the node representing the element to which the instruction was added (not the new instruction node).
instruction(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
instruction(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
instructionImpl(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add an instruction to the element represented by this builder node.

L

lookupNamespaceURIImpl(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Look up the namespace matching the current builder node's qualified name prefix (if any) or the document's default namespace.

N

namespace(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add an XML namespace attribute to this builder's element node without a prefix.
namespace(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
namespace(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
namespace(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add an XML namespace attribute to this builder's element node.
namespace(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
namespace(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
NamespaceContextImpl - Class in com.jamesmurty.utils
Mappings between prefix strings and namespace URI strings, as required to perform XPath queries on namespaced XML documents.
NamespaceContextImpl() - Constructor for class com.jamesmurty.utils.NamespaceContextImpl
Create an empty namespace context.
NamespaceContextImpl(Element) - Constructor for class com.jamesmurty.utils.NamespaceContextImpl
Create a namespace context that will lookup namespace information in the given element.
namespaceImpl(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add an XML namespace attribute to this builder's element node without a prefix.
namespaceImpl(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add an XML namespace attribute to this builder's element node.
ns(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
ns(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
ns(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
ns(String, String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
ns(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
 
ns(String, String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
nsUriToPrefixesMap - Variable in class com.jamesmurty.utils.NamespaceContextImpl
 

P

parse(File) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder from an existing XML document file.
parse(File) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder from an existing XML document file.
parse(File, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder from an existing XML document file.
parse(File, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder from an existing XML document file.
parse(String) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder from an existing XML document string.
parse(String) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder from an existing XML document string.
parse(String, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder from an existing XML document string.
parse(String, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder from an existing XML document string.
parse(InputSource) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder from an existing XML document.
parse(InputSource) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder from an existing XML document.
parse(InputSource, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder from an existing XML document.
parse(InputSource, boolean, boolean) - Static method in class com.jamesmurty.utils.XMLBuilder2
Construct a builder from an existing XML document.
parseDocumentImpl(InputSource, boolean, boolean) - Static method in class com.jamesmurty.utils.BaseXMLBuilder
Return an XML Document parsed from the given input source.
prefixToNsUriMap - Variable in class com.jamesmurty.utils.NamespaceContextImpl
 

R

r(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
r(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
r(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
ref(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
ref(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
ref(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
reference(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a reference to the element represented by this builder node, and return the node representing the element to which the reference was added (not the new reference node).
reference(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
reference(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
referenceImpl(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a reference to the element represented by this builder node.
root() - Method in class com.jamesmurty.utils.BaseXMLBuilder
 
root() - Method in class com.jamesmurty.utils.XMLBuilder
 
root() - Method in class com.jamesmurty.utils.XMLBuilder2
 

S

stripWhitespaceOnlyTextNodes() - Method in class com.jamesmurty.utils.BaseXMLBuilder
Find and delete from the underlying Document any text nodes that contain nothing but whitespace, such as newlines and tab or space characters used to indent or pretty-print an XML document.
stripWhitespaceOnlyTextNodes() - Method in class com.jamesmurty.utils.XMLBuilder
 
stripWhitespaceOnlyTextNodes() - Method in class com.jamesmurty.utils.XMLBuilder2
 
stripWhitespaceOnlyTextNodesImpl() - Method in class com.jamesmurty.utils.BaseXMLBuilder
Find and delete from the underlying Document any text nodes that contain nothing but whitespace, such as newlines and tab or space characters used to indent or pretty-print an XML document.

T

t(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
t(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
t(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
text(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add a text value to the element represented by this builder node, and return the node representing the element to which the text was added (not the new text node).
text(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
text(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
text(String, boolean) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add or replace the text value of an element represented by this builder node, and return the node representing the element to which the text was added (not the new text node).
text(String, boolean) - Method in class com.jamesmurty.utils.XMLBuilder
 
text(String, boolean) - Method in class com.jamesmurty.utils.XMLBuilder2
 
textImpl(String, boolean) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Add or replace the text value of an element for this builder node.
toWriter(boolean, Writer, Properties) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Serialize either the specific Element wrapped by this BaseXMLBuilder, or its entire XML document, to the given writer using the default TransformerFactory and Transformer classes.
toWriter(boolean, Writer, Properties) - Method in class com.jamesmurty.utils.XMLBuilder2
 
toWriter(Writer, Properties) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Serialize the XML document to the given writer using the default TransformerFactory and Transformer classes.
toWriter(Writer, Properties) - Method in class com.jamesmurty.utils.XMLBuilder2
 

U

up() - Method in class com.jamesmurty.utils.BaseXMLBuilder
Return the builder node representing the parent of the current node.
up() - Method in class com.jamesmurty.utils.XMLBuilder
 
up() - Method in class com.jamesmurty.utils.XMLBuilder2
 
up(int) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Return the builder node representing the nth ancestor element of this node, or the root node if n exceeds the document's depth.
up(int) - Method in class com.jamesmurty.utils.XMLBuilder
 
up(int) - Method in class com.jamesmurty.utils.XMLBuilder2
 
upImpl(int) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Return the Document node representing the nth ancestor element of this node, or the root node if n exceeds the document's depth.

X

XMLBuilder - Class in com.jamesmurty.utils
XML Builder is a utility that creates simple XML documents using relatively sparse Java code.
XMLBuilder(Document) - Constructor for class com.jamesmurty.utils.XMLBuilder
Construct a new builder object that wraps the given XML document.
XMLBuilder(Node, Node) - Constructor for class com.jamesmurty.utils.XMLBuilder
Construct a new builder object that wraps the given XML document and node.
XMLBuilder2 - Class in com.jamesmurty.utils
XML Builder is a utility that creates simple XML documents using relatively sparse Java code.
XMLBuilder2(Document) - Constructor for class com.jamesmurty.utils.XMLBuilder2
Construct a new builder object that wraps the given XML document.
XMLBuilder2(Node, Node) - Constructor for class com.jamesmurty.utils.XMLBuilder2
Construct a new builder object that wraps the given XML document and node.
XMLBuilderRuntimeException - Exception in com.jamesmurty.utils
A runtime exception class used in XMLBuilder2 to wrap any exceptions that would otherwise lead to checked exceptions in the interface.
XMLBuilderRuntimeException(Exception) - Constructor for exception com.jamesmurty.utils.XMLBuilderRuntimeException
 
xpathFind(String) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Find the first element in the builder's DOM matching the given XPath expression.
xpathFind(String) - Method in class com.jamesmurty.utils.XMLBuilder
 
xpathFind(String) - Method in class com.jamesmurty.utils.XMLBuilder2
 
xpathFind(String, NamespaceContext) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Find the first element in the builder's DOM matching the given XPath expression, where the expression may include namespaces if a NamespaceContext is provided.
xpathFind(String, NamespaceContext) - Method in class com.jamesmurty.utils.XMLBuilder
 
xpathFind(String, NamespaceContext) - Method in class com.jamesmurty.utils.XMLBuilder2
 
xpathFindImpl(String, NamespaceContext) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Find the first element in the builder's DOM matching the given XPath expression, where the expression may include namespaces if a NamespaceContext is provided.
xpathQuery(String, QName) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Return the result of evaluating an XPath query on the builder's DOM.
xpathQuery(String, QName) - Method in class com.jamesmurty.utils.XMLBuilder2
 
xpathQuery(String, QName, NamespaceContext) - Method in class com.jamesmurty.utils.BaseXMLBuilder
Return the result of evaluating an XPath query on the builder's DOM using the given namespace.
xpathQuery(String, QName, NamespaceContext) - Method in class com.jamesmurty.utils.XMLBuilder2
 
A B C D E F G I L N P R S T U X 
All Classes All Packages