A C D E F G H I L M O P S T U X

A

add(XmlContent) - Method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
add(XmlContent) - Method in class org.xpresso.xml.Document
Add an XmlContent to the uppest Element of the stack.
addAttribute(String, String) - Method in class org.xpresso.xml.concurrent.ConcurrentElement
 
addAttribute(String, String) - Method in class org.xpresso.xml.Element
Adds an attribute to the Element, using given key and value.

C

CDATA - Class in org.xpresso.xml
The CDATA class is used to insert a CDATA block in the XML document.
CDATA(String) - Constructor for class org.xpresso.xml.CDATA
Constructs a CDATA block with the given String.
charAt(int) - Method in class org.xpresso.xml.Document
Required for implementing CharSequence
clone() - Method in class org.xpresso.xml.Document
Returns a deep clone of the Document, regardless its current state.
clone() - Method in class org.xpresso.xml.Element
 
ClosedDocumentException - Exception in org.xpresso.xml
Thrown if content is tried to be added to a closed Document.
ClosedDocumentException() - Constructor for exception org.xpresso.xml.ClosedDocumentException
 
ClosedDocumentException(String) - Constructor for exception org.xpresso.xml.ClosedDocumentException
 
ClosedDocumentException(String, Throwable) - Constructor for exception org.xpresso.xml.ClosedDocumentException
 
ClosedDocumentException(Throwable) - Constructor for exception org.xpresso.xml.ClosedDocumentException
 
Comment - Class in org.xpresso.xml
The Comment class is used to insert a comment block in the XML document.
Comment(String) - Constructor for class org.xpresso.xml.Comment
Constructs a comment block with the given String
ConcurrentDocument - Class in org.xpresso.xml.concurrent
Thread-safe version of Document.
ConcurrentDocument(ConcurrentElement) - Constructor for class org.xpresso.xml.concurrent.ConcurrentDocument
 
ConcurrentDocument(String, ConcurrentElement, String, String) - Constructor for class org.xpresso.xml.concurrent.ConcurrentDocument
 
ConcurrentDocument(String, ConcurrentElement) - Constructor for class org.xpresso.xml.concurrent.ConcurrentDocument
 
ConcurrentDocument(String, String, ConcurrentElement, boolean, String, String) - Constructor for class org.xpresso.xml.concurrent.ConcurrentDocument
 
ConcurrentDocument(String, String, ConcurrentElement, boolean) - Constructor for class org.xpresso.xml.concurrent.ConcurrentDocument
 
ConcurrentDocument(String, String, ConcurrentElement, String, String) - Constructor for class org.xpresso.xml.concurrent.ConcurrentDocument
 
ConcurrentDocument(String, String, ConcurrentElement) - Constructor for class org.xpresso.xml.concurrent.ConcurrentDocument
 
ConcurrentElement - Class in org.xpresso.xml.concurrent
Thread-safe version of Element.
ConcurrentElement(String) - Constructor for class org.xpresso.xml.concurrent.ConcurrentElement
 
content - Variable in class org.xpresso.xml.XmlContent
The resulting tag after construction
createCdata(String) - Static method in class org.xpresso.xml.Document
Returns a new CDATA
createComment(String) - Static method in class org.xpresso.xml.Document
Returns a new Comment
createDocument(Element) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createDocument(String, Element) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createDocument(String, Element, String, String) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createDocument(String, String, Element) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createDocument(String, String, Element, String, String) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createDocument(String, String, Element, boolean) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createDocument(String, String, Element, boolean, String, String) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createDocument(Element) - Static method in class org.xpresso.xml.Document
Creates a new Document with only a root Element.
createDocument(String, Element) - Static method in class org.xpresso.xml.Document
Creates a new Document with a xml version and a root Element.
createDocument(String, Element, String, String) - Static method in class org.xpresso.xml.Document
Creates a new Document with a xml version, a root Element
and a DOCTYPE statement.
createDocument(String, String, Element) - Static method in class org.xpresso.xml.Document
Creates a new Document with a xml version, the character set encoding
and a root Element.
createDocument(String, String, Element, String, String) - Static method in class org.xpresso.xml.Document
a new Document with a xml version, the character set encoding,
a root Element and a DOCTYPE statement.
createDocument(String, String, Element, boolean) - Static method in class org.xpresso.xml.Document
Creates a new Document with a xml version, the character set encoding, the standalone setting
and a root Element.
createDocument(String, String, Element, boolean, String, String) - Static method in class org.xpresso.xml.Document
Creates a new Document with a xml version, the character set encoding, the standalone setting
a root Element and a DOCTYPE statement.
createElement(String) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
createElement(String) - Static method in class org.xpresso.xml.Document
Creates a new Element
createProcessingInstruction(String) - Static method in class org.xpresso.xml.Document
Returns a new ProcessingInstruction
createText(String) - Static method in class org.xpresso.xml.Document
Returns a new XML Text

D

Document - Class in org.xpresso.xml
The main class, used to generate the XML document.
Document(Element) - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document with only a root Element.
Document(String, Element) - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document with a xml version and a root Element.
Document(String, Element, String, String) - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document with a xml version, a root Element
and a DOCTYPE statement.
Document(String, String, Element) - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document with a xml version, the character set encoding
and a root Element.
Document(String, String, Element, String, String) - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document with a xml version, the character set encoding,
a root Element and a DOCTYPE statement.
Document(String, String, Element, boolean) - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document with a xml version, the character set encoding, the standalone setting
and a root Element.
Document(String, String, Element, boolean, String, String) - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document with a xml version, the character set encoding, the standalone setting
a root Element and a DOCTYPE statement.
Document() - Constructor for class org.xpresso.xml.Document
Constructor creating a new Document without content.

E

Element - Class in org.xpresso.xml
Element represents a level in the XML tree.
Element(String) - Constructor for class org.xpresso.xml.Element
Constructor creating a new Element using a given label.

F

finish() - Method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
finish() - Method in class org.xpresso.xml.Document
Unstack all Elements, which means the document is closed.

G

getAttributes() - Method in class org.xpresso.xml.concurrent.ConcurrentElement
 
getAttributes() - Method in class org.xpresso.xml.Element
Return the map containing all attributes
getLabel() - Method in class org.xpresso.xml.concurrent.ConcurrentElement
 
getLabel() - Method in class org.xpresso.xml.Element
Returns the label of the Element
getStringReader() - Method in class org.xpresso.xml.Document
Returns a StringReader containing the XML.
getText() - Method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
getText() - Method in class org.xpresso.xml.concurrent.ConcurrentElement
 
getText() - Method in class org.xpresso.xml.Document
Return the Document as a String which can be added to another Document, which means it has to be
closed and that the header informations are discarded.
getText() - Method in class org.xpresso.xml.Element
Return the Element as an empty element
getText() - Method in class org.xpresso.xml.XmlContent
Return the tag as a String
getXmlText() - Method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
getXmlText() - Method in class org.xpresso.xml.Document
Return the Document in its current state of completion.

H

header - Variable in class org.xpresso.xml.Document
Contains the header: XML declaration and DTD reference

I

IllegalContentException - Exception in org.xpresso.xml
Thrown if an inserted XmlContent contains an illegal character sequence.
IllegalContentException() - Constructor for exception org.xpresso.xml.IllegalContentException
 
IllegalContentException(String) - Constructor for exception org.xpresso.xml.IllegalContentException
 
IllegalContentException(String, Throwable) - Constructor for exception org.xpresso.xml.IllegalContentException
 
IllegalContentException(Throwable) - Constructor for exception org.xpresso.xml.IllegalContentException
 
isValid(String) - Static method in class org.xpresso.xml.CDATA
Check if the content given in parameter is valid to be used in a CDATA block.
isValid(String) - Static method in class org.xpresso.xml.Comment
Check if the content given in parameter is valid to be used in a comment block.
isValid(String) - Static method in class org.xpresso.xml.Element
Tests if the given String is a valid element or attribut name
isValid(String) - Static method in class org.xpresso.xml.ProcessingInstruction
Check if the content given in parameter is valid to be used in a ProcessingInstruction block.
isValid(String) - Static method in class org.xpresso.xml.Text
Check if the content given in parameter is valid to be used in a Text block.

L

length() - Method in class org.xpresso.xml.Document
Required for implementing CharSequence

M

main(String[]) - Static method in class org.xpresso.xml.concurrent.ConcurrentDocument
For test purpose only !
main(String[]) - Static method in class org.xpresso.xml.Document
For test purpose only !

O

open - Variable in class org.xpresso.xml.Document
Content can only be added to the Document if this boolean is true.
org.xpresso.xml - package org.xpresso.xml
 
org.xpresso.xml.concurrent - package org.xpresso.xml.concurrent
 
org.xpresso.xml.output - package org.xpresso.xml.output
 
output(Document, Writer) - Method in class org.xpresso.xml.output.Outputter
Make it possible to output the Document in a Writer
output(Document, OutputStream) - Method in class org.xpresso.xml.output.Outputter
Make it possible to output the Document in a Outputstream
Outputter - Class in org.xpresso.xml.output
Outputter make the XML content of the Document available by various means.
Outputter() - Constructor for class org.xpresso.xml.output.Outputter
 

P

ProcessingInstruction - Class in org.xpresso.xml
The ProcessingInstruction is used to add a processing instruction to the XML document.
ProcessingInstruction(String) - Constructor for class org.xpresso.xml.ProcessingInstruction
Constructs a ProcessingInstruction block with the given String.

S

stack - Variable in class org.xpresso.xml.concurrent.ConcurrentDocument
 
stack - Variable in class org.xpresso.xml.Document
This stack is used to know the depth in the document tree
stackElement(Element) - Method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
stackElement(Element) - Method in class org.xpresso.xml.Document
Adds a level of depth to the current branch of the document.
subSequence(int, int) - Method in class org.xpresso.xml.Document
Required for implementing CharSequence

T

Text - Class in org.xpresso.xml
The classe Text is used to add text to the XML document.
Text(String) - Constructor for class org.xpresso.xml.Text
Constructs a Text block with the given String.

U

unstackElement() - Method in class org.xpresso.xml.concurrent.ConcurrentDocument
 
unstackElement() - Method in class org.xpresso.xml.Document
Unstack a level of depth from the current branch of the document.

X

XmlContent - Class in org.xpresso.xml
The class XmlContent describes common features needed for all type of XML content.
XmlContent() - Constructor for class org.xpresso.xml.XmlContent
 

A C D E F G H I L M O P S T U X