| Modifier and Type | Method and Description |
|---|---|
| public boolean | canBeSubstitutedBy(XSElementDecl e)
Returns true if this element declaration can be validly substituted by the given declaration. |
| public XmlString | |
| public XmlString | |
| public Boolean | Returns: null if form attribute not present, true if form attribute present and set to qualified, false if form attribute present and set to unqualified.Used for javadoc schema generation |
| public List | Returns: never null, but can be empty.Returns all the |
| public XSElementDecl | |
| public Set | Returns: nun-null unmodifiable list. The returned list always contains this element decl itself.Returns the element declarations that can substitute this element. |
| public XSType | |
| public boolean | |
| public boolean | |
| public boolean | isSubstitutionDisallowed(int method)
Checks the diallowed substitution property of the schema component. |
| public boolean | isSubstitutionExcluded(int
Possible values are method)XSType#EXTENSION or
XSType.RESTRICTION.Checks the substitution excluded property of the schema component. |
| public XSElementDecl[] | Returns: nun-null valid array. The return value always contains this element decl itself.
Deprecated
this method allocates a new array every time, so it could be
inefficient when working with a large schema.
Returns the element declarations that can substitute this element. |
| canBeSubstitutedBy | back to summary |
|---|---|
| public boolean canBeSubstitutedBy(XSElementDecl e) 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() | |
| getFixedValue | back to summary |
|---|---|
| public XmlString getFixedValue() | |
| getForm | back to summary |
|---|---|
| public Boolean getForm() Used for javadoc schema generation
| |
| getIdentityConstraints | back to summary |
|---|---|
| public List Returns all the
| |
| getSubstAffiliation | back to summary |
|---|---|
| public XSElementDecl getSubstAffiliation() Gets the substitution head of this element, if any. Otherwise null. | |
| getSubstitutables | back to summary |
|---|---|
| public Set 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.
| |
| getType | back to summary |
|---|---|
| public XSType getType() Gets the type of this element declaration.
| |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() | |
| isNillable | back to summary |
|---|---|
| public boolean isNillable() | |
| isSubstitutionDisallowed | back to summary |
|---|---|
| public boolean isSubstitutionDisallowed(int method) 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) Checks the substitution excluded property of the schema component.
IOW, this checks the value of the
| |
| listSubstitutables | back to summary |
|---|---|
| public XSElementDecl[] listSubstitutables()
Deprecated this method allocates a new array every time, so it could be
inefficient when working with a large schema. Use
Returns the element declarations that can substitute this element. IOW, this set returns all the element decls that satisfies the "Substitution Group OK" constraint.
| |