Package com.sun.msv.grammar.xmlschema
Class ElementDeclExp.XSElementExp
- java.lang.Object
-
- com.sun.msv.grammar.Expression
-
- com.sun.msv.grammar.ElementExp
-
- com.sun.msv.grammar.xmlschema.ElementDeclExp.XSElementExp
-
- All Implemented Interfaces:
NameClassAndExpression,java.io.Serializable
- Enclosing class:
- ElementDeclExp
public class ElementDeclExp.XSElementExp extends ElementExp
XML Schema version ofElementExp.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description SimpleNameClasselementNamejava.util.VectoridentityConstraintsidentity constraints associated to this declaration.ElementDeclExpparent-
Fields inherited from class com.sun.msv.grammar.ElementExp
contentModel, ignoreUndeclaredAttributes
-
Fields inherited from class com.sun.msv.grammar.Expression
anyString, epsilon, nullSet, verifierTag
-
-
Constructor Summary
Constructors Constructor Description XSElementExp(SimpleNameClass elementName, Expression contentModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NameClassgetNameClass()obtains a constraint over tag name.-
Methods inherited from class com.sun.msv.grammar.ElementExp
calcEpsilonReducibility, calcHashCode, equals, getContentModel, visit, visit, visit, visit
-
Methods inherited from class com.sun.msv.grammar.Expression
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit
-
-
-
-
Field Detail
-
elementName
public final SimpleNameClass elementName
-
identityConstraints
public final java.util.Vector identityConstraints
identity constraints associated to this declaration. When no constraint exists, this field may be null (or empty vector). Items are of derived types ofIdentityConstraintclass.These identity constraints are not enforced by the default Verifier implementation.
-
parent
public final ElementDeclExp parent
-
-
Constructor Detail
-
XSElementExp
public XSElementExp(SimpleNameClass elementName, Expression contentModel)
-
-
Method Detail
-
getNameClass
public final NameClass getNameClass()
Description copied from class:ElementExpobtains a constraint over tag name. ElementExp is cannot be shared because NameClass has to be mutable to absorb the difference of RELAX and TREX. In case of TREX, name class will be determined when parsing ElementExp itself. Thus effectively it's immutable. In case of RELAX, name class will be determined when its corresponding Clause object is parsed.- Specified by:
getNameClassin interfaceNameClassAndExpression- Specified by:
getNameClassin classElementExp
-
-