|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A holder for a SAX ContentHandler and LexicalHandler that are
capable of loading an XmlObject instance. Once all the SAX events are pushed
to the handlers, call getObject() to get the loaded XmlObject.
XmlObject.Factory.newXmlSaxHandler(),
SchemaTypeLoader.newXmlSaxHandler(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)| Method Summary | |
void |
bookmarkLastAttr(QName attrName,
XmlCursor.XmlBookmark mark)
Insert a bookmark before the attr token associated with the last SAX element event. |
void |
bookmarkLastEvent(XmlCursor.XmlBookmark mark)
Insert a bookmark before the token associated with the last SAX event. |
ContentHandler |
getContentHandler()
The ContentHandler expecting SAX content events. |
LexicalHandler |
getLexicalHandler()
The LexicalHandler expecting SAX lexical events. |
XmlObject |
getObject()
Returns the loaded XmlObject after all the SAX events have been finished |
| Method Detail |
public ContentHandler getContentHandler()
ContentHandlerpublic LexicalHandler getLexicalHandler()
LexicalHandlerpublic void bookmarkLastEvent(XmlCursor.XmlBookmark mark)
public void bookmarkLastAttr(QName attrName,
XmlCursor.XmlBookmark mark)
public XmlObject getObject()
throws XmlException
XmlException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||