|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.type.SchemaType | +--net.sf.saxon.type.Untyped
This class has a singleton instance which represents the complex type xdt:untyped, used for elements that have not been validated.
Field Summary |
Fields inherited from class net.sf.saxon.type.SchemaType |
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION, DERIVE_BY_SUBSTITUTION, finalProhibitions, INVALID, UNVALIDATED, VALIDATED, VALIDATING, validationPhase |
Method Summary | |
java.lang.String |
getDescription()
Get a description of this type for use in diagnostics |
static Untyped |
getInstance()
Get the singular instance of this class |
java.lang.String |
getLocalName()
Get the local name of this type. |
SimpleType |
getSimpleContentType()
For a complex type with simple content, return the simple type of the content. |
SequenceIterator |
getTypedValue(NodeInfo node)
Get the typed value of a node that is annotated with this schema type |
boolean |
isAbstract()
Test whether this ComplexType has been marked as abstract. |
boolean |
isAllContent()
Test whether this complex type has "all" content, that is, a content model using an xs:all compositor |
boolean |
isComplexContent()
Test whether this complex type has complex content |
boolean |
isEmptiable()
Test whether the content model of this complexType allows empty content |
boolean |
isEmptyContent()
Test whether the content type of this complex type is empty |
boolean |
isMixedContent()
Test whether this complex type allows mixed content |
boolean |
isRestricted()
Test whether this complex type is derived by restriction |
boolean |
isSimpleContent()
Test whether this complex type has simple content |
boolean |
isSimpleType()
Test whether this SchemaType is a simple type |
int |
relationshipTo(SchemaType other)
Determine the relationship of this schema type to another schema type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.saxon.type.ComplexType |
getBaseType |
Method Detail |
public static Untyped getInstance()
public boolean isAbstract()
isAbstract
in interface ComplexType
public boolean isSimpleType()
isSimpleType
in class SchemaType
public boolean isComplexContent()
isComplexContent
in interface ComplexType
public boolean isSimpleContent()
isSimpleContent
in interface ComplexType
public boolean isAllContent()
isAllContent
in interface ComplexType
public SimpleType getSimpleContentType()
getSimpleContentType
in interface ComplexType
public boolean isRestricted()
isRestricted
in interface ComplexType
public boolean isEmptyContent()
isEmptyContent
in interface ComplexType
public boolean isEmptiable()
isEmptiable
in interface ComplexType
public boolean isMixedContent()
isMixedContent
in interface ComplexType
public java.lang.String getLocalName()
getLocalName
in class SchemaType
public int relationshipTo(SchemaType other)
relationshipTo
in class SchemaType
other
- the other schema type
Type.SAME_TYPE
if the types are the same; Type.SUBSUMES
if the first
type subsumes the second (that is, all instances of the second type are also instances
of the first); Type.SUBSUMED_BY
if the second type subsumes the first;
Type.OVERLAPS
if the two types overlap (have a non-empty intersection);
Type.DISJOINT
if the two types are disjoint (have an empty intersection)public java.lang.String getDescription()
getDescription
in class SchemaType
public SequenceIterator getTypedValue(NodeInfo node)
getTypedValue
in class SchemaType
node
- the node whose typed value is required
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |