|
Qizx/Open v0.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An abstract receiver of SAX-like events.
Used for event-style evaluation of XQuery expressions.
Method Summary | |
void |
atom(java.lang.String value)
Emits the text of an atom. |
void |
attribute(QName name,
java.lang.String value)
Must follow startElement and precede any child. |
void |
comment(java.lang.String value)
Emits a comment. |
void |
definePrefixHints(NSPrefixMapping prefixes)
Optional: define preferred prefix->NS mapping for serialization. |
void |
endDocument()
Ends a document. |
void |
endElement(QName name)
Ends an element. |
void |
namespace(java.lang.String prefix,
java.lang.String uri)
Must follow startElement and precede any child. |
void |
pi(java.lang.String target,
java.lang.String value)
Emits a processing-instruction. |
void |
reset()
Resets the state prior to use startDocument() or startElement(). |
java.lang.String |
resolvePrefix(java.lang.String prefix)
Resolves a prefix to an URI in the context of the current node. |
void |
startDocument()
Starts a document. |
void |
startElement(QName name)
Starts an element. |
void |
terminate()
Terminates a document or simple subtree. |
void |
text(java.lang.String value)
Emits a text chunk. |
void |
traverse(Node node,
boolean inScopeNS)
Traverses and generates a subtree into this receiver. |
Method Detail |
public void reset()
public void terminate() throws DataModelException
DataModelException
public void startDocument() throws DataModelException
It is not necessarily called, if only a fragment is generated.
DataModelException
public void endDocument() throws DataModelException
DataModelException
public void startElement(QName name) throws DataModelException
DataModelException
public void namespace(java.lang.String prefix, java.lang.String uri) throws DataModelException
DataModelException
public void attribute(QName name, java.lang.String value) throws DataModelException
DataModelException
public void endElement(QName name) throws DataModelException
DataModelException
public void text(java.lang.String value) throws DataModelException
DataModelException
public void atom(java.lang.String value) throws DataModelException
DataModelException
public void pi(java.lang.String target, java.lang.String value) throws DataModelException
DataModelException
public void comment(java.lang.String value) throws DataModelException
DataModelException
public void traverse(Node node, boolean inScopeNS) throws DataModelException
inScopeNS
- if true, copy all in-scope namespace nodes (not only those defined
in the node itself).
DataModelException
public java.lang.String resolvePrefix(java.lang.String prefix)
public void definePrefixHints(NSPrefixMapping prefixes)
|
Copyright Xavier FRANC 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |