A B C D E G I N P R T U X 

A

a(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
addNamespace(String, String) - Method in class com.jamesmurty.utils.NamespaceContextImpl
Add a custom mapping from prefix to a namespace.
assertElementHasNoTextNodes(Node) - Method in class com.jamesmurty.utils.XMLBuilder
 
asString(Properties) - Method in class com.jamesmurty.utils.XMLBuilder
Serialize the XML document to a string by delegating to the XMLBuilder.toWriter(Writer, Properties) method.
asString() - Method in class com.jamesmurty.utils.XMLBuilder
Serialize the XML document to a string excluding the XML declaration.
attr(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
attribute(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
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).

B

buildDocumentNamespaceContext() - Method in class com.jamesmurty.utils.XMLBuilder
 

C

c(String) - Method in class com.jamesmurty.utils.XMLBuilder
cdata(String) - Method in class com.jamesmurty.utils.XMLBuilder
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(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
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).
cmnt(String) - Method in class com.jamesmurty.utils.XMLBuilder
com.jamesmurty.utils - package com.jamesmurty.utils
 
comment(String) - Method in class com.jamesmurty.utils.XMLBuilder
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).
create(String, String) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder for new XML document with a default namespace.
create(String) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder for new XML document.

D

d(String) - Method in class com.jamesmurty.utils.XMLBuilder
d(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
data(String) - Method in class com.jamesmurty.utils.XMLBuilder
data(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
document() - Method in class com.jamesmurty.utils.XMLBuilder
BEWARE: The builder returned by this method respresents 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.

E

e(String) - Method in class com.jamesmurty.utils.XMLBuilder
elem(String) - Method in class com.jamesmurty.utils.XMLBuilder
element - Variable in class com.jamesmurty.utils.NamespaceContextImpl
 
element(String) - Method in class com.jamesmurty.utils.XMLBuilder
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, String) - Method in class com.jamesmurty.utils.XMLBuilder
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.
elementAsString(Properties) - Method in class com.jamesmurty.utils.XMLBuilder
Serialize the current XML Element and its descendants to a string by delegating to the XMLBuilder.toWriter(Writer, Properties) method.
elementAsString() - Method in class com.jamesmurty.utils.XMLBuilder
Serialize the current XML Element and its descendants to a string excluding the XML declaration.
elementBefore(String) - Method in class com.jamesmurty.utils.XMLBuilder
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, String) - Method in class com.jamesmurty.utils.XMLBuilder
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.
equals(Object) - Method in class com.jamesmurty.utils.XMLBuilder
 

G

getDocument() - Method in class com.jamesmurty.utils.XMLBuilder
 
getElement() - Method in class com.jamesmurty.utils.XMLBuilder
 
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.XMLBuilder
 

I

i(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
importXMLBuilder(XMLBuilder) - Method in class com.jamesmurty.utils.XMLBuilder
Imports another XMLBuilder document into this document at the current position.
insertInstruction(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
Insert an instruction before the element represented by this builder node, and return the node representing that same element (not the new instruction node).
inst(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
instruction(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
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).

N

namespace(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
Add an XML namespace attribute to this builder's element node.
namespace(String) - Method in class com.jamesmurty.utils.XMLBuilder
Add an XML namespace attribute to this builder's element node without a prefix.
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.
ns(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
ns(String) - Method in class com.jamesmurty.utils.XMLBuilder
nsUriToPrefixesMap - Variable in class com.jamesmurty.utils.NamespaceContextImpl
 

P

parse(InputSource) - Static method in class com.jamesmurty.utils.XMLBuilder
Construct a builder from an existing XML document.
prefixToNsUriMap - Variable in class com.jamesmurty.utils.NamespaceContextImpl
 

R

r(String) - Method in class com.jamesmurty.utils.XMLBuilder
ref(String) - Method in class com.jamesmurty.utils.XMLBuilder
reference(String) - Method in class com.jamesmurty.utils.XMLBuilder
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).
root() - Method in class com.jamesmurty.utils.XMLBuilder
 

T

t(String) - Method in class com.jamesmurty.utils.XMLBuilder
text(String, boolean) - Method in class com.jamesmurty.utils.XMLBuilder
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) - Method in class com.jamesmurty.utils.XMLBuilder
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).
toWriter(boolean, Writer, Properties) - Method in class com.jamesmurty.utils.XMLBuilder
Serialize either the specific Element wrapped by this XMLBuilder, or its entire XML document, to the given writer using the default TransformerFactory and Transformer classes.
toWriter(Writer, Properties) - Method in class com.jamesmurty.utils.XMLBuilder
Serialize the XML document to the given writer using the default TransformerFactory and Transformer classes.

U

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

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.
xpathFind(String, NamespaceContext) - Method in class com.jamesmurty.utils.XMLBuilder
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) - Method in class com.jamesmurty.utils.XMLBuilder
Find the first element in the builder's DOM matching the given XPath expression.
xpathQuery(String, QName, NamespaceContext) - Method in class com.jamesmurty.utils.XMLBuilder
Return the result of evaluating an XPath query on the builder's DOM using the given namespace.
xpathQuery(String, QName) - Method in class com.jamesmurty.utils.XMLBuilder
Return the result of evaluating an XPath query on the builder's DOM.
A B C D E G I N P R T U X 

Copyright © 2013. All Rights Reserved.