ContentHandler
NGNameState.AnyNameState
, NGNameState.NsNameState
public abstract class NGNameState extends NameClassWithChildState
Modifier and Type | Class | Description |
---|---|---|
static class |
NGNameState.AnyNameState |
Parsing state for <anyName>
|
static class |
NGNameState.NsNameState |
Parsing state for <nsName>
|
allowNullChild, nameClass
Modifier and Type | Method | 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.
|
endSelf, getPropagatedNamespace
makeNameClass, onEndChild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endDocument, endElement, isGrammarElement, startElement
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
protected State createChildState(StartTagInfo tag)
SimpleState
createChildState
in class NameClassWithChildState
protected NameClass castNameClass(NameClass halfCastedNameClass, NameClass newChildNameClass)
NameClassWithChildState
Say 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 NameClassWithChildState
protected NameClass annealNameClass(NameClass nameClass)
annealNameClass
in class NameClassWithChildState
protected abstract NameClass getMainNameClass()
Copyright © 2019 Oracle Corporation. All rights reserved.