286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 2001, 2002,2004 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A * class. It provides extra information XSSimpleTypeDecl requires from each 286N/A * type: allowed facets, converting String to actual value, check equality, 286N/A * @author Neeraj Bajaj, Sun Microsystems, inc. 286N/A * @author Sandy Gao, IBM 286N/A // which facets are allowed for this type 286N/A // convert a string to an actual value. for example, 286N/A // for number types (decimal, double, float, and types derived from them), 286N/A // get the BigDecimal, Double, Flout object. 286N/A // for some types (string and derived), they just return the string itself 286N/A // checked to be valid with respect to both lexical representation and 286N/A // the following methods might not be supported by every DV. 286N/A // but XSSimpleTypeDecl should know which type supports which methods, 286N/A // and it's an *internal* error if a method is called on a DV that 286N/A // where there is distinction between identity and equality, this method 286N/A // checks whether the two values are identical; for ex, this distinguishes 286N/A // check the order relation between the two values 286N/A // the parameters are in compiled form (from getActualValue) 286N/A // get the length of the value 286N/A // the parameters are in compiled form (from getActualValue) 286N/A // get the number of digits of the value 286N/A // the parameters are in compiled form (from getActualValue) 286N/A // get the number of fraction digits of the value 286N/A // the parameters are in compiled form (from getActualValue) 286N/A // check whether the character is in the range 0x30 ~ 0x39 286N/A // if the character is in the range 0x30 ~ 0x39, return its int value (0~9), 286N/A // otherwise, return -1 286N/A}
// interface TypeValidator