Class AbstractXDBXWriter
java.lang.Object
org.x4o.sax3.io.xdbx.AbstractXDBXWriterHandler
org.x4o.sax3.io.xdbx.AbstractXDBXWriterLexical
org.x4o.sax3.io.xdbx.AbstractXDBXWriter
- All Implemented Interfaces:
Closeable, AutoCloseable, ContentWriter, ContentHandler, LexicalHandler
- Direct Known Subclasses:
XDBXWriterXml
Writes SAX events to binary XML.
- Version:
- 1.0 Dec 20, 2024
- Author:
- Willem Cazander
-
Field Summary
Fields inherited from class AbstractXDBXWriterLexical
printCDATAFields inherited from class AbstractXDBXWriterHandler
DEFAULT_PROPERTY_CONFIG, OUTPUT_CHAR_NULL, OUTPUT_COMMENT_AUTO_SPACE, OUTPUT_COMMENT_ENABLE, OUTPUT_DECLARATION, PROLOG_LICENCE_ENABLE, PROLOG_LICENCE_ENCODING, PROLOG_LICENCE_FILE, PROLOG_LICENCE_RESOURCE, PROLOG_USER_COMMENT, PROLOG_USER_COMMENT_ENABLE, ROOT_START_NAMESPACE_ALL -
Constructor Summary
ConstructorsConstructorDescriptionCreates writer which prints to the stream interface. -
Method Summary
Modifier and TypeMethodDescriptionvoidstartElementEnd(String uri, String localName, String name, Attributes atts) Starts and end then element.Methods inherited from class AbstractXDBXWriterLexical
characters, characters, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntityMethods inherited from class AbstractXDBXWriterHandler
characters, charactersRaw, close, comment, comment, endDocument, endElement, endPrefixMapping, getPropertyConfig, ignorableWhitespace, ignorableWhitespace, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startElementNamespace, startElementNamespaceAll, startElementTag, startPrefixMapping, writeFlush, writeHeaderFlags, writeLengthValue, writeLengthValue, writeTag, writeTagLengthValue, writeVariableInteger, xdbxStringId, xdbxStringStoreMethods 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
-
AbstractXDBXWriter
Creates writer which prints to the stream interface.- Parameters:
out- The stream to print the xml 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:
-