Package com.sun.msv.reader.xmlschema
Class SimpleContentExtensionState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.ExpressionState
-
- com.sun.msv.reader.ExpressionWithChildState
-
- com.sun.msv.reader.SequenceState
-
- com.sun.msv.reader.xmlschema.SimpleContentExtensionState
-
- All Implemented Interfaces:
ExpressionOwner
,AnyAttributeOwner
,ContentHandler
public class SimpleContentExtensionState extends SequenceState implements AnyAttributeOwner
used to parse extension element as a child of <simpleContent> element.- Author:
- Kohsuke KAWAGUCHI
-
-
Field Summary
Fields Modifier and Type Field Description protected ComplexTypeExp
parentDecl
ComplexType object that we are now constructing.-
Fields inherited from class com.sun.msv.reader.SequenceState
allowEmptySequence
-
Fields inherited from class com.sun.msv.reader.ExpressionWithChildState
exp
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleContentExtensionState(ComplexTypeExp parentDecl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Expression
annealExpression(Expression exp)
performs final wrap-up and returns a fully created Expression object that represents this element.protected State
createChildState(StartTagInfo tag)
creates appropriate child state object for this elementprotected Expression
initialExpression()
sets initial patternvoid
setAttributeWildcard(AttributeWildcard local)
Sets the attribtue wildcard.-
Methods inherited from class com.sun.msv.reader.SequenceState
castExpression
-
Methods inherited from class com.sun.msv.reader.ExpressionWithChildState
defaultExpression, makeExpression, onEndChild, startSelf
-
Methods inherited from class com.sun.msv.reader.ExpressionState
endSelf
-
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, startElement
-
Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
-
-
-
Field Detail
-
parentDecl
protected ComplexTypeExp parentDecl
ComplexType object that we are now constructing.
-
-
Constructor Detail
-
SimpleContentExtensionState
protected SimpleContentExtensionState(ComplexTypeExp parentDecl)
-
-
Method Detail
-
setAttributeWildcard
public void setAttributeWildcard(AttributeWildcard local)
Description copied from interface:AnyAttributeOwner
Sets the attribtue wildcard.- Specified by:
setAttributeWildcard
in interfaceAnyAttributeOwner
-
createChildState
protected State createChildState(StartTagInfo tag)
Description copied from class:SimpleState
creates appropriate child state object for this element- Overrides:
createChildState
in classExpressionWithChildState
-
initialExpression
protected Expression initialExpression()
Description copied from class:ExpressionWithChildState
sets initial pattern- Overrides:
initialExpression
in classSequenceState
-
annealExpression
protected Expression annealExpression(Expression exp)
Description copied from class:ExpressionWithChildState
performs final wrap-up and returns a fully created Expression object that represents this element.- Overrides:
annealExpression
in classExpressionWithChildState
-
-