Home » Open-JDK-6.b17-src » org.relaxng » datatype » [javadoc | source]
org.relaxng.datatype
public interface: DatatypeLibrary [javadoc | source]

All Known Implementing Classes:
    BuiltinDatatypeLibrary, CompatibilityDatatypeLibrary

A Datatype library
Method from org.relaxng.datatype.DatatypeLibrary Summary:
createDatatype,   createDatatypeBuilder
Method from org.relaxng.datatype.DatatypeLibrary Detail:
 public Datatype createDatatype(String typeLocalName) throws DatatypeException
    Gets or creates a pre-defined type. This is just a short-cut of createDatatypeBuilder(typeLocalName).createDatatype(); The callee should throw a DatatypeException in case of an error.
 public DatatypeBuilder createDatatypeBuilder(String baseTypeLocalName) throws DatatypeException
    Creates a new instance of DatatypeBuilder. The callee should throw a DatatypeException in case of an error.