org.apache.xerces.impl.dv
Interface XSAtomicSimpleType

All Superinterfaces:
XSSimpleType, XSTypeDecl

public interface XSAtomicSimpleType
extends XSSimpleType

Any atomic simple type will implement this interface. It inherits the methods of generic XSSimpleType interface.

Version:
$Id: XSAtomicSimpleType.java,v 1.4 2002/01/29 01:15:11 lehors Exp $
Author:
Sandy Gao, IBM

Field Summary
static short PRIMITIVE_ANYURI
          "anyURI" type
static short PRIMITIVE_BASE64BINARY
          "base64Binary" type
static short PRIMITIVE_BOOLEAN
          "boolean" type
static short PRIMITIVE_DATE
          "date" type
static short PRIMITIVE_DATETIME
          "dataTime" type
static short PRIMITIVE_DECIMAL
          "decimal" type
static short PRIMITIVE_DOUBLE
          "double" type
static short PRIMITIVE_DURATION
          "duration" type
static short PRIMITIVE_FLOAT
          "float" type
static short PRIMITIVE_GDAY
          "gDay" type
static short PRIMITIVE_GMONTH
          "gMonth" type
static short PRIMITIVE_GMONTHDAY
          "gMonthDay" type
static short PRIMITIVE_GYEAR
          "gYear" type
static short PRIMITIVE_GYEARMONTH
          "gYearMonth" type
static short PRIMITIVE_HEXBINARY
          "hexBinary" type
static short PRIMITIVE_NOTATION
          "NOTATION" type
static short PRIMITIVE_QNAME
          "QName" type
static short PRIMITIVE_STRING
          "string" type
static short PRIMITIVE_TIME
          "time" type
 
Fields inherited from interface org.apache.xerces.impl.dv.XSSimpleType
CARDINALITY_COUNTABLY_INFINITE, CARDINALITY_FINITE, FACET_ENUMERATION, FACET_FRACTIONDIGITS, FACET_LENGTH, FACET_MAXEXCLUSIVE, FACET_MAXINCLUSIVE, FACET_MAXLENGTH, FACET_MINEXCLUSIVE, FACET_MININCLUSIVE, FACET_MINLENGTH, FACET_PATTERN, FACET_TOTALDIGITS, FACET_WHITESPACE, ORDERED_FALSE, ORDERED_PARTIAL, ORDERED_TOTAL, VARIETY_ABSENT, VARIETY_ATOMIC, VARIETY_LIST, VARIETY_UNION, WS_COLLAPSE, WS_PRESERVE, WS_REPLACE
 
Fields inherited from interface org.apache.xerces.impl.xs.XSTypeDecl
COMPLEX_TYPE, SIMPLE_TYPE
 
Method Summary
 short getPrimitiveKind()
          return an ID representing the built-in primitive base type.
 XSSimpleType getPrimitiveType()
          return the built-in primitive base type
 
Methods inherited from interface org.apache.xerces.impl.dv.XSSimpleType
applyFacets, getCardinalityFacet, getDefinedFacets, getOrderedFacet, getVariety, getWhitespace, isBounded, isEqual, isIDType, isNumeric, validate, validate
 
Methods inherited from interface org.apache.xerces.impl.xs.XSTypeDecl
getBaseType, getFinalSet, getTargetNamespace, getTypeName, getXSType, isAnonymous
 

Field Detail

PRIMITIVE_STRING

public static final short PRIMITIVE_STRING
"string" type

PRIMITIVE_BOOLEAN

public static final short PRIMITIVE_BOOLEAN
"boolean" type

PRIMITIVE_DECIMAL

public static final short PRIMITIVE_DECIMAL
"decimal" type

PRIMITIVE_FLOAT

public static final short PRIMITIVE_FLOAT
"float" type

PRIMITIVE_DOUBLE

public static final short PRIMITIVE_DOUBLE
"double" type

PRIMITIVE_DURATION

public static final short PRIMITIVE_DURATION
"duration" type

PRIMITIVE_DATETIME

public static final short PRIMITIVE_DATETIME
"dataTime" type

PRIMITIVE_TIME

public static final short PRIMITIVE_TIME
"time" type

PRIMITIVE_DATE

public static final short PRIMITIVE_DATE
"date" type

PRIMITIVE_GYEARMONTH

public static final short PRIMITIVE_GYEARMONTH
"gYearMonth" type

PRIMITIVE_GYEAR

public static final short PRIMITIVE_GYEAR
"gYear" type

PRIMITIVE_GMONTHDAY

public static final short PRIMITIVE_GMONTHDAY
"gMonthDay" type

PRIMITIVE_GDAY

public static final short PRIMITIVE_GDAY
"gDay" type

PRIMITIVE_GMONTH

public static final short PRIMITIVE_GMONTH
"gMonth" type

PRIMITIVE_HEXBINARY

public static final short PRIMITIVE_HEXBINARY
"hexBinary" type

PRIMITIVE_BASE64BINARY

public static final short PRIMITIVE_BASE64BINARY
"base64Binary" type

PRIMITIVE_ANYURI

public static final short PRIMITIVE_ANYURI
"anyURI" type

PRIMITIVE_QNAME

public static final short PRIMITIVE_QNAME
"QName" type

PRIMITIVE_NOTATION

public static final short PRIMITIVE_NOTATION
"NOTATION" type
Method Detail

getPrimitiveKind

public short getPrimitiveKind()
return an ID representing the built-in primitive base type. REVISIT: This method is (currently) for internal use only. the constants returned from this method are not finalized yet. the names and values might change in the further.
Returns:
an ID representing the built-in primitive base type

getPrimitiveType

public XSSimpleType getPrimitiveType()
return the built-in primitive base type
Returns:
the built-in primitive base type


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.