Alphabetical Index

A C D E F G I M N O P R S T W X

A

Adds a new callback handler if it is not in the callback list, yet.

C

callbackHandlerList - field in class de.zeigermann.xml.simpleImporter.SimpleImporter
cData(de.zeigermann.xml.simpleImporter.SimplePath,String) - method in class de.zeigermann.xml.simpleImporter.SimpleImportHandler
Is called back when the parser has found character data.
ConversionHelpers - class de.zeigermann.xml.simpleImporter.ConversionHelpers
Collection of some simple conversion and fallback methods for convenience.
create() - static method in class de.zeigermann.xml.XMLStringWriter
Creates a new XMLStringWriter objects.
createEmptyTag(String) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating an empty tag having no attributes.
createEmptyTag(String,Attributes) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating an empty tag.
createEmptyTag(String,String,String) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating an empty tag.
createEmptyTag(String,String[],String[]) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating an empty tag.
createEmptyTag(String,String[][]) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating an empty tag.
createEndTag(String) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating an end tag.
createStartTag(String) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag having no attributes.
createStartTag(String,Attributes) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag.
createStartTag(String,Attributes,boolean) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag.
createStartTag(String,Attributes,boolean,boolean,char) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag.
createStartTag(String,String,String) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a non empty start tag.
createStartTag(String,String,String,boolean) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag.
createStartTag(String,String[],String[]) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a non empty start tag.
createStartTag(String,String[],String[],boolean) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag.
Convenience method for creating a start tag.
createStartTag(String,String[][]) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a non empty start tag.
createStartTag(String,String[][],boolean) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag.
createStartTag(String,String[][],boolean,boolean,char) - static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating a start tag.
currentElement - field in class de.zeigermann.xml.simpleImporter.SimpleImporter
currentMixedPCData - field in class de.zeigermann.xml.simpleImporter.SimpleImporter

D

XML utility and helper classes

SimpleImporter

Simple and fast importer for XML configuration or import files.
debugBuffer - field in class de.zeigermann.xml.simpleImporter.SimpleImporter
DefaultSimpleImportHandler - class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
Empty implementation for callback interface SimpleImportHandler for SimpleImporter.
depth - field in class de.zeigermann.xml.XMLWriter
Current depth of the tree.

E

ENCODING_ISO_8859_1 - static field in class de.zeigermann.xml.XMLOutputStreamWriter
Name of ISO-8859-1 encoding
ENCODING_ISO_LATIN1 - static field in class de.zeigermann.xml.XMLOutputStreamWriter
Alias for ISO-8859-1 encoding
ENCODING_STANDARD - static field in class de.zeigermann.xml.XMLOutputStreamWriter
Name of standard encoding
ENCODING_UTF_16 - static field in class de.zeigermann.xml.XMLOutputStreamWriter
Name of UTF-16 encoding
ENCODING_UTF_8 - static field in class de.zeigermann.xml.XMLOutputStreamWriter
Name of UTF-8 encoding
encodingName - field in class de.zeigermann.xml.XMLOutputStreamWriter
endDocument() - method in class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
endDocument() - method in class de.zeigermann.xml.simpleImporter.SimpleImportHandler
Is called back when the parsed document ends.
Is called back when the parser has found the end of an element.
equals(Object) - method in class de.zeigermann.xml.simpleImporter.Item
equals(Object) - method in class de.zeigermann.xml.simpleImporter.SimplePath

F

factory - field in class de.zeigermann.xml.simpleImporter.SimpleImporter
firstPCData - field in class de.zeigermann.xml.simpleImporter.SimpleImporter
foundMixedPCData - field in class de.zeigermann.xml.simpleImporter.SimpleImporter

G

