|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.pf.pax.BaseXMLTagInterpreterController
org.pf.pax.XMLWriteController
public class XMLWriteController
This is the controller for wriring a DOM tree to an XML stream.
| Constructor Summary | |
|---|---|
XMLWriteController(org.xml.sax.XMLReader xmlReader,
java.io.Writer writer)
Initialize the new instance with the given XML reader and writer. |
|
| Method Summary | |
|---|---|
void |
endDocument()
Receive notification of the end of a document. |
int |
getIndentIncrement()
Returns the number of spaces that are additionally prepended per hierarchy level on each line. |
void |
setIndentIncrement(int increment)
Sets the number of spaces that are additionally prepended per hierarchy level on each line. |
void |
useDoubleQuotes()
Configures the writer to write double quotes ( " ) around attribute values. |
void |
useSingleQuotes()
Configures the writer to write single quotes ( ' ) around attribute values. |
| Methods inherited from class org.pf.pax.BaseXMLTagInterpreterController |
|---|
getXmlReader, returnControl, setXmlReader, startElement, startElement |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ContentHandler |
|---|
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
| Constructor Detail |
|---|
public XMLWriteController(org.xml.sax.XMLReader xmlReader,
java.io.Writer writer)
| Method Detail |
|---|
public void useSingleQuotes()
public void useDoubleQuotes()
public void endDocument()
endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerpublic int getIndentIncrement()
public void setIndentIncrement(int increment)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||