Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
F
G
I
P
R
S
T
W
X
A
Attribute
- class de.trantor.xml.pullparser.event.
Attribute
.
Attribute(String, String, String)
- Constructor for class de.trantor.xml.pullparser.event.
Attribute
C
ChainedParseException
- exception de.trantor.xml.pullparser.
ChainedParseException
.
ChainedParseException(Exception)
- Constructor for class de.trantor.xml.pullparser.
ChainedParseException
ChainedParseException(String, Exception)
- Constructor for class de.trantor.xml.pullparser.
ChainedParseException
CHARACTERS
- Static variable in interface de.trantor.xml.pullparser.event.
ParseEvent
Integer constant assigned to CharactersEvent
close()
- Method in class de.trantor.util.
StructureWriter
closes the underlying writer
COMMENT
- Static variable in interface de.trantor.xml.pullparser.event.
ParseEvent
Integer constant assigned to comments
D
de.trantor.util
- package de.trantor.util
de.trantor.xml
- package de.trantor.xml
de.trantor.xml.pullparser
- package de.trantor.xml.pullparser
de.trantor.xml.pullparser.event
- package de.trantor.xml.pullparser.event
decIndentLevel()
- Method in class de.trantor.util.
StructureWriter
decreases the indent level.
E
encode(String)
- Static method in class de.trantor.xml.
Xml
END_DOCUMENT
- Static variable in interface de.trantor.xml.pullparser.event.
ParseEvent
Integer constant returned by PullParser.peekType if no more events available
END_TAG
- Static variable in interface de.trantor.xml.pullparser.event.
ParseEvent
Integer constant assigned to EndTag
EndDocument
- class de.trantor.xml.pullparser.event.
EndDocument
.
the END_DOCUMENT event
EndDocument()
- Constructor for class de.trantor.xml.pullparser.event.
EndDocument
EndTag
- class de.trantor.xml.pullparser.event.
EndTag
.
A class for events indicating the end of an element
EndTag(String, String, String)
- Constructor for class de.trantor.xml.pullparser.event.
EndTag
F
flush()
- Method in class de.trantor.util.
StructureWriter
flushes the underlying writer
G
getAllNamespaceDeclarations()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns a Map containing the prefix mappings defined at this element start tag
getAttribute(int)
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns the attribute at the given index position
getAttribute(String)
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns the local attribute with the given name. convenience method for getAttribute (null, name);
getAttribute(String, String)
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns the local attribute with the given qualified name.
getAttributeCount()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns the number of attributes
getChainedException()
- Method in class de.trantor.xml.pullparser.
ChainedParseException
getData()
- Method in class de.trantor.xml.pullparser.event.
ProcessingInstruction
returns the date of the processing instruction
getName()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns the (local) name of the element started
getName()
- Method in class de.trantor.xml.pullparser.event.
Attribute
getName()
- Method in class de.trantor.xml.pullparser.event.
EndTag
returns the name of the element
getNamespace()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns namespace
getNamespace()
- Method in class de.trantor.xml.pullparser.event.
Attribute
returns the namespace of the attribute
getNamespace()
- Method in class de.trantor.xml.pullparser.event.
EndTag
getNewNamespaceDeclarations()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns a Map containing the prefix mappings defined at this element start tag
getPrefix()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns namespace prefix
getPrefix()
- Method in class de.trantor.xml.pullparser.event.
Attribute
returns the namespace prefix.
getPrefix()
- Method in class de.trantor.xml.pullparser.event.
EndTag
getQName(String, Map)
- Static method in class de.trantor.xml.
Xml
constructs globally unique name from prefixed name
getQName(String, Map, String)
- Static method in class de.trantor.xml.
Xml
constructs globally unique name from prefixed name
getQName(String, String, Map, String)
- Static method in class de.trantor.xml.
Xml
constructs globally unique {namespace}localname - styled name from prefix amd name
getTarget()
- Method in class de.trantor.xml.pullparser.event.
ProcessingInstruction
returns the target of the processing instruction
getText()
- Method in class de.trantor.xml.pullparser.event.
TextEvent
returns the actual character data as String
getType()
- Method in class de.trantor.xml.pullparser.event.
ProcessingInstruction
returns PROCESSING_INSTRUCTION.
getType()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns the integer constant assigned to this event type (DocumentEvent.START_ELEMENT).
getType()
- Method in class de.trantor.xml.pullparser.event.
EndDocument
returns END_DOCUMENT
getType()
- Method in interface de.trantor.xml.pullparser.event.
ParseEvent
returns the integer constant assigned for a particular subclass of DocumentEvent
getType()
- Method in class de.trantor.xml.pullparser.event.
Attribute
getType()
- Method in class de.trantor.xml.pullparser.event.
TextEvent
returns CHARACTERS or IGNORABLE_WHITESPACE, depending on the type of the text node
getType()
- Method in class de.trantor.xml.pullparser.event.
EndTag
returns the integer constant assigned to this event type (DocumentEvent.END_ELEMENT).
getValue()
- Method in class de.trantor.xml.pullparser.event.
Attribute
getWriter()
- Method in class de.trantor.util.
StructureWriter
returns the underlying Writer
I
IGNORABLE_WHITESPACE
- Static variable in interface de.trantor.xml.pullparser.event.
ParseEvent
Integer constant assigned to IgnorableWhitespaceEvent
incIndentLevel()
- Method in class de.trantor.util.
StructureWriter
increments the indent level
P
ParseEvent
- interface de.trantor.xml.pullparser.event.
ParseEvent
.
Abstract class to be implemented by all xml nodes (ProcessingInstruction, TextEvent, StartTag, EndTag...).
ParseException
- exception de.trantor.xml.pullparser.
ParseException
.
Base class for exceptions thrown by the pullParser
ParseException()
- Constructor for class de.trantor.xml.pullparser.
ParseException
ParseException(String)
- Constructor for class de.trantor.xml.pullparser.
ParseException
peek()
- Method in class de.trantor.xml.pullparser.
SaxPullParser
reads the next event available from the parser without consuming it
peek()
- Method in interface de.trantor.xml.pullparser.
PullParser
reads the next event available from the parser without consuming it
peekType()
- Method in class de.trantor.xml.pullparser.
SaxPullParser
queries the type of the next parsing event.
peekType()
- Method in interface de.trantor.xml.pullparser.
PullParser
queries the type of the next parsing event.
printIndent()
- Method in class de.trantor.util.
StructureWriter
prints a newline followed by indent spaces
printStackTrace()
- Method in class de.trantor.xml.pullparser.
ChainedParseException
printStackTrace(PrintStream)
- Method in class de.trantor.xml.pullparser.
ChainedParseException
printStackTrace(PrintWriter)
- Method in class de.trantor.xml.pullparser.
ChainedParseException
PROCESSING_INSTRUCTION
- Static variable in interface de.trantor.xml.pullparser.event.
ParseEvent
Integer constant assigned to ProcessingInstructionEvent
ProcessingInstruction
- class de.trantor.xml.pullparser.event.
ProcessingInstruction
.
A class for events indicating processing instructions
ProcessingInstruction(String, String)
- Constructor for class de.trantor.xml.pullparser.event.
ProcessingInstruction
PullParser
- interface de.trantor.xml.pullparser.
PullParser
.
An interface definition for a parser that can be pulled for document events.
R
read()
- Method in class de.trantor.xml.pullparser.
SaxPullParser
reads the next event available from the parser
read()
- Method in interface de.trantor.xml.pullparser.
PullParser
reads the next event available from the parser.
replace(String, String, String)
- Static method in class de.trantor.util.
Strings
Replaces all occurences of a String in a String by another String
S
SaxPullParser
- class de.trantor.xml.pullparser.
SaxPullParser
.
An implementation of a namespace processing PullParser based on a standard SAX ("push") parser.
SaxPullParser(Parser, InputSource)
- Constructor for class de.trantor.xml.pullparser.
SaxPullParser
Creates a new pull parser from a SAX parser and a SAX input source
setNamespace(String)
- Method in class de.trantor.xml.pullparser.event.
Attribute
sets the given namespace and splits the name into prefix and localname.
START_TAG
- Static variable in interface de.trantor.xml.pullparser.event.
ParseEvent
Integer constant assigned to StartElementEvent
StartTag
- class de.trantor.xml.pullparser.event.
StartTag
.
A class for events indicating the start of a new element
StartTag(String, String, String, Attribute[], int, Map, Map)
- Constructor for class de.trantor.xml.pullparser.event.
StartTag
creates a new StartTag
Strings
- class de.trantor.util.
Strings
.
The String class contains some static String methods
Strings()
- Constructor for class de.trantor.util.
Strings
StructureWriter
- class de.trantor.util.
StructureWriter
.
An abstract encapsulation of a writer that allows raw and cooked (escaped) writing and supports indent levels for structured writing.
StructureWriter(Writer)
- Constructor for class de.trantor.util.
StructureWriter
Builds a new StructureWriter from the given Writer
superTrim(String)
- Static method in class de.trantor.util.
Strings
T
TextEvent
- class de.trantor.xml.pullparser.event.
TextEvent
.
A class for events indicating character data like "normal" text or ignorable whitespace.
TextEvent(int, char[], int, int)
- Constructor for class de.trantor.xml.pullparser.event.
TextEvent
toString()
- Method in class de.trantor.xml.pullparser.event.
ProcessingInstruction
toString()
- Method in class de.trantor.xml.pullparser.event.
StartTag
returns an writeable String representation of the StartTag
toString()
- Method in class de.trantor.xml.pullparser.event.
Attribute
toString()
- Method in class de.trantor.xml.pullparser.event.
TextEvent
toString()
- Method in class de.trantor.xml.pullparser.event.
EndTag
W
write(XmlWriter)
- Method in class de.trantor.xml.pullparser.event.
EndTag
writeCooked(String)
- Method in class de.trantor.util.
StructureWriter
writeCooked(String)
- Method in class de.trantor.xml.
XmlWriter
writes a string to the stream.
writer
- Variable in class de.trantor.util.
StructureWriter
writeRaw(String)
- Method in class de.trantor.util.
StructureWriter
writes the string to the writer directly without escaping special characters.
X
Xml
- class de.trantor.xml.
Xml
.
A class containing some general static XML-related methods
Xml()
- Constructor for class de.trantor.xml.
Xml
XmlWriter
- class de.trantor.xml.
XmlWriter
.
A class for writing formatted xml output.
XmlWriter(Writer)
- Constructor for class de.trantor.xml.
XmlWriter
creates a new XmlWriter depending on the given Writer
A
C
D
E
F
G
I
P
R
S
T
W
X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES