Class CompatibilityDatatypeLibrary
java.lang.Object
com.sun.msv.grammar.relaxng.datatype.CompatibilityDatatypeLibrary
- All Implemented Interfaces:
org.relaxng.datatype.DatatypeLibrary
public class CompatibilityDatatypeLibrary
extends Object
implements org.relaxng.datatype.DatatypeLibrary
RELAX NG DTD compatibility datatype library.
This implementation relies on Sun XML Datatypes Library.
Compatibility datatypes library available through
http://relaxng.org/ns/compatibility/datatypes/1.0
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
namespace URI of the compatibility datatypes library. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.relaxng.datatype.Datatype
createDatatype
(String name) org.relaxng.datatype.DatatypeBuilder
createDatatypeBuilder
(String name)
-
Field Details
-
namespaceURI
namespace URI of the compatibility datatypes library.- See Also:
-
-
Constructor Details
-
CompatibilityDatatypeLibrary
public CompatibilityDatatypeLibrary()
-
-
Method Details
-
createDatatype
public org.relaxng.datatype.Datatype createDatatype(String name) throws org.relaxng.datatype.DatatypeException - Specified by:
createDatatype
in interfaceorg.relaxng.datatype.DatatypeLibrary
- Throws:
org.relaxng.datatype.DatatypeException
-
createDatatypeBuilder
public org.relaxng.datatype.DatatypeBuilder createDatatypeBuilder(String name) throws org.relaxng.datatype.DatatypeException - Specified by:
createDatatypeBuilder
in interfaceorg.relaxng.datatype.DatatypeLibrary
- Throws:
org.relaxng.datatype.DatatypeException
-