|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmElement<A,S>
The SmElement
interface models an element declaration, which could be global within the schema or
local to some other element.
An element declaration is an association between a name and a type.
Method Summary | |
---|---|
java.util.Set<SmDerivationMethod> |
getDisallowedSubtitutions()
{disallowed substitutions} property. |
java.lang.Iterable<SmIdentityConstraint<A,S>> |
getIdentityConstraints()
Returns the {identity-constraints definitions} for this element. |
SmScope |
getScope()
The {scope} property. |
SmElement<A,S> |
getSubstitutionGroup()
The element declaration resolved to by the actual value of the substitutionGroup [attribute], if present, otherwise null . |
java.util.Set<SmDerivationMethod> |
getSubstitutionGroupExclusions()
Returns the set of derivation methods that are final. |
java.lang.Iterable<SmElement<A,S>> |
getSubstitutionGroupMembers()
Returns the elements that are members of the group with this element as the head. |
SmType<A,S> |
getType()
The {type definition} property. |
boolean |
hasIdentityConstraints()
Determines (quickly) whether this element has {identity-constraints definitions}. |
boolean |
hasSubstitutionGroup()
Determines whether this element declaration is affiliated with a substitution group. |
boolean |
hasSubstitutionGroupMembers()
Determines if the substitution group, with this element as the head, has members. |
boolean |
isAbstract()
Returns the {abstract} property for this element. |
Methods inherited from interface org.gxml.xs.SmElementNodeType |
---|
isNillable |
Methods inherited from interface org.gxml.xs.SmComponent |
---|
getLocalName, getName, getTargetNamespace, isAnonymous |
Methods inherited from interface org.gxml.xs.SmHasValueConstraint |
---|
getValueConstraint |
Methods inherited from interface org.gxml.xs.SmNodeType |
---|
getNodeKind |
Methods inherited from interface org.gxml.xs.SmPrimeType |
---|
choice, getKind, isChoice, isNative, isNone, subtype, zeroOrOne |
Methods inherited from interface org.gxml.xs.SmSequenceType |
---|
accept, atomSet, parentAxis, prime, quantifier |
Method Detail |
---|
java.util.Set<SmDerivationMethod> getDisallowedSubtitutions()
java.lang.Iterable<SmIdentityConstraint<A,S>> getIdentityConstraints()
SmScope getScope()
getScope
in interface SmComponent<A,S>
SmElement<A,S> getSubstitutionGroup()
null
.
Returns the head element of the substition group that this element belongs to. May be null
if there
is no substitution group for this element.
java.util.Set<SmDerivationMethod> getSubstitutionGroupExclusions()
java.lang.Iterable<SmElement<A,S>> getSubstitutionGroupMembers()
SmType<A,S> getType()
getType
in interface SmElementNodeType<A,S>
boolean hasIdentityConstraints()
boolean hasSubstitutionGroup()
boolean hasSubstitutionGroupMembers()
boolean isAbstract()
true
if abstract, otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |