Class ElementState
- All Implemented Interfaces:
ExpressionOwner, NameClassOwner, ContentHandler
parses <element> pattern.
-
Field Summary
FieldsFields inherited from class NameClassAndExpressionState
nameClassFields inherited from class SequenceState
allowEmptySequenceFields inherited from class ExpressionWithChildState
exp -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ElementState
annealExpressionMethods inherited from class NameClassAndExpressionState
createChildState, getNamespace, onEndChildMethods inherited from class SequenceState
castExpression, initialExpressionMethods inherited from class ExpressionWithChildState
defaultExpression, makeExpression, onEndChildMethods inherited from class SimpleState
endDocument, endElement, isGrammarElement, startElementMethods inherited from class State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
Field Details
-
previousDirectReference
private boolean previousDirectReference
-
-
Constructor Details
-
ElementState
public ElementState()
-
-
Method Details
-
startSelf
protected void startSelf()Description copied from class:Stateperforms a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.- Overrides:
startSelfin classNameClassAndExpressionState
-
endSelf
protected void endSelf()Description copied from class:SimpleStatethis method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job- Overrides:
endSelfin classNameClassAndExpressionState
-