org.apache.xerces.impl.dv.dtd
Class DTDDVFactoryImpl
java.lang.Object
org.apache.xerces.impl.dv.DTDDVFactory
org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl
- Direct Known Subclasses:
- XML11DTDDVFactoryImpl
public class DTDDVFactoryImpl
- extends DTDDVFactory
the factory to create/return built-in schema DVs and create user-defined DVs
- Version:
- $Id: DTDDVFactoryImpl.java 699892 2008-09-28 21:08:27Z mrglavas $
- Author:
- Sandy Gao, IBM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTDDVFactoryImpl
public DTDDVFactoryImpl()
getBuiltInDV
public DatatypeValidator getBuiltInDV(String name)
- return a dtd type of the given name
- Specified by:
getBuiltInDV
in class DTDDVFactory
- Parameters:
name
- the name of the datatype
- Returns:
- the datatype validator of the given name
getBuiltInTypes
public Hashtable getBuiltInTypes()
- get all built-in DVs, which are stored in a hashtable keyed by the name
- Specified by:
getBuiltInTypes
in class DTDDVFactory
- Returns:
- a hashtable which contains all datatypes
Copyright © 2011. All Rights Reserved.