Convenience method for creating and writing a whole element.
Convenience method for creating and writing a whole element.
getBoolean(String,boolean) - static method in class de.zeigermann.xml.simpleImporter.ConversionHelpers
Gets boolean value a string value.
getBuildComplexPath() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Determines if the simple path created will have complex additional info.
getEncodingName() - method in class de.zeigermann.xml.XMLOutputStreamWriter
Gets the name of the encoding as it would be inserted into the XML declaration.
getFoundMixedPCData() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Determines if we have found any mixed content while parsing.
getFullDebugMode() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Gets the property described in setFullDebugMode(boolean).
getIncludeLeadingCDataIntoStartElementCallback() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Gets property telling importer to return any leading CDATA, i.e.
getInt(String) - static method in class de.zeigermann.xml.simpleImporter.ConversionHelpers
Gets int value from a string value.
getInt(String,int) - static method in class de.zeigermann.xml.simpleImporter.ConversionHelpers
Gets int value from a string value.
getLong(String) - static method in class de.zeigermann.xml.simpleImporter.ConversionHelpers
Gets long value from a string value.
getLong(String,long) - static method in class de.zeigermann.xml.simpleImporter.ConversionHelpers
Gets long value from a string value.
getMakeCopy() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Gets the property describing if every callback handler gets a fresh copy of the parsed data.
getName() - method in class de.zeigermann.xml.simpleImporter.Item
getNamespaceURI() - method in class de.zeigermann.xml.simpleImporter.Item
getNlAfterEmptyTag() - method in class de.zeigermann.xml.XMLWriter
Gets property described in setNlAfterEmptyTag(boolean).
getNlAfterEndTag() - method in class de.zeigermann.xml.XMLWriter
Gets property described in setNlAfterEndTag(boolean).
getNlAfterStartTag() - method in class de.zeigermann.xml.XMLWriter
Gets property described in setNlAfterStartTag(boolean).
getParsedStreamForDebug() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Gets the whole stream parsed in the parse(InputSource) method.
getPrettyPrintMode() - method in class de.zeigermann.xml.XMLWriter
Gets property described in setPrettyPrintMode(boolean).
getString(String,String) - static method in class de.zeigermann.xml.simpleImporter.ConversionHelpers
Returns value if not null, otherwise fallBack.
getTabWidth() - method in class de.zeigermann.xml.XMLWriter
Gets property described in setTabWidth(int).
getTrimContent() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the property described in setTrimContent(boolean).
getUseQName() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Determines if the path shall be assembled of the full qualified names.
getZeroLengthIsNull() - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Gets property: When findind zero length content should it be treated as null data? If it is treated as null data nothing is reported to handlers when finding zero length data.

I

indent - field in class de.zeigermann.xml.XMLWriter
Current indentation.
isCompatibleWithCDATABlock(String) - static method in class de.zeigermann.xml.XMLEncode
Can this text be stored into a CDATA block?
isFirstPCData - field in class de.zeigermann.xml.simpleImporter.SimpleImporter
isWhiteSpace(String) - static method in class de.zeigermann.xml.XMLEncode
Checks if this text purely consists of the white space characters ' ', TAB, NEWLINE.
isXMLDeclarationWritten() - method in class de.zeigermann.xml.XMLWriter
Indicates whether the XML declaration has been written, yet.
Item - class de.zeigermann.xml.simpleImporter.Item
Represntation of a path element.
Item() - constructor for class de.zeigermann.xml.simpleImporter.Item
Item(String) - constructor for class de.zeigermann.xml.simpleImporter.Item
Item(String,String) - constructor for class de.zeigermann.xml.simpleImporter.Item
ITEM_ANY - static field in class de.zeigermann.xml.simpleImporter.Item

M

matches(de.zeigermann.xml.simpleImporter.Item) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Checks if an item matches the last segment of this path.
matches(de.zeigermann.xml.simpleImporter.Item[]) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Checks if the given array of items matches this path.
matches(de.zeigermann.xml.simpleImporter.Item[],boolean) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Checks if the given array of items matches this path.
matches(de.zeigermann.xml.simpleImporter.SimplePath) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Finds out if the the given path matches this one.
matches(String) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Finds out if the path represented by the given string matches this one.
matchesFromRoot(de.zeigermann.xml.simpleImporter.Item[]) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Checks if the given array of items matches this path from the root.
matchsAny(Collection) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Checks if this path matches any of the paths stored in paths collection.
matchsAny(String[]) - method in class de.zeigermann.xml.simpleImporter.SimplePath
Checks if this path matches any of the paths stored in paths collection.

N

needsEncoding(String) - static method in class de.zeigermann.xml.XMLEncode
Checks if this text needs encoding in order to be represented in XML.
needsEncoding(String,boolean) - static method in class de.zeigermann.xml.XMLEncode
Checks if this text needs encoding in order to be represented in XML.
NEWLINE - static field in class de.zeigermann.xml.XMLWriter
nlAfterEmptyTag - field in class de.zeigermann.xml.XMLWriter
nlAfterEndTag - field in class de.zeigermann.xml.XMLWriter
nlAfterStartTag - field in class de.zeigermann.xml.XMLWriter
NO_NEWLINE - static field in class de.zeigermann.xml.XMLWriter

O

os - field in class de.zeigermann.xml.XMLOutputStreamWriter

P

parse(InputSource) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Parses the input source using the standard SAX parser and calls back the callback handlers.
parseStack - field in class de.zeigermann.xml.simpleImporter.SimpleImporter
parseUrlOrFile(String) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Tries to parse the file or URL named by parameter urlOrFileName.
path - field in class de.zeigermann.xml.simpleImporter.SimplePath
pathList - field in class de.zeigermann.xml.simpleImporter.SimplePath
prettyPrintMode - field in class de.zeigermann.xml.XMLWriter

