public class XMLElementWriter extends SAXAbstractElementWriter
ISAXElementHandler for writing out an XML datastructure.
This is an internal class to XMLWriter| Constructor and Description |
|---|
XMLElementWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int len)
this message is sent when characters are available to the receiver
|
void |
endElement(String uri,
String localName,
String qName)
this message is sent when the receiver is about to end
|
int |
getIndent() |
boolean |
isFixTag() |
boolean |
isPrettyPrint() |
boolean |
isWriteAttributes() |
ISAXElementHandler |
startElement(String uri,
String localName,
String qName,
Attributes atts)
this message is sent - when the receiver is requested to create a child
element
|
getOutputendChildElement, endDocumentElement, getChars, getColumn, getContextHandler, getData, getEndColumn, getEndLine, getLine, getLocalName, getLocator, getNesting, getParameters, getParent, getPath, getResult, getURI, ignorableWhitespace, initialize, initializeDocumentElement, isCharacterDataAllowed, isDocumentHandler, isLeaf, isRootElementHandler, isWhitespaceAllowed, markEndLocation, markStartLocation, processAttribute, processAttributes, reset, setChars, setColumn, setContextHandler, setLine, setLocalName, setParent, setURI, startChildElement, startedpublic void characters(char[] ch,
int start,
int len)
throws SAXException
ISAXElementHandlercharacters in interface ISAXElementHandlercharacters in class SAXAbstractElementHandlerch - the array of charactersstart - start index of first char to readlen - number of chars to readSAXException - if errorpublic void endElement(String uri, String localName, String qName) throws SAXException
ISAXElementHandlerendElement in interface ISAXElementHandlerendElement in class SAXAbstractElementHandleruri - the SAX namspace urilocalName - the SAX local nameqName - the SAX qualified nameSAXException - if errororg.xml.saxpublic int getIndent()
public boolean isFixTag()
public boolean isPrettyPrint()
public boolean isWriteAttributes()
public ISAXElementHandler startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
ISAXElementHandlerstartElement in interface ISAXElementHandlerstartElement in class SAXAbstractElementHandlerSAXExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.