public class XBRLXSDTypeDefinition
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | XBRLXSDTypeDefinition.ClsIgnoreAllReceiverThe Class ClsIgnoreAllReceiver. | 
| Modifier and Type | Field and Description | 
|---|---|
| static javax.xml.namespace.QName | AnonymousName of an anonymous type. | 
| static javax.xml.namespace.QName | anyURIItemTypeThe Constant anyURIItemType. | 
| static javax.xml.namespace.QName | base64BinaryItemTypeThe Constant base64BinaryItemType. | 
| static javax.xml.namespace.QName | booleanItemTypeThe Constant booleanItemType. | 
| static javax.xml.namespace.QName | byteItemTypeThe Constant byteItemType. | 
| static javax.xml.namespace.QName | dateItemTypeThe Constant dateItemType. | 
| static javax.xml.namespace.QName | dateTimeItemTypeThe Constant dateTimeItemType. | 
| static javax.xml.namespace.QName | decimalItemTypeThe Constant decimalItemType. | 
| static javax.xml.namespace.QName | doubleItemTypeThe Constant doubleItemType. | 
| static javax.xml.namespace.QName | durationItemTypeThe Constant durationItemType. | 
| static javax.xml.namespace.QName | floatItemTypeThe Constant floatItemType. | 
| static javax.xml.namespace.QName | fractionItemTypeThe Constant fractionItemType. | 
| static javax.xml.namespace.QName | gDayItemTypeThe Constant gDayItemType. | 
| static javax.xml.namespace.QName | gMonthDayItemTypeThe Constant gMonthDayItemType. | 
| static javax.xml.namespace.QName | gMonthItemTypeThe Constant gMonthItemType. | 
| static javax.xml.namespace.QName | gYearItemTypeThe Constant gYearItemType. | 
| static javax.xml.namespace.QName | gYearMonthItemTypeThe Constant gYearMonthItemType. | 
| static javax.xml.namespace.QName | hexBinaryItemTypeThe Constant hexBinaryItemType. | 
| static javax.xml.namespace.QName | integerItemTypeThe Constant integerItemType. | 
| static javax.xml.namespace.QName | intItemTypeThe Constant intItemType. | 
| static javax.xml.namespace.QName | ITAescapedItemTypeThe Constant ITAescapedItemType. | 
| static javax.xml.namespace.QName | languageItemTypeThe Constant languageItemType. | 
| static javax.xml.namespace.QName | longItemTypeThe Constant longItemType. | 
| static javax.xml.namespace.QName | monetaryItemTypeThe Constant monetaryItemType. | 
| static javax.xml.namespace.QName | NameItemTypeThe Constant NameItemType. | 
| static javax.xml.namespace.QName | NCNameItemTypeThe Constant NCNameItemType. | 
| static javax.xml.namespace.QName | negativeIntegerItemTypeThe Constant negativeIntegerItemType. | 
| static javax.xml.namespace.QName | nonmumTextBlockItemTypeThe Constant nonmumTextBlockItemType. | 
| static javax.xml.namespace.QName | nonNegativeIntegerItemTypeThe Constant nonNegativeIntegerItemType. | 
| static javax.xml.namespace.QName | nonPositiveIntegerItemTypeThe Constant nonPositiveIntegerItemType. | 
| static javax.xml.namespace.QName | normalizedStringItemTypeThe Constant normalizedStringItemType. | 
| static javax.xml.namespace.QName | positiveIntegerItemTypeThe Constant positiveIntegerItemType. | 
| static javax.xml.namespace.QName | pureItemTypeThe Constant pureItemType. | 
| static javax.xml.namespace.QName | QNameItemTypeThe Constant QNameItemType. | 
| static javax.xml.namespace.QName | sharesItemTypeThe Constant sharesItemType. | 
| static javax.xml.namespace.QName | shortItemTypeThe Constant shortItemType. | 
| static javax.xml.namespace.QName | stringItemTypeThe Constant stringItemType. | 
| static javax.xml.namespace.QName | timeItemTypeThe Constant timeItemType. | 
| static javax.xml.namespace.QName | tokenItemTypeThe Constant tokenItemType. | 
| static javax.xml.namespace.QName | unsignedByteItemTypeThe Constant unsignedByteItemType. | 
| static javax.xml.namespace.QName | unsignedIntItemTypeThe Constant unsignedIntItemType. | 
| static javax.xml.namespace.QName | unsignedLongItemTypeThe Constant unsignedLongItemType. | 
| static javax.xml.namespace.QName | unsignedShortItemTypeThe Constant unsignedShortItemType. | 
| Constructor and Description | 
|---|
| XBRLXSDTypeDefinition(DTSContainer dts,
                     javax.xml.namespace.QName name)Creates a new type wrapper for a given type name. | 
| XBRLXSDTypeDefinition(DTSContainer dts,
                     net.sf.saxon.type.SchemaType type)Creates a new type definition from a existing schema type. the type name will be
 obtained from the schema type. | 
| XBRLXSDTypeDefinition(DTSContainer dts,
                     net.sf.saxon.type.SchemaType type,
                     javax.xml.namespace.QName name)Creates a new type definition from an existing schema type and assigns the name. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object other)Equals. | 
| java.util.Iterator<java.lang.String> | filterList(java.util.regex.Pattern filterExpressionToTest)If this type is list type (isList() returns true) this method returns
 the list values as defined in the schema optionally filtering them
 using a Pattern filter so only values mathing the pattern will be
 returned. | 
| XSDComposition | getComposition()Returns a XSDComposition object that represents the content of this XSDType. | 
| DTSContainer | getContainer()Access to the container where this type has been defined. | 
| javax.xml.namespace.QName | getName()Returns a string representation of the type
 for the XBRL defined types this is the QName of the xbrli Type is returned
 for other types. | 
| static int | getTypeAnnotation(net.sf.saxon.Configuration conf,
                 int nameCode)Gets the type annotation. | 
| static int | getTypeAnnotation(net.sf.saxon.Configuration conf,
                 javax.xml.namespace.QName nodeName)Gets the type annotation. | 
| static int | getTypeAnnotationFromTypeName(net.sf.saxon.Configuration conf,
                             javax.xml.namespace.QName typeName)Gets the type annotation from type name. | 
| java.lang.String | getTypeName()Returns a human readable name for the type name. | 
| static java.lang.String | getTypeName(javax.xml.namespace.QName qVal)Gets the type name. | 
| static java.lang.String | getTypeName(XBRLXSDTypeDefinition type)Returns a human readable name for the type name. | 
| javax.xml.namespace.QName | getXSDBaseSimpleType()Search the type hierarchy to identify the schema type on top that belongs to the
 XML Schema namespace and is a simple type and returns its name. | 
| net.sf.saxon.type.SchemaType | getXSDType()Access to the surrounding schema type. | 
| int | hashCode()Hash code. | 
| boolean | isDerivedFrom(javax.xml.namespace.QName name)Returns true if this type is derived from the type name received as a parameter. | 
| boolean | isEnumerable()Returns true if this data type is enumerable according with the extensible enumerations
 specification. | 
| boolean | isEnumerable2()Returns true if this data type is enumerable according with the extensible enumerations
 specification. | 
| boolean | isFraction()Helper method to check if a type definition is fraction. | 
| boolean | isList()Returns true if the XML Type is simpleContent and the facet is
 an enumeration of values. | 
| boolean | isNumeric()Helper method to check if a type definition is numeric. | 
| boolean | isPure()Returns true if the type is derived from pureItemType. | 
| boolean | isShares()Returns true if the type is derived from sharesItemType. | 
| java.lang.String | toString()To string. | 
| XBRLValidationReport | validate(XBRLFact fact,
        com.saxonica.ee.validate.ContentValidator scv)Validates a fact (item or tuple) according with the content model defined in the schema. | 
| XBRLValidationReport | validate(XBRLFactItem factItem,
        com.saxonica.ee.validate.ContentValidator scv)Validate the value of a fact item according to the data type defined in the 
 schemas. | 
| XBRLValidationReport | validate(XBRLFactTuple factTuple,
        com.saxonica.ee.validate.ContentValidator scv)Validate the content of a tuple fact according to the content
 model defined by this object. | 
