Class AbstractContentWriter
java.lang.Object
org.x4o.sax3.io.AbstractContentWriterHandler
org.x4o.sax3.io.AbstractContentWriterLexical
org.x4o.sax3.io.AbstractContentWriter
- All Implemented Interfaces:
Closeable, AutoCloseable, ContentWriter, ContentHandler, LexicalHandler
- Direct Known Subclasses:
SAX3WriterXml
public abstract class AbstractContentWriter
extends AbstractContentWriterLexical
implements ContentWriter
ContentWriterXml writes SAX content handler events to XML.
- Version:
- 1.0 May 3, 2013
- Author:
- Willem Cazander
-
Field Summary
Fields inherited from class AbstractContentWriterLexical
printCDATAFields inherited from class AbstractContentWriterHandler
DEFAULT_PROPERTY_CONFIG, OUTPUT_CHAR_NEWLINE, OUTPUT_CHAR_NULL, OUTPUT_CHAR_TAB, OUTPUT_COMMENT_AUTO_SPACE, OUTPUT_COMMENT_ENABLE, OUTPUT_ENCODING, OUTPUT_LINE_BREAK_WIDTH, OUTPUT_LINE_PER_ATTRIBUTE, PROLOG_LICENCE_ENABLE, PROLOG_LICENCE_ENCODING, PROLOG_LICENCE_FILE, PROLOG_LICENCE_RESOURCE, PROLOG_USER_COMMENT, PROLOG_USER_COMMENT_ENABLE, ROOT_END_APPEND_NEWLINE, ROOT_START_NAMESPACE_ALL -
Constructor Summary
ConstructorsConstructorDescriptionCreates an Lecical content writer for XML. -
Method Summary
Modifier and TypeMethodDescriptionvoidstartElementEnd(String uri, String localName, String name, Attributes atts) Starts and end then element.Methods inherited from class AbstractContentWriterLexical
characters, characters, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntityMethods inherited from class AbstractContentWriterHandler
autoCloseStartElement, characters, charactersRaw, close, comment, comment, endDocument, endElement, endPrefixMapping, getPropertyConfig, ignorableWhitespace, ignorableWhitespace, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startElementNamespace, startElementNamespaceAll, startElementTag, startPrefixMapping, writeFlushMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
characters, declaration, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMappingMethods inherited from interface ContentWriter
characters, characters, comment, ignorableWhitespace, ignorableWhitespaceMethods inherited from interface LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
-
Constructor Details
-
AbstractContentWriter
Creates an Lecical content writer for XML.- Parameters:
out- The writer to write to.
-
-
Method Details
-
startElementEnd
public void startElementEnd(String uri, String localName, String name, Attributes atts) throws SAXException Starts and end then element.- Specified by:
startElementEndin interfaceContentWriter- Parameters:
uri- The uri of the element.localName- The localName of the element.name- The name of the element.atts- The attributes of the element.- Throws:
SAXException- When IOException is thrown.- See Also:
-