A B C D E G I L M N O P R S T U W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AFTER_ROOT_ELEMENT - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
State after the root element.
- attribute(Writer, String, String, char, boolean) - Method in class org.znerd.xmlenc.XMLEncoder
-
Writes an attribute assignment.
- attribute(String, String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Adds an attribute to the current element.
- attribute(String, String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Adds an attribute to the current element.
B
- BEFORE_DTD_DECLARATION - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
State after XML declaration but before the DTD declaration, if any.
- BEFORE_ROOT_ELEMENT - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
State after DTD declaration but before the root element.
- BEFORE_XML_DECLARATION - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
The initial initialized state.
C
- cdata(String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of a CDATA section.
- cdata(String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes a CDATA section.
- characters(char[], int, int) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- checkName(char[], int, int) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified part of a character array matches the Name production.
- checkName(String) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified string matches the Name production.
- checkPubidLiteral(char[], int, int) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified part of a character array matches the PubidLiteral production.
- checkPubidLiteral(String) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified string matches the PubidLiteral production.
- checkS(char[], int, int) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified part of a character array matches the S (white space) production.
- checkS(String) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified string matches the S (white space) production.
- checkSystemLiteral(char[], int, int) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified part of a character array matches the SystemLiteral production.
- checkSystemLiteral(String) - Static method in class org.znerd.xmlenc.XMLChecker
-
Checks if the specified string matches the SystemLiteral production.
- close() - Method in class org.znerd.xmlenc.XMLOutputter
-
Closes all open elements.
- comment(String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of a comment.
- comment(String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes the specified comment.
D
- declaration() - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of an XML declaration.
- declaration() - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes the XML declaration.
- declaration(Writer) - Method in class org.znerd.xmlenc.XMLEncoder
-
Writes an XML declaration.
- DEFAULT_INDENTATION - Static variable in class org.znerd.xmlenc.XMLOutputter
-
Default indentation.
- DOCUMENT_ENDED - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
State entered when the document is ended.
- DOS - Static variable in class org.znerd.xmlenc.LineBreak
-
DOS and Windows line break.
- dtd(String, String, String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of a document type declaration.
- dtd(String, String, String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes a document type declaration.
E
- endDocument() - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- endDocument() - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of the end of the document.
- endDocument() - Method in class org.znerd.xmlenc.XMLOutputter
-
Ends the XML output.
- endElement(String, String, String) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- endPrefixMapping(String) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- endTag() - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of an element end tag.
- endTag() - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes an element end tag.
- ERROR_STATE - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
State reached when there was an error while writing output.
G
- getElementStack() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns a copy of the element stack.
- getElementStackCapacity() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns the current capacity for the stack of open elements.
- getElementStackSize() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns the current depth of open elements.
- getEncoder(String) - Static method in class org.znerd.xmlenc.XMLEncoder
-
Retrieves an
XMLEncoderfor the specified encoding. - getEncoding() - Method in class org.znerd.xmlenc.XMLEncoder
-
Returns the encoding.
- getEncoding() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns the encoding of this outputter.
- getIndentation() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns the string currently used for indentation.
- getLineBreak() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns the currently used line break.
- getQuotationMark() - Method in class org.znerd.xmlenc.XMLOutputter
-
Gets the quotation mark character.
- getState() - Method in interface org.znerd.xmlenc.StatefulXMLEventListener
-
Returns the current state of this outputter.
- getState() - Method in interface org.znerd.xmlenc.XMLEventListener
-
Returns the current state of this outputter.
- getState() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns the current state of this outputter.
- getVersion() - Static method in class org.znerd.xmlenc.Library
-
Returns the version of the xmlenc library.
- getWriter() - Method in class org.znerd.xmlenc.XMLOutputter
-
Returns the output stream this outputter uses.
I
- ignorableWhitespace(char[], int, int) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- InvalidXMLException - Exception in org.znerd.xmlenc
-
Exception thrown when invalid XML is detected.
- InvalidXMLException(String) - Constructor for exception org.znerd.xmlenc.InvalidXMLException
-
Constructs a new
InvalidXMLExceptionwith the specified detail message. - isEscaping() - Method in class org.znerd.xmlenc.XMLOutputter
-
Checks if escaping is currently enabled.
- isName(String) - Static method in class org.znerd.xmlenc.XMLChecker
-
Determines if the specified string matches the Name production.
- isPubidLiteral(String) - Static method in class org.znerd.xmlenc.XMLChecker
-
Determines if the specified string matches the PubidLiteral production.
- isSystemLiteral(String) - Static method in class org.znerd.xmlenc.XMLChecker
-
Determines if the specified string matches the SystemLiteral production.
L
- Library - Class in org.znerd.xmlenc
-
Class that represents this xmlenc library.
- LineBreak - Class in org.znerd.xmlenc
-
Enumeration type for line breaks.
M
N
O
- org.znerd.xmlenc - package org.znerd.xmlenc
-
Xmlenc, the fast XML output library.
- org.znerd.xmlenc.sax - package org.znerd.xmlenc.sax
-
SAX compatibility layer for Xmlenc.
P
- pcdata(char[], int, int) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of a PCDATA section (as a
chararray). - pcdata(char[], int, int) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes the specified character array as PCDATA.
- pcdata(String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of a PCDATA section (as a
String). - pcdata(String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes the specified
Stringas PCDATA. - pi(String, String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of a processing instruction.
- pi(String, String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes a processing instruction.
- processingInstruction(String, String) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
R
- reset() - Method in interface org.znerd.xmlenc.XMLEventListener
-
Resets this XML event listener.
- reset() - Method in class org.znerd.xmlenc.XMLOutputter
-
Resets this
XMLOutputter. - reset(Writer, String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Resets this
XMLOutputterand configures it for the specified output stream and encoding. - reset(Writer, XMLEncoder) - Method in class org.znerd.xmlenc.XMLOutputter
-
Resets this
XMLOutputterand configures it for the specified output stream and encoder.
S
- SAXEventReceiver - Class in org.znerd.xmlenc.sax
-
SAX handler that receives SAX events and transforms them to xmlenc events.
- SAXEventReceiver(XMLEventListener) - Constructor for class org.znerd.xmlenc.sax.SAXEventReceiver
-
Constructs a new
SAXEventReceiverthat sends events to the specifiedXMLEventListener. - setDocumentLocator(Locator) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- setElementStackCapacity(int) - Method in class org.znerd.xmlenc.XMLOutputter
-
Sets the capacity for the stack of open elements.
- setEscaping(boolean) - Method in class org.znerd.xmlenc.XMLOutputter
-
Sets if ampersands should be escaped.
- setIndentation(String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Sets the string to be used for indentation.
- setLineBreak(LineBreak) - Method in class org.znerd.xmlenc.XMLOutputter
-
Sets the type of line break to use.
- setQuotationMark(char) - Method in class org.znerd.xmlenc.XMLOutputter
-
Sets the quotation mark character to use.
- setState(XMLEventListenerState, String[]) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Sets the state of this XML event listener.
- setState(XMLEventListenerState, String[]) - Method in class org.znerd.xmlenc.XMLOutputter
-
Sets the state of this outputter.
- skippedEntity(String) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- START_TAG_OPEN - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
State in which a start tag is still open.
- startDocument() - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- startElement(String, String, String, Attributes) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- startPrefixMapping(String, String) - Method in class org.znerd.xmlenc.sax.SAXEventReceiver
- startTag(String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of an element start tag.
- startTag(String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes an element start tag.
- StatefulXMLEventListener - Interface in org.znerd.xmlenc
-
Stateful
XMLEventListener.
T
- text(Writer, char) - Method in class org.znerd.xmlenc.XMLEncoder
-
Deprecated.Deprecated since xmlenc 0.51. Use the text method
XMLEncoder.text(Writer, char, boolean)instead. - text(Writer, char[], int, int, boolean) - Method in class org.znerd.xmlenc.XMLEncoder
-
Writes text from the specified character array.
- text(Writer, char, boolean) - Method in class org.znerd.xmlenc.XMLEncoder
-
Writes the specified character.
- text(Writer, String, boolean) - Method in class org.znerd.xmlenc.XMLEncoder
-
Writes the specified text.
- toString() - Method in class org.znerd.xmlenc.LineBreak
- toString() - Method in class org.znerd.xmlenc.XMLEventListenerState
U
- UNINITIALIZED - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
Uninitialized state.
- UNIX - Static variable in class org.znerd.xmlenc.LineBreak
-
Unix and MacOS/X line break.
W
- whitespace(char[], int, int) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of ignorable whitespace (as a
String). - whitespace(char[], int, int) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes text from the specified character array as ignorable whitespace.
- whitespace(Writer, char[], int, int) - Method in class org.znerd.xmlenc.XMLEncoder
-
Writes whitespace from the specified character array.
- whitespace(Writer, String) - Method in class org.znerd.xmlenc.XMLEncoder
-
Writes the specified whitespace string.
- whitespace(String) - Method in interface org.znerd.xmlenc.XMLEventListener
-
Notification of ignorable whitespace (as a
String). - whitespace(String) - Method in class org.znerd.xmlenc.XMLOutputter
-
Writes the specified ignorable whitespace.
- WITHIN_ELEMENT - Static variable in interface org.znerd.xmlenc.XMLEventListenerStates
-
State within an element, start tag is closed.
X
- XMLChecker - Class in org.znerd.xmlenc
-
Utility class that provides XML checking functionality.
- XMLEncoder - Class in org.znerd.xmlenc
-
Encodes character streams for an XML document.
- XMLEncoder(String) - Constructor for class org.znerd.xmlenc.XMLEncoder
-
Deprecated.Deprecated since xmlenc 0.47. Use the factory method
XMLEncoder.getEncoder(String)instead. - XMLEventListener - Interface in org.znerd.xmlenc
-
Interface for XML event listeners.
- XMLEventListenerState - Class in org.znerd.xmlenc
-
State for an XML event listener.
- XMLEventListenerStates - Interface in org.znerd.xmlenc
-
All
XMLEventListenerStates. - XMLOutputter - Class in org.znerd.xmlenc
-
Stream-based XML outputter.
- XMLOutputter() - Constructor for class org.znerd.xmlenc.XMLOutputter
-
Constructs a new
XMLOutputter. - XMLOutputter(Writer, String) - Constructor for class org.znerd.xmlenc.XMLOutputter
-
Constructs a new
XMLOutputterfor the specifiedWriterand encoding. - XMLOutputter(Writer, XMLEncoder) - Constructor for class org.znerd.xmlenc.XMLOutputter
-
Constructs a new
XMLOutputterfor the specifiedWriterandencoder.
All Classes All Packages