| Modifier and Type | Field and Description |
|---|---|
| protected Dispatcher | |
| public static final String | |
| private final AnyOtherElementExp[] | exps
this Verifier validates these expressions. |
| protected Locator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | endChildIsland(String
namespace URI of the child island. namespaceURI, ElementDecl[] set of elementDecls that were successfully assigned
to this child island.
when every elementDecl was failed, then an empty array is passed. rules)Implements org. |
| public ElementDecl[] | endIsland()
Implements org. |
| public void | setDispatcher(Dispatcher disp)
Implements org. |
| public void | setDocumentLocator(Locator
an object that can return the location of
any SAX document event loc)Overrides org. Implements org. |
| public void | startElement(String
the Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed namespaceURI, String the local name (without prefix), or the
empty string if Namespace processing is not being
performed localName, String the qualified name (with prefix), or the
empty string if qualified names are not available qName, Attributes the attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object. The value of this object after
startElement returns is undefined atts)Overrides org. Implements org. |
| dispatcher | back to summary |
|---|---|
| protected Dispatcher dispatcher | |
| ERR_UNEXPECTED_NAMESPACE | back to summary |
|---|---|
| public static final String ERR_UNEXPECTED_NAMESPACE | |
| exps | back to summary |
|---|---|
| private final AnyOtherElementExp[] exps this Verifier validates these expressions. during validation, failed expression is removed. | |
| locator | back to summary |
|---|---|
| protected Locator locator | |
| AnyOtherElementVerifier | back to summary |
|---|---|
| public AnyOtherElementVerifier(AnyOtherElementExp[] exps) | |
| endChildIsland | back to summary |
|---|---|
| public void endChildIsland(String namespaceURI, ElementDecl[] rules) Implements org. Doc from org. this method is called after verification of the child island is completed, instead of endElement method.
| |
| endIsland | back to summary |
|---|---|
| public ElementDecl[] endIsland() Implements org. Doc from org. substitute for endDocument event. This method is called after endElement method is called for the top element in the island. endDocument method is never called for IslandVerifier.
| |
| setDispatcher | back to summary |
|---|---|
| public void setDispatcher(Dispatcher disp) Implements org. Doc from org. Dispatcher passes itself to IslandVerifier by calling this method from Dispatcher.switchVerifier method. | |
| setDocumentLocator | back to summary |
|---|---|
| public void setDocumentLocator(Locator loc) Overrides org. Implements org. Doc from org. Receive an object for locating the origin of SAX document events. SAX parsers are strongly encouraged (though not absolutely required) to supply a locator: if it does so, it must supply the locator to the application by invoking this method before invoking any of the other methods in the ContentHandler interface. The locator allows the application to determine the end position of any document-related event, even if the parser is not reporting an error. Typically, the application will use this information for reporting its own errors (such as character content that does not match an application's business rules). The information returned by the locator is probably not sufficient for use with a search engine. Note that the locator will return correct information only
during the invocation SAX event callbacks after
| |
| startElement | back to summary |
|---|---|
| public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the beginning of an element. The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
This event allows up to three name components for each element:
Any or all of these may be provided, depending on the values of the http://xml.org/sax/features/namespaces and the http://xml.org/sax/features/namespace-prefixes properties:
Note that the attribute list provided will contain only
attributes with explicit values (specified or defaulted):
#IMPLIED attributes will be omitted. The attribute list
will contain attributes used for Namespace declarations
(xmlns* attributes) only if the
Like
| |