org.apache.xerces.validators.datatype
Class ListDatatypeValidator

public class ListDatatypeValidator
extends AbstractDatatypeValidator
StringValidator validates that XML content is a W3C string type.
SinceNot specified.
Version$Id: ListD
AuthorElena Litani, Jeffrey Rodriguez, Mark Swinkles - List Validation refactoring
Wiki javadoc Use textile entry format.
Add your comments here.
Fields inherited from org.apache.xerces.validators.datatypeAbstractDatatypeValidator
Constructor Summary
ListDatatypeValidator()
No description provided.
ListDatatypeValidator( DatatypeValidator base, Hashtable facets, boolean derivedByList )
No description provided.
Method Summary
protected void checkContentEnum( String content, Object state, Vector enumeration )
validate that a content is valid against base datatype and facets (if any)
Object clone()
Returns a copy of this object.
int compare( String value1, String value2 )
No description provided.
Hashtable getFacets()
No description provided.
Object validate( String content, Object state )
validate that a string is a W3C string type
Methods inherited from org.apache.xerces.validators.datatypeDatatypeValidator
ListDatatypeValidator
public ListDatatypeValidator ( )
No description provided.
Exceptions
InvalidDatatypeFacetException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
ListDatatypeValidator
public ListDatatypeValidator ( DatatypeValidator base, Hashtable facets, boolean derivedByList )
No description provided.
Parameters
TypeNameDescription
DatatypeValidator base No description provided.
Hashtable facets No description provided.
boolean derivedByList No description provided.
Exceptions
InvalidDatatypeFacetException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
checkContentEnum
protected void checkContentEnum ( String content, Object state, Vector enumeration )
validate that a content is valid against base datatype and facets (if any)
Parameters
TypeNameDescription
String content A string containing the content to be validated
Object state used with IDREF(s) datatypes
Vector enumeration enumeration facet
Returns void No description provided.
Exceptions
InvalidDatatypeValueException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
clone
public Object clone ( )
Returns a copy of this object.
Overrides method in AbstractDatatypeValidator
Exceptions
CloneNotSupportedException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
compare
public int compare ( String value1, String value2 )
No description provided.
Implements method in DatatypeValidator
Parameters
TypeNameDescription
String value1 No description provided.
String value2 No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
getFacets
public Hashtable getFacets ( )
No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
validate
public Object validate ( String content, Object state )
validate that a string is a W3C string type
Overrides method in AbstractDatatypeValidator
Parameters
TypeNameDescription
String content A string containing the content to be validated
Object state No description provided.
Exceptions
InvalidDatatypeValueException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.