|
Qizx/Open v0.4p2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.xfra.qizxopen.dm.XMLEventReceiverBase
An abstract receiver of SAX-like events.
Manages namespaces. Used as a base for serialization and SAX output.
| Constructor Summary | |
XMLEventReceiverBase()
|
|
| Method Summary | |
void |
attribute(QName name,
java.lang.String value)
Adds an attribute on the current element. |
void |
definePrefixHints(NSPrefixMapping prefixes)
Optional: defines a preferred prefix/namespace mapping for serialization. |
void |
endDocument()
Ends a document. |
void |
endElement(QName name)
Ends an element. |
boolean |
maxVolumeReached()
|
void |
namespace(java.lang.String prefix,
java.lang.String uri)
Adds a namespace node on the current element. |
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 |
setMaxVolume(int volume)
|
void |
setTrace(boolean value)
|
void |
startDocument()
Starts a document. |
void |
startElement(QName name)
Starts an element. |
void |
terminate()
Terminates a document or simple subtree. |
void |
traverse(Node node,
boolean inScopeNS)
Traverse and generate a subtree. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.xfra.qizxopen.dm.XMLEventReceiver |
atom, comment, pi, text |
| Constructor Detail |
public XMLEventReceiverBase()
| Method Detail |
public void definePrefixHints(NSPrefixMapping prefixes)
XMLEventReceiver
definePrefixHints in interface XMLEventReceiverpublic void setTrace(boolean value)
public void setMaxVolume(int volume)
public boolean maxVolumeReached()
public void reset()
XMLEventReceiver
reset in interface XMLEventReceiver
public void terminate()
throws DataModelException
XMLEventReceiver
terminate in interface XMLEventReceiverDataModelException
public void startDocument()
throws DataModelException
XMLEventReceiverIt is not called in the case only a fragment is generated.
startDocument in interface XMLEventReceiverDataModelException
public void endDocument()
throws DataModelException
XMLEventReceiver
endDocument in interface XMLEventReceiverDataModelException
public void startElement(QName name)
throws DataModelException
XMLEventReceiver
startElement in interface XMLEventReceiverDataModelException
public void namespace(java.lang.String prefix,
java.lang.String uri)
throws DataModelException
XMLEventReceiver
namespace in interface XMLEventReceiverDataModelException
public void attribute(QName name,
java.lang.String value)
throws DataModelException
XMLEventReceiver
attribute in interface XMLEventReceiverDataModelException
public void endElement(QName name)
throws DataModelException
XMLEventReceiver
endElement in interface XMLEventReceiverDataModelExceptionpublic java.lang.String resolvePrefix(java.lang.String prefix)
XMLEventReceiver
resolvePrefix in interface XMLEventReceiver
public void traverse(Node node,
boolean inScopeNS)
throws DataModelException
traverse in interface XMLEventReceiverinScopeNS - if true, copy all in-scope namespace nodes (not only those
defined in the node itself).
DataModelException
|
Copyright Xavier FRANC 2003-2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||