Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
F
G
I
N
P
R
S
T
U
W
X
_
C
characters(char[], int, int)
- Method in class info.aduna.xml.
SAXWriter
comment(String)
- Method in class info.aduna.xml.
XMLWriter
Writes a comment.
createXMLReader()
- Static method in class info.aduna.xml.
XMLReaderFactory
creates an org.xml.sax.XMLReader object.
createXMLReader(String)
- Static method in class info.aduna.xml.
XMLReaderFactory
Creates an org.xml.sax.XMLReader object using the supplied name.
D
DEFAULT_INDENT
- Static variable in class info.aduna.xml.
SAXWriter
Indicates the default behaviour of an SAXWriter concerning indentation.
DocumentUtil
- Class in
info.aduna.xml
Utilities to make working with DOM documents easier.
DocumentUtil()
- Constructor for class info.aduna.xml.
DocumentUtil
E
emptyElement(String)
- Method in class info.aduna.xml.
XMLWriter
Writes an 'empty' element, e.g.
emptyLine()
- Method in class info.aduna.xml.
XMLWriter
Writes an empty line.
endDocument()
- Method in class info.aduna.xml.
SAXWriter
endDocument()
- Method in class info.aduna.xml.
SimpleSAXAdapter
endDocument()
- Method in interface info.aduna.xml.
SimpleSAXListener
Notifies the listener that the parser has finished parsing.
endDocument()
- Method in class info.aduna.xml.
XMLWriter
Finishes writing and flushes the OutputStream or Writer that this XMLWriter is writing to.
endElement(String, String, String)
- Method in class info.aduna.xml.
SAXWriter
endPrefixMapping(String)
- Method in class info.aduna.xml.
SAXWriter
endTag(String)
- Method in class info.aduna.xml.
SimpleSAXAdapter
endTag(String)
- Method in interface info.aduna.xml.
SimpleSAXListener
Reports an end tag to the listener.
endTag(String)
- Method in class info.aduna.xml.
XMLWriter
Writes an end tag.
escapeAttributeValue(String)
- Static method in class info.aduna.xml.
XMLUtil
Escapes all characters that have a special meaning in XML attribute values -- i.e.
escapeCharacterData(String)
- Static method in class info.aduna.xml.
XMLUtil
Escapes any special characters in the supplied text so that it can be included as character data in an XML document.
escapeDoubleQuotedAttValue(String)
- Static method in class info.aduna.xml.
XMLUtil
Escapes any special characters in the supplied value so that it can be used as an double-quoted attribute value in an XML document.
escapeSingleQuotedAttValue(String)
- Static method in class info.aduna.xml.
XMLUtil
Escapes any special characters in the supplied value so that it can be used as an single-quoted attribute value in an XML document.
escapeText(String)
- Static method in class info.aduna.xml.
XMLUtil
Escapes all characters that have a special meaning in XML text -- i.e.
F
findURISplitIndex(String)
- Static method in class info.aduna.xml.
XMLUtil
Tries to find a point in the supplied URI where this URI can be safely split into a namespace part and a local name.
G
getChildElement(Node, String)
- Static method in class info.aduna.xml.
NodeUtil
Returns the first child element with the given name.
getChildElement(Node, int)
- Static method in class info.aduna.xml.
NodeUtil
Returns the n-th child element.
getChildElements(Node)
- Static method in class info.aduna.xml.
NodeUtil
Get all child elements of the given node.
getChildElements(Node, String)
- Static method in class info.aduna.xml.
NodeUtil
Get all childELEMENTS with name 'name' from the given node.
getChildNodes(Node, String)
- Static method in class info.aduna.xml.
NodeUtil
getDescendingElements(Node, String)
- Static method in class info.aduna.xml.
NodeUtil
Get all descending elements from the given node with the given name.
getDescendingNodes(Node, String)
- Static method in class info.aduna.xml.
NodeUtil
Get all descending nodes from the given node with the given name.
getDocument(URL)
- Static method in class info.aduna.xml.
DocumentUtil
Create a Document representing the XML file at the specified location.
getDocument(URL, boolean, boolean)
- Static method in class info.aduna.xml.
DocumentUtil
Create a Document representing the XML file at the specified location.
getDocument(URL, Schema)
- Static method in class info.aduna.xml.
DocumentUtil
Create a Document representing the XML file at the specified location.
getIndentString()
- Method in class info.aduna.xml.
XMLWriter
Gets the string used for indentation.
getLastChildElement(Node)
- Static method in class info.aduna.xml.
NodeUtil
Returns the last child element of the specified node.
getListener()
- Method in class info.aduna.xml.
SimpleSAXParser
Gets the listener that currently will receive any events from this parser.
getText(Node)
- Static method in class info.aduna.xml.
NodeUtil
Get all text-content of a node.
getText(Node, boolean)
- Static method in class info.aduna.xml.
NodeUtil
getText(Node, StringBuilder, boolean)
- Static method in class info.aduna.xml.
NodeUtil
Add all text-content of a node to a stringBuilder.
I
ignorableWhitespace(char[], int, int)
- Method in class info.aduna.xml.
SAXWriter
INDENT_INCREASE
- Static variable in class info.aduna.xml.
SAXWriter
The number of spaces that together form an indentation unit.
info.aduna.xml
- package info.aduna.xml
isCombiningChar(char)
- Static method in class info.aduna.xml.
XMLUtil
isDigit(char)
- Static method in class info.aduna.xml.
XMLUtil
isExtender(char)
- Static method in class info.aduna.xml.
XMLUtil
isIdeographic(char)
- Static method in class info.aduna.xml.
XMLUtil
isLetter(char)
- Static method in class info.aduna.xml.
XMLUtil
isNCName(String)
- Static method in class info.aduna.xml.
XMLUtil
Checks whether the supplied String is an NCName (Namespace Classified Name) as specified at
http://www.w3.org/TR/REC-xml-names/#NT-NCName
.
isNCNameChar(char)
- Static method in class info.aduna.xml.
XMLUtil
isPreserveWhitespace()
- Method in class info.aduna.xml.
SimpleSAXParser
Checks whether leading and trailing whitespace characters in text elements are preserved.
isValidCharacterDataChar(char)
- Static method in class info.aduna.xml.
XMLUtil
Returns whether the specified character can appear in XML character data.
isValidCharacterDataChar(int)
- Static method in class info.aduna.xml.
XMLUtil
Returns whether the specified character can appear in XML character data.
N
NodeUtil
- Class in
info.aduna.xml
Defines some util methods on DOM nodes.
NodeUtil()
- Constructor for class info.aduna.xml.
NodeUtil
P
parse(File)
- Method in class info.aduna.xml.
SimpleSAXParser
Parses the content of the supplied
File
as XML.
parse(InputStream)
- Method in class info.aduna.xml.
SimpleSAXParser
Parses the content of the supplied
InputStream
as XML.
parse(Reader)
- Method in class info.aduna.xml.
SimpleSAXParser
Parses the content of the supplied
Reader
as XML.
prettyPrintEnabled()
- Method in class info.aduna.xml.
XMLWriter
Checks whether pretty-printing is enabled.
processingInstruction(String, String)
- Method in class info.aduna.xml.
SAXWriter
R
removeInvalidCharacterDataChars(String)
- Static method in class info.aduna.xml.
XMLUtil
Removes all non-valid XML character data chars from the specified String.
resolveEntities(String)
- Static method in class info.aduna.xml.
XMLUtil
Replaces all XML character entities with the character they represent.
resolveEntity(String)
- Static method in class info.aduna.xml.
XMLUtil
Resolves an entity reference or character reference to its value.
S
SAXWriter
- Class in
info.aduna.xml
SAXWriter is a utility class that translates events sent to a SAX ContentHandler to a character stream send to a Writer.
SAXWriter(Writer, boolean)
- Constructor for class info.aduna.xml.
SAXWriter
Create a new SAXWriter for the specified Writer which optionally prints indentation.
SAXWriter(Writer)
- Constructor for class info.aduna.xml.
SAXWriter
Create a new SAXWriter for the specified Writer with the default indentation settings.
SAXWriter(OutputStream, boolean)
- Constructor for class info.aduna.xml.
SAXWriter
Create a new SAXWriter for the specified OutputStream which optionally prints indentation.
SAXWriter(OutputStream)
- Constructor for class info.aduna.xml.
SAXWriter
Create a new SAXWriter for the specified OutputStream with the default indentation property.
setAttribute(String, String)
- Method in class info.aduna.xml.
XMLWriter
Sets an attribute for the next start tag.
setAttribute(String, int)
- Method in class info.aduna.xml.
XMLWriter
Sets an attribute for the next start element.
setAttribute(String, boolean)
- Method in class info.aduna.xml.
XMLWriter
Sets an attribute for the next start element.
setDocumentLocator(Locator)
- Method in class info.aduna.xml.
SAXWriter
setIndentString(String)
- Method in class info.aduna.xml.
XMLWriter
Sets the string that should be used for indentation when pretty-printing is enabled.
setListener(SimpleSAXListener)
- Method in class info.aduna.xml.
SimpleSAXParser
Sets the (new) listener that should receive any events from this parser.
setPreserveWhitespace(boolean)
- Method in class info.aduna.xml.
SimpleSAXParser
Sets whether leading and trailing whitespace characters in text elements should be preserved.
setPrettyPrint(boolean)
- Method in class info.aduna.xml.
XMLWriter
Enables or disables pretty-printing.
SimpleSAXAdapter
- Class in
info.aduna.xml
An implementation of
SimpleSAXListener
providing dummy implementations for all its methods.
SimpleSAXAdapter()
- Constructor for class info.aduna.xml.
SimpleSAXAdapter
SimpleSAXListener
- Interface in
info.aduna.xml
A listener for events reported by
SimpleSAXParser
.
SimpleSAXParser
- Class in
info.aduna.xml
An XML parser that generates "simple" SAX-like events from a limited subset of XML documents.
SimpleSAXParser(XMLReader)
- Constructor for class info.aduna.xml.
SimpleSAXParser
Creates a new SimpleSAXParser that will use the supplied
XMLReader
for parsing the XML.
SimpleSAXParser()
- Constructor for class info.aduna.xml.
SimpleSAXParser
Creates a new SimpleSAXParser that will try to create a new
XMLReader
using
info.aduna.xml.XMLReaderFactory
for parsing the XML.
skippedEntity(String)
- Method in class info.aduna.xml.
SAXWriter
startDocument()
- Method in class info.aduna.xml.
SAXWriter
startDocument()
- Method in class info.aduna.xml.
SimpleSAXAdapter
startDocument()
- Method in interface info.aduna.xml.
SimpleSAXListener
Notifies the listener that the parser has started parsing.
startDocument()
- Method in class info.aduna.xml.
XMLWriter
Writes the XML header for the XML file.
startElement(String, String, String, Attributes)
- Method in class info.aduna.xml.
SAXWriter
Inherit comment.
startPrefixMapping(String, String)
- Method in class info.aduna.xml.
SAXWriter
startTag(String, Map<String, String>, String)
- Method in class info.aduna.xml.
SimpleSAXAdapter
startTag(String, Map<String, String>, String)
- Method in interface info.aduna.xml.
SimpleSAXListener
Reports a start tag to the listener.
startTag(String)
- Method in class info.aduna.xml.
XMLWriter
Writes a start tag containing the previously set attributes.
T
text(String)
- Method in class info.aduna.xml.
XMLWriter
Writes a piece of text.
textElement(String, String)
- Method in class info.aduna.xml.
XMLWriter
Writes a start and end tag with the supplied text between them.
textElement(String, int)
- Method in class info.aduna.xml.
XMLWriter
Writes a start and end tag with the supplied value between them.
textElement(String, boolean)
- Method in class info.aduna.xml.
XMLWriter
Writes a start and end tag with the supplied boolean value between them.
toLegalXMLString(String)
- Static method in class info.aduna.xml.
NodeUtil
U
unescapedTextElement(String, String)
- Method in class info.aduna.xml.
XMLWriter
Writes a start and end tag with the supplied text between them, without the usual escape rules.
W
writeAttribute(Attr, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeCDATA(CDATASection, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeChildren(Node, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeComment(Comment, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeDocument(Document, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeDocumentFragment(DocumentFragment, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeDocumentType(DocumentType, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeElement(Element, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeEntity(Entity, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeEntityReference(EntityReference, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeNotation(Notation, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeProcessingInstruction(ProcessingInstruction, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeText(Text, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
writeXML(Node, OutputStream)
- Static method in class info.aduna.xml.
NodeUtil
Write the contents of a DOM (sub)tree to a stream.
writeXMLNode(Node, PrintStream)
- Static method in class info.aduna.xml.
NodeUtil
X
XERCES_SAXPARSER
- Static variable in class info.aduna.xml.
XMLReaderFactory
XMLReaderFactory
- Class in
info.aduna.xml
Factory class for creating an XMLReader.
XMLReaderFactory()
- Constructor for class info.aduna.xml.
XMLReaderFactory
XMLUtil
- Class in
info.aduna.xml
Utility methods for handling and processing XML data.
XMLUtil()
- Constructor for class info.aduna.xml.
XMLUtil
XMLWriter
- Class in
info.aduna.xml
A utility class offering convenience methods for writing XML.
XMLWriter(Writer)
- Constructor for class info.aduna.xml.
XMLWriter
Creates a new XMLWriter that will write its data to the supplied Writer.
XMLWriter(OutputStream)
- Constructor for class info.aduna.xml.
XMLWriter
Creates a new XMLWriter that will write its data to the supplied OutputStream in the default UTF-8 character encoding.
XMLWriter(OutputStream, String)
- Constructor for class info.aduna.xml.
XMLWriter
Creates a new XMLWriter that will write its data to the supplied OutputStream in specified character encoding.
_
_createXMLReader(String)
- Static method in class info.aduna.xml.
XMLReaderFactory
_indentLevel
- Variable in class info.aduna.xml.
XMLWriter
The current indentation level, i.e.
_write(String)
- Method in class info.aduna.xml.
XMLWriter
Writes a string.
_writeIndent()
- Method in class info.aduna.xml.
XMLWriter
Writes as much indentation strings as appropriate for the current indentation level.
_writeLn(String)
- Method in class info.aduna.xml.
XMLWriter
Writes a string followed by a line-separator.
C
D
E
F
G
I
N
P
R
S
T
U
W
X
_
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010
Aduna
. All Rights Reserved.