public static final javax.xml.namespace.QName Anonymous
public static final javax.xml.namespace.QName monetaryItemType
public static final javax.xml.namespace.QName NCNameItemType
public static final javax.xml.namespace.QName NameItemType
public static final javax.xml.namespace.QName languageItemType
public static final javax.xml.namespace.QName tokenItemType
public static final javax.xml.namespace.QName normalizedStringItemType
public static final javax.xml.namespace.QName gMonthItemType
public static final javax.xml.namespace.QName gDayItemType
public static final javax.xml.namespace.QName gMonthDayItemType
public static final javax.xml.namespace.QName gYearItemType
public static final javax.xml.namespace.QName gYearMonthItemType
public static final javax.xml.namespace.QName dateItemType
public static final javax.xml.namespace.QName timeItemType
public static final javax.xml.namespace.QName dateTimeItemType
public static final javax.xml.namespace.QName durationItemType
public static final javax.xml.namespace.QName QNameItemType
public static final javax.xml.namespace.QName anyURIItemType
public static final javax.xml.namespace.QName base64BinaryItemType
public static final javax.xml.namespace.QName hexBinaryItemType
public static final javax.xml.namespace.QName booleanItemType
public static final javax.xml.namespace.QName stringItemType
public static final javax.xml.namespace.QName positiveIntegerItemType
public static final javax.xml.namespace.QName unsignedByteItemType
public static final javax.xml.namespace.QName unsignedShortItemType
public static final javax.xml.namespace.QName unsignedIntItemType
public static final javax.xml.namespace.QName unsignedLongItemType
public static final javax.xml.namespace.QName nonNegativeIntegerItemType
public static final javax.xml.namespace.QName byteItemType
public static final javax.xml.namespace.QName shortItemType
public static final javax.xml.namespace.QName intItemType
public static final javax.xml.namespace.QName longItemType
public static final javax.xml.namespace.QName negativeIntegerItemType
public static final javax.xml.namespace.QName nonPositiveIntegerItemType
public static final javax.xml.namespace.QName integerItemType
public static final javax.xml.namespace.QName pureItemType
public static final javax.xml.namespace.QName sharesItemType
public static final javax.xml.namespace.QName doubleItemType
public static final javax.xml.namespace.QName floatItemType
public static final javax.xml.namespace.QName decimalItemType
public static final javax.xml.namespace.QName fractionItemType
public static final javax.xml.namespace.QName ITAescapedItemType
public static final javax.xml.namespace.QName nonmumTextBlockItemType
public XBRLXSDTypeDefinition(DTSContainer dts, net.sf.saxon.type.SchemaType type)
dts - the dtstype - the typepublic XBRLXSDTypeDefinition(DTSContainer dts, net.sf.saxon.type.SchemaType type, javax.xml.namespace.QName name)
dts - the dtstype - the typename - the namepublic XBRLXSDTypeDefinition(DTSContainer dts, javax.xml.namespace.QName name)
dts - the dtsname - the namepublic DTSContainer getContainer()
public net.sf.saxon.type.SchemaType getXSDType()
public javax.xml.namespace.QName getName()
public javax.xml.namespace.QName getXSDBaseSimpleType()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the otherpublic int hashCode()
hashCode in class java.lang.Objectpublic XSDComposition getComposition()
Type MUST be complex type only. If it is not complex type it returns null.
XSDComposition may not be equal to the nodes representing the ALL, CHOICE or SEQUENCE in the XML Schema.
XBRLValidationExceptionpublic XBRLValidationReport validate(XBRLFactItem factItem, com.saxonica.ee.validate.ContentValidator scv)
factItem - the fact itemscv - the scvpublic XBRLValidationReport validate(XBRLFact fact, com.saxonica.ee.validate.ContentValidator scv)
fact - the factscv - the scvpublic XBRLValidationReport validate(XBRLFactTuple factTuple, com.saxonica.ee.validate.ContentValidator scv)
factTuple - the fact tuplescv - the scvpublic boolean isDerivedFrom(javax.xml.namespace.QName name)
name - a type namepublic boolean isList()
public boolean isNumeric()
public boolean isFraction()
public boolean isPure()
public boolean isShares()
public boolean isEnumerable()
public boolean isEnumerable2()
public static java.lang.String getTypeName(XBRLXSDTypeDefinition type)
type - the typepublic static java.lang.String getTypeName(javax.xml.namespace.QName qVal)
qVal - the q valpublic java.lang.String getTypeName()
public java.util.Iterator<java.lang.String> filterList(java.util.regex.Pattern filterExpressionToTest)
filterExpressionToTest - pattern to match values with, if null 
        all list values are returnedpublic static int getTypeAnnotation(net.sf.saxon.Configuration conf,
                                    javax.xml.namespace.QName nodeName)
conf - the confnodeName - the node namepublic static int getTypeAnnotationFromTypeName(net.sf.saxon.Configuration conf,
                                                javax.xml.namespace.QName typeName)
conf - the conftypeName - the type namepublic static int getTypeAnnotation(net.sf.saxon.Configuration conf,
                                    int nameCode)
conf - the confnameCode - the name codeCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa