|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.impl.dv.dtd.AbstractDatatypeValidator | +--org.apache.xerces.impl.dv.dtd.ListDatatypeValidator
StringValidator validates that XML content is a W3C string type.
Fields inherited from class org.apache.xerces.impl.dv.dtd.AbstractDatatypeValidator |
fFacets |
Constructor Summary | |
ListDatatypeValidator()
|
|
ListDatatypeValidator(DatatypeValidator base,
java.util.Hashtable facets,
boolean derivedByList)
|
Method Summary | |
java.lang.Object |
clone()
Returns a copy of this object. |
int |
compare(java.lang.String content,
java.lang.String facetValue)
compare |
java.util.Hashtable |
getFacets()
getFacets |
java.lang.Object |
getInternalStateInformation()
This method returns some internal state of a statefull validator |
void |
initialize(java.lang.Object documentInstanceState)
Initializes the internal datattype state with documentInstance state information |
void |
setLocale(java.util.Locale locale)
set the locate to be used for error messages |
void |
validate()
Initializes the internal datatype state |
void |
validate(java.lang.String content,
java.lang.Object state)
validate that a string is a W3C string type |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ListDatatypeValidator() throws InvalidDatatypeFacetException
public ListDatatypeValidator(DatatypeValidator base, java.util.Hashtable facets, boolean derivedByList) throws InvalidDatatypeFacetException
Method Detail |
public void validate(java.lang.String content, java.lang.Object state) throws InvalidDatatypeValueException
content
- A string containing the content to be validatedlist
- public void setLocale(java.util.Locale locale)
public java.util.Hashtable getFacets()
public int compare(java.lang.String content, java.lang.String facetValue)
value1
- value2
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public void initialize(java.lang.Object documentInstanceState)
Initializes the internal datattype state with documentInstance state information
This method should be called before calling the validate method
documentInstanceState
- public void validate() throws InvalidDatatypeValueException
Initializes the internal datatype state
public java.lang.Object getInternalStateInformation()
This method returns some internal state of a statefull validator
It returns a reference to the internal state
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |