|
||||||||||
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.AnyType
This class has a singleton instance which represents the XML Schema built-in type xs:anyType, also known as the urtype.
Field Summary |
Fields inherited from class net.sf.saxon.type.SchemaType |
ALL_DERIVATIONS, DERIVE_BY_EXTENSION, DERIVE_BY_LIST, DERIVE_BY_RESTRICTION, DERIVE_BY_SUBSTITUTION, DERIVE_BY_UNION, finalProhibitions, INVALID, UNVALIDATED, VALIDATED, VALIDATING, validationPhase |
Method Summary | |
java.lang.String |
getDescription()
Get a description of this type for use in diagnostics |
static AnyType |
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 type is a SimpleType |
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 AnyType getInstance()
public boolean isSimpleType()
isSimpleType
in interface ComplexType
isSimpleType
in class SchemaType
public boolean isAbstract()
isAbstract
in interface ComplexType
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 java.lang.String getDescription()
getDescription
in class SchemaType
public SequenceIterator getTypedValue(NodeInfo node) throws XPathException
getTypedValue
in class SchemaType
node
- the node whose typed value is required
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |