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 org.x4o.sax3.io.xdbx.AbstractXDBXWriterLexical
printCDATA
Fields inherited from class org.x4o.sax3.io.xdbx.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 TypeMethodDescriptionvoid
startElementEnd
(String uri, String localName, String name, Attributes atts) Starts and end then element.Methods inherited from class org.x4o.sax3.io.xdbx.AbstractXDBXWriterLexical
characters, characters, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
Methods inherited from class org.x4o.sax3.io.xdbx.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, xdbxStringStore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
characters, declaration, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
Methods inherited from interface org.x4o.sax3.io.ContentWriter
characters, characters, comment, ignorableWhitespace, ignorableWhitespace
Methods inherited from interface org.xml.sax.ext.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:
startElementEnd
in 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:
-