| java.lang.Object org.jibx.runtime.impl.XMLWriterNamespaceBase org.jibx.extras.JDOMWriter
JDOMWriter | public class JDOMWriter extends XMLWriterNamespaceBase (Code) | | JDOM implementation of XML writer interface. The Document that is
created can be accessed by using getDocument() .
author: Andreas Brenk version: 1.0 |
Constructor Summary | |
public | JDOMWriter(String[] namespaces) Creates a new instance with the given namespace URIs. | public | JDOMWriter(String[] namespaces, Document document) Creates a new instance with the given Document as target for marshalling. | public | JDOMWriter(String[] namespaces, Element currentElement) Creates a new instance with the given Element as target for marshalling. |
Method Summary | |
public void | addAttribute(int index, String name, String value) | public void | close() Does nothing. | public void | closeEmptyTag() | public void | closeStartTag() | protected void | defineNamespace(int index, String prefix) Does nothing. | public void | endTag(int index, String name) | public void | flush() Does nothing. | public Document | getDocument() | public void | indent() Does nothing. | public void | reset() | public void | setIndentSpaces(int count, String newline, char indent) Does nothing. | public void | startTagClosed(int index, String name) | public void | startTagNamespaces(int index, String name, int[] nums, String[] prefs) | public void | startTagOpen(int index, String name) | protected void | undefineNamespace(int index) Does nothing. | public void | writeCData(String text) | public void | writeComment(String text) | public void | writeDocType(String name, String sys, String pub, String subset) | public void | writeEntityRef(String name) | public void | writePI(String target, String data) | public void | writeTextContent(String text) | public void | writeXMLDecl(String version, String encoding, String standalone) Does nothing. |
JDOMWriter | public JDOMWriter(String[] namespaces)(Code) | | Creates a new instance with the given namespace URIs.
|
JDOMWriter | public JDOMWriter(String[] namespaces, Document document)(Code) | | Creates a new instance with the given Document as target for marshalling.
Parameters: document - must not be null |
JDOMWriter | public JDOMWriter(String[] namespaces, Element currentElement)(Code) | | Creates a new instance with the given Element as target for marshalling.
Parameters: currentElement - must not be null |
getDocument | public Document getDocument()(Code) | | the JDOM Document this writer created. |
reset | public void reset()(Code) | | |
setIndentSpaces | public void setIndentSpaces(int count, String newline, char indent)(Code) | | Does nothing.
|
undefineNamespace | protected void undefineNamespace(int index)(Code) | | Does nothing.
|
|
|