R

Removes a callback handler if it is in the callback list.

S

setBuildComplexPath(boolean) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets if the simple path created will have complex additional info.
setFullDebugMode(boolean) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the full debug mode which enables us to get the parsed stream as string via the getParsedStreamForDebug() method even if an error occured.
setIncludeLeadingCDataIntoStartElementCallback(boolean) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the property described in getIncludeLeadingCDataIntoStartElementCallback().
setMakeCopy(boolean) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the property described in getMakeCopy().
setNlAfterEmptyTag(boolean) - method in class de.zeigermann.xml.XMLWriter
Sets if a newline is inserted after an empty start element by default.
setNlAfterEndTag(boolean) - method in class de.zeigermann.xml.XMLWriter
Sets if a newline is inserted after an end tag by default.
setNlAfterStartTag(boolean) - method in class de.zeigermann.xml.XMLWriter
Sets if a newline is inserted after a non empty start tag by default.
setPrettyPrintMode(boolean) - method in class de.zeigermann.xml.XMLWriter
Switches on/off pretty print mode.
setTabWidth(int) - method in class de.zeigermann.xml.XMLWriter
Sets the amount of spaces to increase indentation with element level.
setTrimContent(boolean) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets when all content shall be trimed.
setUseQName(boolean) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets if the path shall be assembled of the full qualified names.
setXMLDeclarationWritten(boolean) - method in class de.zeigermann.xml.XMLWriter
Manually sets or resets whether XML declaration has been written.
setZeroLengthIsNull(boolean) - method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the property described in getZeroLengthIsNull().
SimpleImporter - class de.zeigermann.xml.simpleImporter.SimpleImporter
Simple and fast importer for XML configuration or import files.
SimpleImporter() - constructor for class de.zeigermann.xml.simpleImporter.SimpleImporter
Creates a new SimpleImporter object having default property settings.
SimpleImporterException - class de.zeigermann.xml.simpleImporter.SimpleImporterException
Tells us that there is something wrong with SimpleImporter.
SimpleImporterException(String) - constructor for class de.zeigermann.xml.simpleImporter.SimpleImporterException
SimpleImportHandler - interface de.zeigermann.xml.simpleImporter.SimpleImportHandler
Callback interface for SimpleImporter.
SimplePath - class de.zeigermann.xml.simpleImporter.SimplePath
Rudimentary representation of a path to an XML element.
SimplePath(de.zeigermann.xml.simpleImporter.SimplePath) - constructor for class de.zeigermann.xml.simpleImporter.SimplePath
Copy ctor.
SimplePath(String) - constructor for class de.zeigermann.xml.simpleImporter.SimplePath
Creates a path object from a string describing it.
SimplePath(String,de.zeigermann.xml.simpleImporter.Item[]) - constructor for class de.zeigermann.xml.simpleImporter.SimplePath
Creates a path object from a string describing it.
startDocument() - method in class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
startDocument() - method in class de.zeigermann.xml.simpleImporter.SimpleImportHandler
Is called back when the parsed document begins.
Is called back when the parser has found the start of an element.
stripEndingSlash(String) - static method in class de.zeigermann.xml.simpleImporter.SimplePath
Strips off ending slash from a string if there is one.

T

tabWidth - field in class de.zeigermann.xml.XMLWriter
toString() - method in class de.zeigermann.xml.simpleImporter.Item
toString() - method in class de.zeigermann.xml.simpleImporter.SimplePath
toString() - method in class de.zeigermann.xml.XMLStringWriter
Gets the string representation of your written XML.

W

writeCData(String) - method in class de.zeigermann.xml.XMLStringWriter
Writes character data with encoding.
writeCData(String) - method in class de.zeigermann.xml.XMLWriter
Writes character data with encoding.
writeComment(String) - method in class de.zeigermann.xml.XMLStringWriter
Writes comment encoded as comment.
writeComment(String) - method in class de.zeigermann.xml.XMLWriter
Writes comment encoded as comment.
Writes a full element consisting of a start tag, character data and an end tag.
writeElementWithCData(String,String,String) - method in class de.zeigermann.xml.XMLWriter
Writes a full element consisting of a start tag, character data and an end tag.
Writes a full element consisting of a start tag, character data and an end tag.
writeElementWithPCData(String,String,String) - method in class de.zeigermann.xml.XMLWriter
Writes a full element consisting of a start tag, character data and an end tag.
writeEmptyElement(String) - method in class de.zeigermann.xml.XMLStringWriter
Writes an empty element.
writeEmptyElement(String) - method in class de.zeigermann.xml.XMLWriter
Writes an empty element.
writeEmptyElement(String,boolean) - method in class de.zeigermann.xml.XMLStringWriter
Writes an empty element.
writeEmptyElement(String,boolean) - method in class de.zeigermann.xml.XMLWriter
Writes an empty element.
writeEndTag(String) - method in class de.zeigermann.xml.XMLStringWriter
Writes an end tag.
writeEndTag(String) - method in class de.zeigermann.xml.XMLWriter
Writes an end tag.
writeEndTag(String,boolean) - method in class de.zeigermann.xml.XMLStringWriter
Writes an end tag.
writeEndTag(String,boolean) - method in class de.zeigermann.xml.XMLWriter
Writes an end tag.
writeNl() - method in class de.zeigermann.xml.XMLStringWriter
Writes a single newline.
writeNl() - method in class de.zeigermann.xml.XMLWriter
Writes a single newline.
writePCData(String) - method in class de.zeigermann.xml.XMLStringWriter
Writes character data without encoding.
writePCData(String) - method in class de.zeigermann.xml.XMLWriter
Writes character data without encoding.
writePI(String,String) - method in class de.zeigermann.xml.XMLStringWriter
Writes a processing instruction.
writePI(String,String) - method in class de.zeigermann.xml.XMLWriter
Writes a processing instruction.
writeProlog(String) - method in class de.zeigermann.xml.XMLStringWriter
Writes prolog data like doctype delcaration and DTD parts followed by a newline.
writeProlog(String) - method in class de.zeigermann.xml.XMLWriter
Writes prolog data like doctype delcaration and DTD parts followed by a newline.
writeStartTag(String) - method in class de.zeigermann.xml.XMLStringWriter
Writes a start tag.
writeStartTag(String) - method in class de.zeigermann.xml.XMLWriter
Writes a start tag.
writeStartTag(String,boolean) - method in class de.zeigermann.xml.XMLStringWriter
Writes a start tag.
writeStartTag(String,boolean) - method in class de.zeigermann.xml.XMLWriter
Writes a start tag.
writeXMLDeclaration() - method in class de.zeigermann.xml.XMLOutputStreamWriter
Writes XML delcaration using version 1.0 and encoding specified in constructor.
writeXMLDeclaration() - method in class de.zeigermann.xml.XMLStringWriter
Writes XML declaration.
writeXMLDeclaration() - method in class de.zeigermann.xml.XMLWriter
Writes XML declaration.

X

xmlDeclWritten - field in class de.zeigermann.xml.XMLWriter
Flag indicating if the XML declaration has already been writter.
xmlDecodeTextToCDATA(String) - static method in class de.zeigermann.xml.XMLEncode
Make CDATA out of possibly encoded PCDATA.
XMLEncode - class de.zeigermann.xml.XMLEncode
Collection of XML encoding/decoding helpers.
xmlEncodeText(String) - static method in class de.zeigermann.xml.XMLEncode
Encodes text as XML in the most suitable way, either CDATA block or PCDATA.
xmlEncodeTextAsCDATABlock(String) - static method in class de.zeigermann.xml.XMLEncode
Returns string as CDATA block if possible, otherwise null.
xmlEncodeTextAsPCDATA(String) - static method in class de.zeigermann.xml.XMLEncode
Encodes any text as PCDATA.
xmlEncodeTextAsPCDATA(String,boolean) - static method in class de.zeigermann.xml.XMLEncode
Encodes any text as PCDATA.
xmlEncodeTextAsPCDATA(String,boolean,char) - static method in class de.zeigermann.xml.XMLEncode
Encodes any text as PCDATA.
xmlEncodeTextForAttribute(String,char) - static method in class de.zeigermann.xml.XMLEncode
Makes any text fit into XML attributes.
Adds XML export functionality to the underlying output stream.
XMLOutputStreamWriter(OutputStream) - constructor for class de.zeigermann.xml.XMLOutputStreamWriter
Creates a new output stream writer for XML export.
XMLOutputStreamWriter(OutputStream,String) - constructor for class de.zeigermann.xml.XMLOutputStreamWriter
Creates a new output stream writer for XML export.
XMLStringWriter - class de.zeigermann.xml.XMLStringWriter
This is a convenience class for writing XML to a string.
XMLWriter - class de.zeigermann.xml.XMLWriter
FilterWriter adding formatted and encoded XML export functionality to the underlying writer.
XMLWriter(Writer) - constructor for class de.zeigermann.xml.XMLWriter
Creates a new filter writer for XML export.

Copyright B) 2002-2004 Oliver Zeigermann. All Rights Reserved.