org.relaxng.datatype
Interface DatatypeLibrary


public interface DatatypeLibrary

Disabled: no SafeJ information.

A Datatype library


Method Summary
 Datatype createDatatype(String typeLocalName)
          Gets or creates a pre-defined type.
 DatatypeBuilder createDatatypeBuilder(String baseTypeLocalName)
          Creates a new instance of DatatypeBuilder.
 

Method Detail

createDatatypeBuilder

DatatypeBuilder createDatatypeBuilder(String baseTypeLocalName)
                                      throws DatatypeException
Class is disabled.

Creates a new instance of DatatypeBuilder. The callee should throw a DatatypeException in case of an error.

Parameters:
baseTypeLocalName - The local name of the base type.
Returns:
A non-null valid datatype object.
Throws:
DatatypeException

createDatatype

Datatype createDatatype(String typeLocalName)
                        throws DatatypeException
Class is disabled.

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.

Returns:
A non-null valid datatype object.
Throws:
DatatypeException