Package org.eclipse.wst.xml.xpath2.api.typesystem
public class SimpleTypeDefinition extends
Field Summary | |
public static short | VARIETY_ABSENT The variety is absent for the anySimpleType definition. |
public static short | VARIETY_ATOMIC <code>Atomic</code> type. |
public static short | VARIETY_LIST <code>List</code> type. |
public static short | VARIETY_UNION <code>Union</code> type. |
Method Summary | |
public boolean | getBounded() Fundamental Facet: bounded. |
public short | getBuiltInKind() Returns the closest built-in type category this type represents or derived from. For example, if this simple type is a built-in derived type integer the INTEGER_DV is returned.
KILL! |
public boolean | getFinite() Fundamental Facet: cardinality. |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition | getItemType() If variety is list the item type definition (an atomic or
union simple type definition) is available, otherwise
null . |
public java.util.List | getMemberTypes() If variety is union the list of member type definitions (a
non-empty sequence of simple type definitions) is available,
otherwise an empty XSObjectList . |
public boolean | getNumeric() Fundamental Facet: numeric. |
public short | getOrdered() Fundamental Facet: ordered. |
public org.eclipse.wst.xml.xpath2.api.typesystem.SimpleTypeDefinition | getPrimitiveType() If variety is atomic the primitive type definition (a
built-in primitive datatype definition or the simple ur-type
definition) is available, otherwise null . |
public short | getVariety() [variety]: one of {atomic, list, union} or absent. |
Field Detail |
public static short VARIETY_ABSENT
The variety is absent for the anySimpleType definition. |
public static short VARIETY_ATOMIC
Atomic type. |
public static short VARIETY_LIST
List type. |
public static short VARIETY_UNION
Union type. |
Methods Detail |
public boolean getBounded()
Fundamental Facet: bounded.
boolean
public short getBuiltInKind()
Returns the closest built-in type category this type represents or
derived from. For example, if this simple type is a built-in derived
type integer the INTEGER_DV
is returned.
KILL!
short
public boolean getFinite()
Fundamental Facet: cardinality.
boolean
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getItemType()
If variety is list
the item type definition (an atomic or
union simple type definition) is available, otherwise
null
.
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition
public java.util.List getMemberTypes()
If variety is union
the list of member type definitions (a
non-empty sequence of simple type definitions) is available,
otherwise an empty XSObjectList
.
java.util.List
public boolean getNumeric()
Fundamental Facet: numeric.
boolean
public short getOrdered()
Fundamental Facet: ordered.
short
public org.eclipse.wst.xml.xpath2.api.typesystem.SimpleTypeDefinition getPrimitiveType()
If variety is atomic
the primitive type definition (a
built-in primitive datatype definition or the simple ur-type
definition) is available, otherwise null
.
org.eclipse.wst.xml.xpath2.api.typesystem.SimpleTypeDefinition
public short getVariety()
[variety]: one of {atomic, list, union} or absent.
short