public abstract class NGNameState extends NameClassWithChildState
| Modifier and Type | Class and Description |
|---|---|
static class |
NGNameState.AnyNameState
Parsing state for <anyName>
|
static class |
NGNameState.NsNameState
Parsing state for <nsName>
|
allowNullChild, nameClass| Modifier and Type | Method and Description |
|---|---|
protected NameClass |
annealNameClass(NameClass nameClass)
performs final wrap-up and returns a fully created NameClass object
that represents this element.
|
protected NameClass |
castNameClass(NameClass halfCastedNameClass,
NameClass newChildNameClass)
combines half-made name class and newly found child name class into the name class.
|
protected State |
createChildState(StartTagInfo tag)
creates appropriate child state object for this element
|
protected abstract NameClass |
getMainNameClass()
this method should return the name class that is used as the base.
|
makeNameClass, onEndChildendSelf, getPropagatedNamespaceendDocument, endElement, isGrammarElement, startElement_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelfprotected State createChildState(StartTagInfo tag)
SimpleStatecreateChildState in class NameClassWithChildStateprotected NameClass castNameClass(NameClass halfCastedNameClass, NameClass newChildNameClass)
NameClassWithChildStateSay this container has three child name class n1,n2, and n3. Then, the name class of this container will be made by the following method invocations.
annealNameClass( castNameClass( castNameClass( castNameClass(null,p1), p2), p3 ) )
castNameClass in class NameClassWithChildStateprotected NameClass annealNameClass(NameClass nameClass)
annealNameClass in class NameClassWithChildStateprotected abstract NameClass getMainNameClass()
Copyright © 2016 Oracle Corporation. All Rights Reserved.