Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.relaxng.datatype
Interface DatatypeLibrary  view DatatypeLibrary download DatatypeLibrary.java


public interface DatatypeLibrary

A Datatype library


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

Method Detail

createDatatypeBuilder

public DatatypeBuilder createDatatypeBuilder(java.lang.String baseTypeLocalName)
                                      throws DatatypeException
Creates a new instance of DatatypeBuilder. The callee should throw a DatatypeException in case of an error.


createDatatype

public Datatype createDatatype(java.lang.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.