|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface XSSimpleType
represents the simple type
definition of schema component and defines methods to query the information
contained.
Any simple type (atomic, list or union) will implement this interface.
It inherits from XSTypeDecl
.
Field Summary | |
static short |
PRIMITIVE_ANYURI
Deprecated. "anyURI" type |
static short |
PRIMITIVE_BASE64BINARY
Deprecated. "base64Binary" type |
static short |
PRIMITIVE_BOOLEAN
Deprecated. "boolean" type |
static short |
PRIMITIVE_DATE
Deprecated. "date" type |
static short |
PRIMITIVE_DATETIME
Deprecated. "dataTime" type |
static short |
PRIMITIVE_DECIMAL
Deprecated. "decimal" type |
static short |
PRIMITIVE_DOUBLE
Deprecated. "double" type |
static short |
PRIMITIVE_DURATION
Deprecated. "duration" type |
static short |
PRIMITIVE_FLOAT
Deprecated. "float" type |
static short |
PRIMITIVE_GDAY
Deprecated. "gDay" type |
static short |
PRIMITIVE_GMONTH
Deprecated. "gMonth" type |
static short |
PRIMITIVE_GMONTHDAY
Deprecated. "gMonthDay" type |
static short |
PRIMITIVE_GYEAR
Deprecated. "gYear" type |
static short |
PRIMITIVE_GYEARMONTH
Deprecated. "gYearMonth" type |
static short |
PRIMITIVE_HEXBINARY
Deprecated. "hexBinary" type |
static short |
PRIMITIVE_NOTATION
Deprecated. "NOTATION" type |
static short |
PRIMITIVE_QNAME
Deprecated. "QName" type |
static short |
PRIMITIVE_STRING
Deprecated. "string" type |
static short |
PRIMITIVE_TIME
Deprecated. "time" type |
static short |
WS_COLLAPSE
Deprecated. collapse the white spaces |
static short |
WS_PRESERVE
Deprecated. preserve the white spaces |
static short |
WS_REPLACE
Deprecated. replace the white spaces |
Fields inherited from interface weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition |
COMPLEX_TYPE, SIMPLE_TYPE |
Fields inherited from interface weblogic.apache.xerces.impl.xs.psvi.XSSimpleTypeDefinition |
FACET_ENUMERATION, FACET_FRACTIONDIGITS, FACET_LENGTH, FACET_MAXEXCLUSIVE, FACET_MAXINCLUSIVE, FACET_MAXLENGTH, FACET_MINEXCLUSIVE, FACET_MININCLUSIVE, FACET_MINLENGTH, FACET_NONE, FACET_PATTERN, FACET_TOTALDIGITS, FACET_WHITESPACE, ORDERED_FALSE, ORDERED_PARTIAL, ORDERED_TOTAL, VARIETY_ABSENT, VARIETY_ATOMIC, VARIETY_LIST, VARIETY_UNION |
Method Summary | |
void |
applyFacets(XSFacets facets,
short presentFacet,
short fixedFacet,
ValidationContext context)
Deprecated. If this type is created from restriction, then some facets can be applied to the simple type. |
short |
getPrimitiveKind()
Deprecated. return an ID representing the built-in primitive base type. |
short |
getWhitespace()
Deprecated. Return the whitespace corresponding to this datatype. |
boolean |
isEqual(Object value1,
Object value2)
Deprecated. Check whether two actual values are equal. |
boolean |
isIDType()
Deprecated. Check whether this type is or is derived from ID. |
Object |
validate(String content,
ValidationContext context,
ValidatedInfo validatedInfo)
Deprecated. validate a given string against this simple type. |
void |
validate(ValidationContext context,
ValidatedInfo validatedInfo)
Deprecated. validate an actual value against this simple type. |
Methods inherited from interface weblogic.apache.xerces.impl.xs.XSTypeDecl |
derivedFrom, derivedFrom |
Methods inherited from interface weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition |
getBaseType, getFinal, getIsAnonymous, getIsFinal, getTypeCategory |
Methods inherited from interface weblogic.apache.xerces.impl.xs.psvi.XSObject |
getName, getNamespace, getType |
Methods inherited from interface weblogic.apache.xerces.impl.xs.psvi.XSSimpleTypeDefinition |
getAnnotation, getDefinedFacets, getFixedFacets, getIsBounded, getIsDefinedFacet, getIsFinite, getIsFixedFacet, getIsNumeric, getItemType, getLexicalEnumerations, getLexicalFacetValue, getLexicalPatterns, getMemberTypes, getOrdered, getPrimitiveType, getVariety |
Field Detail |
public static final short PRIMITIVE_ANYURI
public static final short PRIMITIVE_BASE64BINARY
public static final short PRIMITIVE_BOOLEAN
public static final short PRIMITIVE_DATE
public static final short PRIMITIVE_DATETIME
public static final short PRIMITIVE_DECIMAL
public static final short PRIMITIVE_DOUBLE
public static final short PRIMITIVE_DURATION
public static final short PRIMITIVE_FLOAT
public static final short PRIMITIVE_GDAY
public static final short PRIMITIVE_GMONTH
public static final short PRIMITIVE_GMONTHDAY
public static final short PRIMITIVE_GYEAR
public static final short PRIMITIVE_GYEARMONTH
public static final short PRIMITIVE_HEXBINARY
public static final short PRIMITIVE_NOTATION
public static final short PRIMITIVE_QNAME
public static final short PRIMITIVE_STRING
public static final short PRIMITIVE_TIME
public static final short WS_COLLAPSE
public static final short WS_PRESERVE
public static final short WS_REPLACE
Method Detail |
public void applyFacets(XSFacets facets, short presentFacet, short fixedFacet, ValidationContext context) throws InvalidDatatypeFacetException
XSFacets
is used to pass the value of
different facets.
facets
- the value of all the facets
InvalidDatatypeFacetException
- exception for invalid facet values.public short getPrimitiveKind()
public short getWhitespace() throws DatatypeException
DatatypeException
- union datatypes don't have whitespace facet associated with thempublic boolean isEqual(Object value1, Object value2)
value1
- the first value
public boolean isIDType()
public Object validate(String content, ValidationContext context, ValidatedInfo validatedInfo) throws InvalidDatatypeValueException
content
- the string value that needs to be validatedcontext
- the validation contextvalidatedInfo
- used to store validation result
InvalidDatatypeValueException
public void validate(ValidationContext context, ValidatedInfo validatedInfo) throws InvalidDatatypeValueException
context
- the validation contextvalidatedInfo
- used to provide the actual value and member types
InvalidDatatypeValueException
- exception for invalid values.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |