|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmType<A,S>
Represents all types in a schema, both simple types and complex types.
Method Summary | |
---|---|
boolean |
derivedFrom(S namespace,
S name,
java.util.Set<SmDerivationMethod> derivationMethods)
|
boolean |
derivedFromType(SmType<A,S> ancestorType,
java.util.Set<SmDerivationMethod> derivationMethods)
|
SmType<A,S> |
getBaseType()
Returns the {base type definition} of this type. |
SmDerivationMethod |
getDerivationMethod()
Returns the {derivation method} property of this type from its base type. |
java.util.Set<SmDerivationMethod> |
getFinal()
Returns the {final} property. |
S |
getLocalName()
The {name} property. |
SmName<S> |
getName()
The {name} and {target namespace} properties. |
S |
getTargetNamespace()
The {target namespace} property. |
boolean |
isAbstract()
Returns the {abstract} property of this type. |
boolean |
isAnonymous()
A component is anonymous if it does not explicity have a name in a schema document. |
boolean |
isAtomicUrType()
Returns whether this type is the Atomic Ur-Type. |
boolean |
isComplexUrType()
Returns whether this type is the Complex Ur-Type. |
boolean |
isFinal(SmDerivationMethod derivation)
Determines whether a particular derivation method is final. |
boolean |
isNative()
Returns whether this type is a built-in type. |
boolean |
isSimpleUrType()
Returns whether this type is the Simple Ur-Type. |
Methods inherited from interface org.gxml.xs.SmComponent |
---|
getScope |
Methods inherited from interface org.gxml.xs.SmSequenceType |
---|
accept, atomSet, parentAxis, prime, quantifier |
Method Detail |
---|
boolean derivedFrom(S namespace, S name, java.util.Set<SmDerivationMethod> derivationMethods)
boolean derivedFromType(SmType<A,S> ancestorType, java.util.Set<SmDerivationMethod> derivationMethods)
SmType<A,S> getBaseType()
SmDerivationMethod getDerivationMethod()
java.util.Set<SmDerivationMethod> getFinal()
S getLocalName()
getLocalName
in interface SmComponent<A,S>
SmName<S> getName()
getName
in interface SmComponent<A,S>
S getTargetNamespace()
getTargetNamespace
in interface SmComponent<A,S>
boolean isAbstract()
boolean isAnonymous()
SmComponent
isAnonymous
in interface SmComponent<A,S>
boolean isAtomicUrType()
boolean isNative()
boolean isComplexUrType()
boolean isFinal(SmDerivationMethod derivation)
derivation
- The derivation method.boolean isSimpleUrType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |