net.sf.saxon.option.jdom
public class JDOMWriter extends Builder
| Constructor Summary | |
|---|---|
| JDOMWriter()
Create a JDOMWriter using the default node factory | |
| Method Summary | |
|---|---|
| void | attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) |
| void | characters(CharSequence chars, int locationId, int properties)
Character data. |
| void | close()
End of the document. |
| void | comment(CharSequence chars, int locationId, int properties)
Handle a comment. |
| void | endDocument()
Notify the end of a document node |
| void | endElement()
End of an element. |
| NodeInfo | getCurrentRoot()
Get the current root node. |
| Document | getDocument()
Get the constructed document node |
| void | namespace(int namespaceCode, int properties) |
| void | open()
Start of the document. |
| void | processingInstruction(String target, CharSequence data, int locationId, int properties)
Handle a processing instruction. |
| void | setUnparsedEntity(String name, String systemID, String publicID)
Notify an unparsed entity URI.
|
| void | startContent() |
| void | startDocument(int properties)
Start of a document node. |
| void | startElement(int nameCode, int typeCode, int locationId, int properties)
Start of an element. |
| boolean | usesTypeAnnotations()
Ask whether this Receiver (or the downstream pipeline) makes any use of the type annotations
supplied on element and attribute events |
Returns: a Saxon wrapper around the constructed XOM document node
Returns: the document node of the constructed XOM tree
Parameters: name The name of the unparsed entity systemID The system identifier of the unparsed entity publicID The public identifier of the unparsed entity
Returns: true if the Receiver makes any use of this information. If false, the caller may supply untyped nodes instead of supplying the type annotation