|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.validators.datatype.AbstractDatatypeValidator | +--weblogic.apache.xerces.validators.datatype.AbstractNumericFacetValidator | +--weblogic.apache.xerces.validators.datatype.AbstractNumericValidator | +--weblogic.apache.xerces.validators.datatype.DoubleDatatypeValidator
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Fields inherited from class weblogic.apache.xerces.validators.datatype.AbstractNumericFacetValidator |
fEnumeration,
fMaxExclusive,
fMaxInclusive,
fMinExclusive,
fMinInclusive,
INDETERMINATE |
Fields inherited from class weblogic.apache.xerces.validators.datatype.AbstractDatatypeValidator |
fBaseValidator,
fFacetsDefined,
fFlags,
fLocale,
fMessageProvider,
fPattern,
fRegex |
Constructor Summary | |
DoubleDatatypeValidator()
|
|
DoubleDatatypeValidator(DatatypeValidator base,
java.util.Hashtable facets,
boolean derivedByList)
|
Method Summary | |
protected void |
assignAdditionalFacets(java.lang.String key,
java.util.Hashtable facets)
|
protected void |
checkContent(java.lang.String content,
java.lang.Object state,
java.util.Vector enumeration,
boolean asBase)
|
protected void |
checkContentEnum(java.lang.String content,
java.lang.Object state,
java.util.Vector enumeration)
validate if the content is valid against base datatype and facets (if any) this function might be called directly from UnionDatatype or ListDatatype |
int |
compare(java.lang.String value1,
java.lang.String value2)
|
protected int |
compareValues(java.lang.Object value1,
java.lang.Object value2)
Compares 2 double values. |
protected int |
getInvalidFacetMsg()
|
protected java.lang.String |
getMaxExclusive(boolean isBase)
|
protected java.lang.String |
getMaxInclusive(boolean isBase)
|
protected java.lang.String |
getMinExclusive(boolean isBase)
|
protected java.lang.String |
getMinInclusive(boolean isBase)
|
protected void |
setEnumeration(java.util.Vector enumeration)
|
protected void |
setMaxExclusive(java.lang.String value)
|
protected void |
setMaxInclusive(java.lang.String value)
|
protected void |
setMinExclusive(java.lang.String value)
|
protected void |
setMinInclusive(java.lang.String value)
|
Methods inherited from class weblogic.apache.xerces.validators.datatype.AbstractNumericValidator |
boundsCheck,
clone,
validate |
Methods inherited from class weblogic.apache.xerces.validators.datatype.AbstractNumericFacetValidator |
checkBaseFacetConstraints,
checkFacetConstraints,
inheritAdditionalFacets,
initializeValues |
Methods inherited from class weblogic.apache.xerces.validators.datatype.AbstractDatatypeValidator |
getBaseValidator,
getErrorString,
getWSFacet,
setLocale |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DoubleDatatypeValidator() throws InvalidDatatypeFacetException
public DoubleDatatypeValidator(DatatypeValidator base, java.util.Hashtable facets, boolean derivedByList) throws InvalidDatatypeFacetException
Method Detail |
public int compare(java.lang.String value1, java.lang.String value2)
protected void assignAdditionalFacets(java.lang.String key, java.util.Hashtable facets) throws InvalidDatatypeFacetException
protected int compareValues(java.lang.Object value1, java.lang.Object value2)
value1
- - Doublevalue2
- - Doubleprotected void setMaxInclusive(java.lang.String value)
protected void setMinInclusive(java.lang.String value)
protected void setMaxExclusive(java.lang.String value)
protected void setMinExclusive(java.lang.String value)
protected void setEnumeration(java.util.Vector enumeration) throws InvalidDatatypeValueException
protected java.lang.String getMaxInclusive(boolean isBase)
protected java.lang.String getMinInclusive(boolean isBase)
protected java.lang.String getMaxExclusive(boolean isBase)
protected java.lang.String getMinExclusive(boolean isBase)
protected void checkContentEnum(java.lang.String content, java.lang.Object state, java.util.Vector enumeration) throws InvalidDatatypeValueException
content
- A string containing the content to be validatedenumeration
- A vector with enumeration stringsprotected void checkContent(java.lang.String content, java.lang.Object state, java.util.Vector enumeration, boolean asBase) throws InvalidDatatypeValueException
protected int getInvalidFacetMsg()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |