|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DataTypeValidator defines the interface that data type validators must obey. These validators can be supplied by the application writer and may be useful as standalone code as well as plugins to the validator architecture. Note: there is no support for facets in this API, since we are trying to convince W3C to remove facets from the data type spec.
Field Summary | |
static short |
COLLAPSE
|
static int |
FACET_DURATION
|
static int |
FACET_ENCODING
|
static int |
FACET_ENUMERATION
|
static int |
FACET_LENGTH
|
static int |
FACET_MAXEXCLUSIVE
|
static int |
FACET_MAXINCLUSIVE
|
static int |
FACET_MAXLENGTH
|
static int |
FACET_MINEXCLUSIVE
|
static int |
FACET_MININCLUSIVE
|
static int |
FACET_MINLENGTH
|
static int |
FACET_PATTERN
|
static int |
FACET_PERIOD
|
static int |
FACET_PRECISSION
|
static int |
FACET_SCALE
|
static int |
FACET_WHITESPACE
|
static short |
PRESERVE
|
static short |
REPLACE
|
Method Summary | |
int |
compare(java.lang.String value1,
java.lang.String value2)
Compares content in the Domain value vs. |
java.util.Hashtable |
getFacets()
returns the datatype facet if any is set as a Hashtable |
short |
getWSFacet()
|
java.lang.Object |
validate(java.lang.String content,
java.lang.Object state)
Checks that "content" string is valid datatype. |
Field Detail |
public static final int FACET_LENGTH
public static final int FACET_MINLENGTH
public static final int FACET_MAXLENGTH
public static final int FACET_PATTERN
public static final int FACET_ENUMERATION
public static final int FACET_MAXINCLUSIVE
public static final int FACET_MAXEXCLUSIVE
public static final int FACET_MININCLUSIVE
public static final int FACET_MINEXCLUSIVE
public static final int FACET_PRECISSION
public static final int FACET_SCALE
public static final int FACET_ENCODING
public static final int FACET_DURATION
public static final int FACET_PERIOD
public static final int FACET_WHITESPACE
public static final short PRESERVE
public static final short REPLACE
public static final short COLLAPSE
Method Detail |
public java.lang.Object validate(java.lang.String content, java.lang.Object state) throws InvalidDatatypeValueException
content
- A string containing the content to be validatedderivedBylist
- Flag which is true when type
is derived by list otherwise it
it is derived by extension.InvalidDatatypeValueException
public short getWSFacet()
public java.util.Hashtable getFacets()
public int compare(java.lang.String value1, java.lang.String value2)
value1
- valu2
-
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |