< prev index next >

src/com/sun/org/apache/xerces/internal/impl/dv/xs/ExtendedSchemaDVFactoryImpl.java

Print this page
rev 2127 : 8048021: Remove @version tag in jaxp repo
Reviewed-by: joehw


  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xerces.internal.impl.dv.xs;
  23 
  24 import com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType;
  25 import com.sun.org.apache.xerces.internal.util.SymbolHash;
  26 
  27 /**
  28  * A special factory to create/return built-in schema DVs and create user-defined DVs
  29  * that includes anyAtomicType, yearMonthDuration and dayTimeDuration
  30  *
  31  * @xerces.internal
  32  *
  33  * @author Khaled Noaman, IBM
  34  *
  35  * @version $Id: ExtendedSchemaDVFactoryImpl.java,v 1.2 2010-10-26 23:01:03 joehw Exp $
  36  */
  37 public class ExtendedSchemaDVFactoryImpl extends BaseSchemaDVFactory {
  38 
  39     static SymbolHash fBuiltInTypes = new SymbolHash();
  40     static {
  41         createBuiltInTypes();
  42     }
  43 
  44     // create all built-in types
  45     static void createBuiltInTypes() {
  46         final String ANYATOMICTYPE     = "anyAtomicType";
  47         final String DURATION          = "duration";
  48         final String YEARMONTHDURATION = "yearMonthDuration";
  49         final String DAYTIMEDURATION   = "dayTimeDuration";
  50 
  51         createBuiltInTypes(fBuiltInTypes, XSSimpleTypeDecl.fAnyAtomicType);
  52 
  53         // add anyAtomicType
  54         fBuiltInTypes.put(ANYATOMICTYPE, XSSimpleTypeDecl.fAnyAtomicType);
  55 




  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xerces.internal.impl.dv.xs;
  23 
  24 import com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType;
  25 import com.sun.org.apache.xerces.internal.util.SymbolHash;
  26 
  27 /**
  28  * A special factory to create/return built-in schema DVs and create user-defined DVs
  29  * that includes anyAtomicType, yearMonthDuration and dayTimeDuration
  30  *
  31  * @xerces.internal
  32  *
  33  * @author Khaled Noaman, IBM
  34  *

  35  */
  36 public class ExtendedSchemaDVFactoryImpl extends BaseSchemaDVFactory {
  37 
  38     static SymbolHash fBuiltInTypes = new SymbolHash();
  39     static {
  40         createBuiltInTypes();
  41     }
  42 
  43     // create all built-in types
  44     static void createBuiltInTypes() {
  45         final String ANYATOMICTYPE     = "anyAtomicType";
  46         final String DURATION          = "duration";
  47         final String YEARMONTHDURATION = "yearMonthDuration";
  48         final String DAYTIMEDURATION   = "dayTimeDuration";
  49 
  50         createBuiltInTypes(fBuiltInTypes, XSSimpleTypeDecl.fAnyAtomicType);
  51 
  52         // add anyAtomicType
  53         fBuiltInTypes.put(ANYATOMICTYPE, XSSimpleTypeDecl.fAnyAtomicType);
  54 


< prev index next >