|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.common.xml.NodeletParser
The NodeletParser is a callback based parser similar to SAX. The big difference is that rather than having a single callback for all nodes, the NodeletParser has a number of callbacks mapped to various nodes. The callback is called a Nodelet and it is registered with the NodeletParser against a specific XPath.
Constructor Summary | |
NodeletParser()
|
Method Summary | |
void |
addNodelet(java.lang.String xpath,
Nodelet nodelet)
Registers a nodelet for the specified XPath. |
void |
parse(org.w3c.dom.Node node)
Begins parsing from the provided Node. |
void |
parse(java.io.Reader reader)
Begins parsing from the provided Reader. |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
|
void |
setValidation(boolean validation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeletParser()
Method Detail |
public void addNodelet(java.lang.String xpath, Nodelet nodelet)
public void parse(java.io.Reader reader) throws NodeletException
NodeletException
public void parse(org.w3c.dom.Node node)
public void setValidation(boolean validation)
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |