|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xpath.model.build.ModelBuilder
jd.xml.xpath.model.build.normal.NormalModelBuilder
A SAX ContentHandler to build a XPath tree from SAX parse events.
| Field Summary | |
static String |
MODEL_NAME
|
| Fields inherited from class jd.xml.xpath.model.build.ModelBuilder |
currentNsContext_, currentNsCount_, INITIAL_NSCOUNT |
| Constructor Summary | |
NormalModelBuilder()
|
|
| Method Summary | |
void |
addComment(String data)
Report an XML comment anywhere in the document. |
void |
addProcessingInstruction(String target,
String data)
Receive notification of a processing instruction. |
void |
addText(TextBuffer text)
|
void |
addUnparsedEntity(String name,
String systemId)
Receive notification of an unparsed entity declaration event. |
void |
cleanup()
|
XPathRootNode |
endBuild()
Receive notification of the end of a document. |
void |
endElement()
Receive notification of the end of an element. |
void |
startBuild(String baseUri,
NodeNamePool nodeNamePool,
int documentId,
ModelLocator locator,
boolean collectLineNumbers)
Receive notification of the beginning of a document. |
void |
startElement(ElementInfo info)
Receive notification of the beginning of an element. |
| Methods inherited from class jd.xml.xpath.model.build.ModelBuilder |
addNamespaceMapping, getNamespaceContext, setNamespaceContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String MODEL_NAME
| Constructor Detail |
public NormalModelBuilder()
| Method Detail |
public void startBuild(String baseUri,
NodeNamePool nodeNamePool,
int documentId,
ModelLocator locator,
boolean collectLineNumbers)
startBuild in class ModelBuilderpublic XPathRootNode endBuild()
endBuild in class ModelBuilderpublic void startElement(ElementInfo info)
startElement in class ModelBuilderpublic void endElement()
endElement in class ModelBuilder
public void addProcessingInstruction(String target,
String data)
addProcessingInstruction in class ModelBuilderpublic void addComment(String data)
addComment in class ModelBuilder
public void addUnparsedEntity(String name,
String systemId)
addUnparsedEntity in class ModelBuilderpublic void addText(TextBuffer text)
addText in class ModelBuilderpublic void cleanup()
cleanup in class ModelBuilder
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||