| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private XmlString | |
| private XmlString | |
| private Boolean | |
| private final List | |
| private boolean | |
| private int | |
| private int | |
| private Ref. | |
| private Set | substitutables
Set that represents element decls that can substitute this element. |
| private Set | substitutablesView
Unmodifieable view of |
| private Ref. |
| Access | Constructor and Description |
|---|---|
| public | ElementDecl(PatcherManager reader, SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, String _tns, String _name, boolean _anonymous, XmlString _defv, XmlString _fixedv, boolean _nillable, boolean _abstract, Boolean _form, Ref.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public <T> T | |
| public <T, P> T | |
| public <T> T | |
| public XSElementDecl | |
| public XSModelGroup | |
| public XSModelGroupDecl | |
| public XSWildcard | |
| public boolean | canBeSubstitutedBy(XSElementDecl e)
Implements com. Returns true if this element declaration can be validly substituted by the given declaration. |
| public XmlString | |
| public XmlString | |
| public Boolean | |
| public List | getIdentityConstraints()
Implements com. Returns all the |
| public XSElementDecl | getSubstAffiliation()
Implements com. Gets the substitution head of this element, if any. |
| public Set | getSubstitutables()
Implements com. Returns the element declarations that can substitute this element. |
| public XSTerm | |
| public XSType | getType()
Implements com. Gets the type of this element declaration. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isSubstitutionDisallowed(int method)
Implements com. Checks the diallowed substitution property of the schema component. |
| public boolean | isSubstitutionExcluded(int method)
Implements com. Checks the substitution excluded property of the schema component. |
| public boolean | |
| public XSElementDecl[] | listSubstitutables()
Implements com.
Deprecated
Returns the element declarations that can substitute this element. |
| public void | |
| public void | |
| public void |
| _abstract | back to summary |
|---|---|
| private boolean _abstract | |
| defaultValue | back to summary |
|---|---|
| private XmlString defaultValue | |
| fixedValue | back to summary |
|---|---|
| private XmlString fixedValue | |
| form | back to summary |
|---|---|
| private Boolean form | |
| idConstraints | back to summary |
|---|---|
| private final List<XSIdentityConstraint> idConstraints | |
| nillable | back to summary |
|---|---|
| private boolean nillable | |
| substDisallowed | back to summary |
|---|---|
| private int substDisallowed | |
| substExcluded | back to summary |
|---|---|
| private int substExcluded | |
| substHead | back to summary |
|---|---|
| private Ref. | |
| substitutables | back to summary |
|---|---|
| private Set<XSElementDecl> substitutables Set that represents element decls that can substitute this element. | |
| substitutablesView | back to summary |
|---|---|
| private Set<XSElementDecl> substitutablesView Unmodifieable view of | |
| type | back to summary |
|---|---|
| private Ref. | |
| ElementDecl | back to summary |
|---|---|
| public ElementDecl(PatcherManager reader, SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, String _tns, String _name, boolean _anonymous, XmlString _defv, XmlString _fixedv, boolean _nillable, boolean _abstract, Boolean _form, Ref. | |
| addSubstitutable | back to summary |
|---|---|
| protected void addSubstitutable(ElementDecl decl) | |
| apply | back to summary |
|---|---|
| public <T> T apply(XSTermFunction<T> function) Implements com.
| |
| apply | back to summary |
|---|---|
| public <T, P> T apply(XSTermFunctionWithParam<T, P> function, P param) Implements com.
| |
| apply | back to summary |
|---|---|
| public <T> T apply(XSFunction<T> function) Implements com. Doc from com. Accepts a functor.
| |
| asElementDecl | back to summary |
|---|---|
| public XSElementDecl asElementDecl() Implements com.
| |
| asModelGroup | back to summary |
|---|---|
| public XSModelGroup asModelGroup() Implements com.
| |
| asModelGroupDecl | back to summary |
|---|---|
| public XSModelGroupDecl asModelGroupDecl() Implements com.
| |
| asWildcard | back to summary |
|---|---|
| public XSWildcard asWildcard() Implements com.
| |
| canBeSubstitutedBy | back to summary |
|---|---|
| public boolean canBeSubstitutedBy(XSElementDecl e) Implements com. Doc from com. Returns true if this element declaration can be validly substituted by the given declaration.
Just a short cut of
| |
| getDefaultValue | back to summary |
|---|---|
| public XmlString getDefaultValue() Implements com.
| |
| getFixedValue | back to summary |
|---|---|
| public XmlString getFixedValue() Implements com.
| |
| getForm | back to summary |
|---|---|
| public Boolean getForm() Implements com. Doc from com. Used for javadoc schema generation
| |
| getIdentityConstraints | back to summary |
|---|---|
| public List Implements com. Doc from com. Returns all the
| |
| getSubstAffiliation | back to summary |
|---|---|
| public XSElementDecl getSubstAffiliation() Implements com. Doc from com. Gets the substitution head of this element, if any. Otherwise null.
| |
| getSubstitutables | back to summary |
|---|---|
| public Set Implements com. Doc from com. Returns the element declarations that can substitute this element. IOW, this set returns all the element decls that satisfies the "Substitution Group OK" constraint. Note that the above clause does NOT check for abstract elements. So abstract elements may still show up in the returned set.
| |
| getTerm | back to summary |
|---|---|
| public XSTerm getTerm() Implements com. Doc from com. Obtains a reference as a term.
| |
| getType | back to summary |
|---|---|
| public XSType getType() Implements com. Doc from com. Gets the type of this element declaration.
| |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Implements com.
| |
| isElementDecl | back to summary |
|---|---|
| public boolean isElementDecl() Implements com.
| |
| isModelGroup | back to summary |
|---|---|
| public boolean isModelGroup() Implements com.
| |
| isModelGroupDecl | back to summary |
|---|---|
| public boolean isModelGroupDecl() Implements com.
| |
| isNillable | back to summary |
|---|---|
| public boolean isNillable() Implements com.
| |
| isSubstitutionDisallowed | back to summary |
|---|---|
| public boolean isSubstitutionDisallowed(int method) Implements com. Doc from com. Checks the diallowed substitution property of the schema component.
IOW, this checks the value of the
| |
| isSubstitutionExcluded | back to summary |
|---|---|
| public boolean isSubstitutionExcluded(int method) Implements com. Doc from com. Checks the substitution excluded property of the schema component.
IOW, this checks the value of the
| |
| isWildcard | back to summary |
|---|---|
| public boolean isWildcard() Implements com.
| |
| listSubstitutables | back to summary |
|---|---|
| public XSElementDecl[] listSubstitutables() Implements com. Doc from com. Deprecated
Returns the element declarations that can substitute this element. IOW, this set returns all the element decls that satisfies the "Substitution Group OK" constraint.
| |
| updateSubstitutabilityMap | back to summary |
|---|---|
| public void updateSubstitutabilityMap() | |
| visit | back to summary |
|---|---|
| public void visit(XSVisitor visitor) Implements com. Doc from com. Accepts a visitor.
| |
| visit | back to summary |
|---|---|
| public void visit(XSTermVisitor visitor) Implements com.
| |