ContentHandler
AttPoolState
, ChildlessState
, DefineState
, DivInModuleState
, ElementRuleWithHedgeState
, ElementRuleWithTypeState
, ExpressionState
, GlobalDeclState
, GrammarState
, HedgeRuleBaseState
, IdentityConstraintState
, IncludeMergeState
, InlineTagState
, InterfaceState
, ListState
, NameClassState
, RestrictionState
, RootGrammarState
, RootIncludedPatternState
, RootIncludedSchemaState
, RootMergedGrammarState
, SimpleTypeState
, TagState
, UnionState
public abstract class SimpleState extends State
In this level of inheritance, contract is as follows.
Constructor | Description |
---|---|
SimpleState() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract State |
createChildState(StartTagInfo tag) |
creates appropriate child state object for this element
|
void |
endDocument() |
|
void |
endElement(String namespaceURI,
String localName,
String qName) |
|
protected void |
endSelf() |
this method is called in endElement method
when the state is about to be removed.
|
protected boolean |
isGrammarElement(StartTagInfo tag) |
checks if this element belongs to the grammar.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
protected boolean isGrammarElement(StartTagInfo tag)
public void startElement(String namespaceURI, String localName, String qName, Attributes atts)
protected abstract State createChildState(StartTagInfo tag)
public final void endDocument()
protected void endSelf()
Copyright © 2019 Oracle Corporation. All rights reserved.