org.apache.xerces.impl.validation.datatypes.eTypes.xml
Class xmlFactory
java.lang.Object
|
+--org.apache.xerces.impl.validation.datatypes.eTypes.xml.xmlFactory
- public class xmlFactory
- extends java.lang.Object
Supplies objects which will validate the XML Schema built-in types.
- Version:
- $Id: xmlFactory.java,v 1.1.2.1 2000/10/28 00:04:55 jeffreyr Exp $
- Author:
- Leonard C. Berman, Jeffrey Rodriguez
Field Summary |
static java.lang.String[] |
types
types which can be created using getXMLType( name ) |
static java.lang.Object[] |
xmlIntegerTypes
Format is string naming xml-type, followed by two doubles which specify the
lower and upper bound respectively. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
types
public static final java.lang.String[] types
- types which can be created using getXMLType( name )
xmlIntegerTypes
public static final java.lang.Object[] xmlIntegerTypes
- Format is string naming xml-type, followed by two doubles which specify the
lower and upper bound respectively. If a double is null, there is no
restriction on that bound. Legal types are:
positive-integer non-positive-integer negative-integer non-negative-integer
unsigned-byte unsigned-short unsigned-int unsigned-long unsigned-long unsigned-int
unsigned-short unsigned-byte
The values +/- 100e+1000 used below are +/- Infinity. If we go to unbounded numbers,
they may need to be changed
xmlFactory
public xmlFactory()
getSimpleTypeNames
public static java.util.Enumeration getSimpleTypeNames()
getXMLProperty
public static Property getXMLProperty(java.lang.String str)
getXMLType
public static Property getXMLType(java.lang.String str)
setXMLIntegerType
public static void setXMLIntegerType(mNumber num,
java.lang.String type)
- Imposes the ranges associated with the following xml built-in derived types with
anything derived from mNumber.
positive-integer non-positive-integer negative-integer non-negative-integer
unsigned-byte unsigned-short unsigned-int unsigned-long unsigned-long unsigned-int
unsigned-short unsigned-byte
Copyright © 1999-2001 Apache XML Project. All Rights Reserved.