Package net.sf.saxon.type
Class Derivation
- java.lang.Object
-
- net.sf.saxon.type.Derivation
-
public abstract class Derivation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DERIVATION_EXTENSION
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by extension.static int
DERIVATION_LIST
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the list.static int
DERIVATION_RESTRICTION
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by restriction if complex types are involved, or a restriction if simple types are involved.static int
DERIVATION_UNION
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the union if simple types are involved.static int
DERIVE_BY_SUBSTITUTION
Derivation by substitution.
-
Constructor Summary
Constructors Constructor Description Derivation()
-
-
-
Field Detail
-
DERIVATION_RESTRICTION
public static final int DERIVATION_RESTRICTION
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by restriction if complex types are involved, or a restriction if simple types are involved.
The reference type definition is derived by restriction from the other type definition if the other type definition is the same as the reference type definition, or if the other type definition can be reached recursively following the {base type definition} property from the reference type definition, and all the derivation methods involved are restriction.- See Also:
- Constant Field Values
-
DERIVATION_EXTENSION
public static final int DERIVATION_EXTENSION
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by extension.
The reference type definition is derived by extension from the other type definition if the other type definition can be reached recursively following the {base type definition} property from the reference type definition, and at least one of the derivation methods involved is an extension.- See Also:
- Constant Field Values
-
DERIVATION_UNION
public static final int DERIVATION_UNION
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the union if simple types are involved.
The reference type definition is derived by union from the other type definition if there exists two type definitions T1 and T2 such as the reference type definition is derived from T1 byDERIVATION_RESTRICTION
orDERIVATION_EXTENSION
, T2 is derived from the other type definition byDERIVATION_RESTRICTION
, T1 has {variety} union, and one of the {member type definitions} is T2. Note that T1 could be the same as the reference type definition, and T2 could be the same as the other type definition.- See Also:
- Constant Field Values
-
DERIVATION_LIST
public static final int DERIVATION_LIST
If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the list.
The reference type definition is derived by list from the other type definition if there exists two type definitions T1 and T2 such as the reference type definition is derived from T1 byDERIVATION_RESTRICTION
orDERIVATION_EXTENSION
, T2 is derived from the other type definition byDERIVATION_RESTRICTION
, T1 has {variety} list, and T2 is the {item type definition}. Note that T1 could be the same as the reference type definition, and T2 could be the same as the other type definition.- See Also:
- Constant Field Values
-
DERIVE_BY_SUBSTITUTION
public static final int DERIVE_BY_SUBSTITUTION
Derivation by substitution. This constant, unlike the others, is NOT defined in the DOM level 3 TypeInfo interface.- See Also:
- Constant Field Values
-
-