<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:48:40 GMT 2011 --> <TITLE> AtomicType </TITLE> <META NAME="date" CONTENT="2011-12-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="AtomicType"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/type/AnyType.html" title="class in net.sf.saxon.type"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/type/BuiltInAtomicType.html" title="class in net.sf.saxon.type"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/type/AtomicType.html" target="_top"><B>FRAMES</B></A> <A HREF="AtomicType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> net.sf.saxon.type</FONT> <BR> Interface AtomicType</H2> <DL> <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A>, <A HREF="../../../../net/sf/saxon/type/PlainType.html" title="interface in net.sf.saxon.type">PlainType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></DD> </DL> <DL> <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../net/sf/saxon/type/BuiltInAtomicType.html" title="class in net.sf.saxon.type">BuiltInAtomicType</A>, <A HREF="../../../../net/sf/saxon/type/ExternalObjectType.html" title="class in net.sf.saxon.type">ExternalObjectType</A>, <A HREF="../../../../com/saxonica/schema/UserAtomicType.html" title="class in com.saxonica.schema">UserAtomicType</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>AtomicType</B><DT>extends <A HREF="../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A>, <A HREF="../../../../net/sf/saxon/type/PlainType.html" title="interface in net.sf.saxon.type">PlainType</A></DL> </PRE> <P> Interface for atomic types (these are either built-in atomic types or user-defined atomic types). An AtomicType is both an ItemType (a possible type for items in a sequence) and a SchemaType (a possible type for validating and annotating nodes). <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.type.SimpleType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SimpleType.html#VARIETY_ATOMIC">VARIETY_ATOMIC</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#VARIETY_LIST">VARIETY_LIST</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#VARIETY_UNION">VARIETY_UNION</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#VARIETY_UNSPECIFIED_SIMPLE">VARIETY_UNSPECIFIED_SIMPLE</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.type.SchemaType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_EXTENSION">DERIVATION_EXTENSION</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_LIST">DERIVATION_LIST</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_RESTRICTION">DERIVATION_RESTRICTION</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_UNION">DERIVATION_UNION</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVE_BY_SUBSTITUTION">DERIVE_BY_SUBSTITUTION</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.type.SchemaComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#FIXED_UP">FIXED_UP</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#INCOMPLETE">INCOMPLETE</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#INVALID">INVALID</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#UNVALIDATED">UNVALIDATED</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#VALIDATED">VALIDATED</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#VALIDATING">VALIDATING</A></CODE></TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/AtomicType.html#getTypeName()">getTypeName</A></B>()</CODE> <BR> Get the name of this type as a StructuredQName, unless the type is anonymous, in which case return null</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/AtomicType.html#isAbstract()">isAbstract</A></B>()</CODE> <BR> Determine whether the type is abstract, that is, whether it cannot have instances that are not also instances of some concrete subtype</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/AtomicType.html#isBuiltInType()">isBuiltInType</A></B>()</CODE> <BR> Determine whether the atomic type is a built-in type.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/AtomicType.html#isOrdered()">isOrdered</A></B>()</CODE> <BR> Determine whether the atomic type is ordered, that is, whether less-than and greater-than comparisons are permitted</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/AtomicType.html#isPrimitiveType()">isPrimitiveType</A></B>()</CODE> <BR> Determine whether the atomic type is a primitive type.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/type/ValidationFailure.html" title="class in net.sf.saxon.type">ValidationFailure</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/AtomicType.html#validate(net.sf.saxon.value.AtomicValue, java.lang.CharSequence, net.sf.saxon.lib.ConversionRules)">validate</A></B>(<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A> primValue, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> lexicalValue, <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A> rules)</CODE> <BR> Validate that a primitive atomic value is a valid instance of a type derived from the same primitive type.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.SimpleType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SimpleType.html#getBuiltInBaseType()">getBuiltInBaseType</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#getTypedValue(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)">getTypedValue</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#getWhitespaceAction()">getWhitespaceAction</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#isAtomicType()">isAtomicType</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#isExternalType()">isExternalType</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#isListType()">isListType</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#isNamespaceSensitive()">isNamespaceSensitive</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#isUnionType()">isUnionType</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#postprocess(java.lang.CharSequence)">postprocess</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#preprocess(java.lang.CharSequence)">preprocess</A>, <A HREF="../../../../net/sf/saxon/type/SimpleType.html#validateContent(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)">validateContent</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.SchemaType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaType.html#allowsDerivation(int)">allowsDerivation</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#analyzeContentExpression(net.sf.saxon.expr.Expression, int, net.sf.saxon.expr.StaticContext)">analyzeContentExpression</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#atomize(net.sf.saxon.om.NodeInfo)">atomize</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#checkTypeDerivationIsOK(net.sf.saxon.type.SchemaType, int)">checkTypeDerivationIsOK</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getBaseType()">getBaseType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getBlock()">getBlock</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getDerivationMethod()">getDerivationMethod</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getDescription()">getDescription</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getFingerprint()">getFingerprint</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getName()">getName</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getNameCode()">getNameCode</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getSystemId()">getSystemId</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getTargetNamespace()">getTargetNamespace</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getTypedValue(net.sf.saxon.om.NodeInfo)">getTypedValue</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isAnonymousType()">isAnonymousType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isComplexType()">isComplexType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isIdRefType()">isIdRefType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isIdType()">isIdType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isSameType(net.sf.saxon.type.SchemaType)">isSameType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isSimpleType()">isSimpleType</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.SchemaComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#getRedefinitionLevel()">getRedefinitionLevel</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#getValidationStatus()">getValidationStatus</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.PlainType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/PlainType.html" title="interface in net.sf.saxon.type">PlainType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/PlainType.html#getPlainMemberTypes()">getPlainMemberTypes</A>, <A HREF="../../../../net/sf/saxon/type/PlainType.html#isExternalType()">isExternalType</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.ItemType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/ItemType.html#getAtomizedItemType()">getAtomizedItemType</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#getDefaultPriority()">getDefaultPriority</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#getPrimitiveItemType()">getPrimitiveItemType</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#getPrimitiveType()">getPrimitiveType</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#getSuperType(net.sf.saxon.type.TypeHierarchy)">getSuperType</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#isAtomicType()">isAtomicType</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#isAtomizable()">isAtomizable</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#isPlainType()">isPlainType</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#matches(net.sf.saxon.om.Item, net.sf.saxon.expr.XPathContext)">matches</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#matchesItem(net.sf.saxon.om.Item, boolean, net.sf.saxon.Configuration)">matchesItem</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#toString(net.sf.saxon.om.NamePool)">toString</A>, <A HREF="../../../../net/sf/saxon/type/ItemType.html#visitNamedSchemaComponents(net.sf.saxon.type.SchemaComponentVisitor)">visitNamedSchemaComponents</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="validate(net.sf.saxon.value.AtomicValue, java.lang.CharSequence, net.sf.saxon.lib.ConversionRules)"><!-- --></A><H3> validate</H3> <PRE> <A HREF="../../../../net/sf/saxon/type/ValidationFailure.html" title="class in net.sf.saxon.type">ValidationFailure</A> <B>validate</B>(<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A> primValue, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> lexicalValue, <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A> rules)</PRE> <DL> <DD>Validate that a primitive atomic value is a valid instance of a type derived from the same primitive type. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>primValue</CODE> - the value in the value space of the primitive type.<DD><CODE>lexicalValue</CODE> - the value in the lexical space. If null, the string value of primValue is used. This value is checked against the pattern facet (if any)<DD><CODE>rules</CODE> - <DT><B>Returns:</B><DD>null if the value is valid; otherwise, a ValidationFailure object indicating the nature of the error. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - in the case of an external object type</DL> </DD> </DL> <HR> <A NAME="isOrdered()"><!-- --></A><H3> isOrdered</H3> <PRE> boolean <B>isOrdered</B>()</PRE> <DL> <DD>Determine whether the atomic type is ordered, that is, whether less-than and greater-than comparisons are permitted <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if ordering operations are permitted</DL> </DD> </DL> <HR> <A NAME="isAbstract()"><!-- --></A><H3> isAbstract</H3> <PRE> boolean <B>isAbstract</B>()</PRE> <DL> <DD>Determine whether the type is abstract, that is, whether it cannot have instances that are not also instances of some concrete subtype <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isPrimitiveType()"><!-- --></A><H3> isPrimitiveType</H3> <PRE> boolean <B>isPrimitiveType</B>()</PRE> <DL> <DD>Determine whether the atomic type is a primitive type. The primitive types are the 19 primitive types of XML Schema, plus xs:integer, xs:dayTimeDuration and xs:yearMonthDuration; xs:untypedAtomic; and all supertypes of these (xs:anyAtomicType, xs:numeric, ...) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if the type is considered primitive under the above rules</DL> </DD> </DL> <HR> <A NAME="isBuiltInType()"><!-- --></A><H3> isBuiltInType</H3> <PRE> boolean <B>isBuiltInType</B>()</PRE> <DL> <DD>Determine whether the atomic type is a built-in type. The built-in atomic types are the 41 atomic types defined in XML Schema, plus xs:dayTimeDuration and xs:yearMonthDuration, xs:untypedAtomic, and all supertypes of these (xs:anyAtomicType, xs:numeric, ...) <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/type/SimpleType.html#isBuiltInType()">isBuiltInType</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this is a built-in type</DL> </DD> </DL> <HR> <A NAME="getTypeName()"><!-- --></A><H3> getTypeName</H3> <PRE> <A HREF="../../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A> <B>getTypeName</B>()</PRE> <DL> <DD>Get the name of this type as a StructuredQName, unless the type is anonymous, in which case return null <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the name of the atomic type, or null if the type is anonymous.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/type/AnyType.html" title="class in net.sf.saxon.type"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/type/BuiltInAtomicType.html" title="class in net.sf.saxon.type"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/type/AtomicType.html" target="_top"><B>FRAMES</B></A> <A HREF="AtomicType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>