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

A

addSimpleImportHandler(SimpleImportHandler) - Method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Adds a new callback handler if it is not in the callback list, yet.

C

callbackHandlerList - Variable in class de.zeigermann.xml.simpleImporter.SimpleImporter
 
cData(SimplePath, String) - Method in interface de.zeigermann.xml.simpleImporter.SimpleImportHandler
Is called back when the parser has found character data.
cData(SimplePath, String) - Method in class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
 
ConversionHelpers - class de.zeigermann.xml.simpleImporter.ConversionHelpers.
Collection of some simple conversion and fallback methods for convenience.
ConversionHelpers() - Constructor for class de.zeigermann.xml.simpleImporter.ConversionHelpers
 
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[][]) - 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.
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[][]) - 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.
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[], 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.
currentElement - Variable in class de.zeigermann.xml.simpleImporter.SimpleImporter
 
currentMixedPCData - Variable in class de.zeigermann.xml.simpleImporter.SimpleImporter
 

D

de.zeigermann.xml - package de.zeigermann.xml
XML utility and helper classes
de.zeigermann.xml.simpleImporter - package de.zeigermann.xml.simpleImporter
SimpleImporter Simple and fast importer for XML configuration or import files.
debugBuffer - Variable in class de.zeigermann.xml.simpleImporter.SimpleImporter
 
DefaultSimpleImportHandler - class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler.
Empty implementation for callback interface SimpleImportHandler for SimpleImporter.
DefaultSimpleImportHandler() - Constructor for class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
 
depth - Variable in class de.zeigermann.xml.XMLWriter
Current depth of the tree.

E

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

F

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

G

generateAndWriteElementWithCData(XMLWriter, String, String[][], String) - Static method in class de.zeigermann.xml.XMLWriter
Convenience method for creating and writing a whole element.
generateAndWriteElementWithCData(XMLWriter, String, String[], String[], String) - Static method in class de.zeigermann.xml.XMLWriter
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.
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 SimpleImporter.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.
getNlAfterEmptyTag() - Method in class de.zeigermann.xml.XMLWriter
Gets property described in XMLWriter.setNlAfterEmptyTag(boolean).
getNlAfterEndTag() - Method in class de.zeigermann.xml.XMLWriter
Gets property described in XMLWriter.setNlAfterEndTag(boolean).
getNlAfterStartTag() - Method in class de.zeigermann.xml.XMLWriter
Gets property described in XMLWriter.setNlAfterStartTag(boolean).
getParsedStreamForDebug() - Method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Gets the whole stream parsed in the SimpleImporter.parse(org.xml.sax.InputSource) method.
getPrettyPrintMode() - Method in class de.zeigermann.xml.XMLWriter
Gets property described in XMLWriter.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 XMLWriter.setTabWidth(int).
getTrimContent() - Method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the property described in SimpleImporter.setTrimContent(boolean).
getZeroLengthIsNull() - Method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Gets property: When findind zero length content should it be treated as null data?

I

indent - Variable 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 - Variable 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.

M

matches(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.
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 variable in class de.zeigermann.xml.XMLWriter
 
nlAfterEmptyTag - Variable in class de.zeigermann.xml.XMLWriter
 
nlAfterEndTag - Variable in class de.zeigermann.xml.XMLWriter
 
nlAfterStartTag - Variable in class de.zeigermann.xml.XMLWriter
 
NO_NEWLINE - Static variable in class de.zeigermann.xml.XMLWriter
 

O

os - Variable 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 - Variable 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 - Variable in class de.zeigermann.xml.simpleImporter.SimplePath
 
prettyPrintMode - Variable in class de.zeigermann.xml.XMLWriter
 

R

removeSimpleImportHandler(SimpleImportHandler) - Method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Removes a callback handler if it is in the callback list.

S

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 SimpleImporter.getParsedStreamForDebug() method even if an error occured.
setIncludeLeadingCDataIntoStartElementCallback(boolean) - Method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the property described in SimpleImporter.getIncludeLeadingCDataIntoStartElementCallback().
setMakeCopy(boolean) - Method in class de.zeigermann.xml.simpleImporter.SimpleImporter
Sets the property described in SimpleImporter.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.
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 SimpleImporter.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 - exception 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(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.
startDocument() - Method in interface de.zeigermann.xml.simpleImporter.SimpleImportHandler
Is called back when the parsed document begins.
startDocument() - Method in class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
 
startElement(SimplePath, String, AttributesImpl, String) - Method in interface de.zeigermann.xml.simpleImporter.SimpleImportHandler
Is called back when the parser has found the start of an element.
startElement(SimplePath, String, AttributesImpl, String) - Method in class de.zeigermann.xml.simpleImporter.DefaultSimpleImportHandler
 
stripEndingSlash(String) - Static method in class de.zeigermann.xml.simpleImporter.SimplePath
Strips off ending slash from a string if there is one.

T

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

W

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

X

xmlDeclWritten - Variable 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.
XMLEncode() - Constructor for class de.zeigermann.xml.XMLEncode
 
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.
XMLOutputStreamWriter - class de.zeigermann.xml.XMLOutputStreamWriter.
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.

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

Copyright 2002-2003 Oliver Zeigermann. All Rights Reserved.