1 57 58 package org.enhydra.apache.xerces.validators.datatype; 59 60 import java.util.Hashtable ; 61 62 72 public class NOTATIONDatatypeValidator extends AbstractStringValidator { 73 74 75 80 81 public NOTATIONDatatypeValidator () throws InvalidDatatypeFacetException { 82 this ( null, null, false ); } 84 85 public NOTATIONDatatypeValidator ( DatatypeValidator base, Hashtable facets, 86 boolean derivedByList ) throws InvalidDatatypeFacetException { 87 88 super (base, facets, derivedByList); 89 91 101 102 } 103 104 protected void assignAdditionalFacets(String key, Hashtable facets) throws InvalidDatatypeFacetException{ 105 throw new InvalidDatatypeFacetException( getErrorString(DatatypeMessageProvider.ILLEGAL_STRING_FACET, 106 DatatypeMessageProvider.MSG_NONE, new Object [] { key })); 107 } 108 109 110 protected void checkValueSpace (String content) throws InvalidDatatypeValueException { 111 112 123 124 } 125 126 public int compare( String content1, String content2){ 127 return content1.equals(content2)?0:-1; 129 } 130 } 131 | Popular Tags |