| Modifier and Type | Field and Description |
|---|---|
| protected Dispatcher | |
| private String | |
| private String | |
| private String | |
| protected final Map | rule2exp
lazily constructed map from Rule object to ExternalElementExp. |
| private Set | unparsedEntities
Hides com. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | endChildIsland(String
namespace URI of the child island. childURI, ElementDecl[] set of elementDecls that were successfully assigned
to this child island.
when every elementDecl was failed, then an empty array is passed. ruleSet)Implements org. |
| public ElementDecl[] | endIsland()
Implements org. |
| public boolean | isUnparsedEntity(String entityName)
Overrides com. Implements org. |
| public void | setDispatcher(Dispatcher disp)
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 com. Implements org. |
| protected void | switchToAnyOtherElement(AnyOtherElementExp[] exps, String namespaceUri, String localName, String qName, Attributes atts)
switch to another IslandVerifier to validate anyOtherElement. |
| protected void | switchToChildIsland(ExternalElementExp[] exps, String namespaceUri, String localName, String qName, Attributes atts)
switch to another IslandVerifier. |
| dispatcher | back to summary |
|---|---|
| protected Dispatcher dispatcher | |
| lastLocalName | back to summary |
|---|---|
| private String lastLocalName | |
| lastNamaespaceUri | back to summary |
|---|---|
| private String lastNamaespaceUri | |
| lastQName | back to summary |
|---|---|
| private String lastQName | |
| rule2exp | back to summary |
|---|---|
| protected final Map<ElementDecl, Expression> rule2exp lazily constructed map from Rule object to ExternalElementExp.
Rule object | |
| unparsedEntities | back to summary |
|---|---|
| private Set<String> unparsedEntities Hides com. set of unparsed entity names. this set is created on demand. | |
| TREXIslandVerifier | back to summary |
|---|---|
| pack-priv TREXIslandVerifier(RulesAcceptor initialAcceptor) | |
| endChildIsland | back to summary |
|---|---|
| public void endChildIsland(String childURI, ElementDecl[] ruleSet) throws SAXException 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.
| |
| isUnparsedEntity | back to summary |
|---|---|
| public boolean isUnparsedEntity(String entityName) Overrides com. Implements org. Doc from org. Checks if an unparsed entity is declared with the specified name.
| |
| 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. | |
| startElement | back to summary |
|---|---|
| public void startElement(String namespaceUri, String localName, String qName, Attributes atts) throws SAXException Overrides com. 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
| |
| switchToAnyOtherElement | back to summary |
|---|---|
| protected void switchToAnyOtherElement(AnyOtherElementExp[] exps, String namespaceUri, String localName, String qName, Attributes atts) throws SAXException switch to another IslandVerifier to validate anyOtherElement. | |
| switchToChildIsland | back to summary |
|---|---|
| protected void switchToChildIsland(ExternalElementExp[] exps, String namespaceUri, String localName, String qName, Attributes atts) throws SAXException switch to another IslandVerifier. | |