java.lang.Object
org.xmlobjects.util.xml.SAXFilter
org.xmlobjects.stream.XMLOutput<T>
- All Implemented Interfaces:
AutoCloseable,ContentHandler
- Direct Known Subclasses:
SAXOutputHandler,SAXWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]protected Stringprotected final NamespaceSupportprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidflush()String[]getNamespaceURI(String prefix) getSchemaLocation(String namespaceURI) booleanprotected abstract Tself()withDefaultNamespace(String namespaceURI) withHeaderComment(String... headerMessage) withIndent(String indent) withPrefix(String prefix, String namespaceURI) withSchemaLocation(String namespaceURI, String schemaLocation) writeXMLDeclaration(boolean writeXMLDeclaration) Methods inherited from class org.xmlobjects.util.xml.SAXFilter
characters, endDocument, endElement, endPrefixMapping, getParent, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
prefixMapping
-
schemaLocations
-
indent
-
writeXMLDeclaration
protected boolean writeXMLDeclaration -
headerComment
-
-
Constructor Details
-
XMLOutput
public XMLOutput() -
XMLOutput
-
-
Method Details
-
self
-
flush
- Throws:
Exception
-
getPrefix
-
withPrefix
-
getNamespaceURI
-
withDefaultNamespace
-
getSchemaLocation
-
withSchemaLocation
-
getIndent
-
withIndent
-
isWriteXMLDeclaration
public boolean isWriteXMLDeclaration() -
writeXMLDeclaration
-
getHeaderComment
-
withHeaderComment
-