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, Serializable
- Enclosing class:
- ElementDeclExp
- public class ElementDeclExp.XSElementExp
- extends ElementExp
XML Schema version of ElementExp
.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
elementName
public final SimpleNameClass elementName
identityConstraints
public final 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 of
IdentityConstraint
class.
These identity constraints are not enforced by the default Verifier
implementation.
parent
public final ElementDeclExp parent
ElementDeclExp.XSElementExp
public ElementDeclExp.XSElementExp(SimpleNameClass elementName,
Expression contentModel)
getNameClass
public final NameClass getNameClass()
- Description copied from class:
ElementExp
- obtains 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.
- Overrides:
getNameClass
in class ElementExp