- All Implemented Interfaces:
AutoCloseable,ContentHandler
-
Field Summary
Fields inherited from class org.xmlobjects.stream.XMLOutput
headerComment, indent, prefixMapping, schemaLocations, writeXMLDeclaration -
Constructor Summary
ConstructorsConstructorDescriptionSAXWriter(OutputStream outputStream) SAXWriter(OutputStream outputStream, String encoding) SAXWriter(StreamResult streamResult) SAXWriter(StreamResult streamResult, String encoding) -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidclose()voidendElement(String namespaceURI, String localName, String qName) escapeCharacters(boolean escapeCharacters) voidflush()voidignorableWhitespace(char[] ch, int start, int length) booleanvoidprocessingInstruction(String target, String data) protected SAXWriterself()voidvoidstartElement(String namespaceURI, String localName, String qName, Attributes atts) voidstartPrefixMapping(String prefix, String namespaceURI) Methods inherited from class org.xmlobjects.stream.XMLOutput
getHeaderComment, getIndent, getNamespaceURI, getPrefix, getSchemaLocation, isWriteXMLDeclaration, withDefaultNamespace, withHeaderComment, withIndent, withPrefix, withSchemaLocation, writeXMLDeclarationMethods inherited from class org.xmlobjects.util.xml.SAXFilter
endDocument, endPrefixMapping, getParent, setDocumentLocator, skippedEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
SAXWriter
- Throws:
IOException
-
SAXWriter
- Throws:
IOException
-
SAXWriter
- Throws:
IOException
-
SAXWriter
- Throws:
IOException
-
SAXWriter
-
-
Method Details
-
flush
- Specified by:
flushin classXMLOutput<SAXWriter>- Throws:
IOException
-
close
- Throws:
IOException
-
isEscapeCharacters
public boolean isEscapeCharacters() -
escapeCharacters
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classSAXFilter- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classSAXFilter- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespacein interfaceContentHandler- Overrides:
ignorableWhitespacein classSAXFilter- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstructionin interfaceContentHandler- Overrides:
processingInstructionin classSAXFilter- Throws:
SAXException
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classSAXFilter- Throws:
SAXException
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classSAXFilter- Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMappingin interfaceContentHandler- Overrides:
startPrefixMappingin classSAXFilter- Throws:
SAXException
-
self
-