Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thaiopensource.relaxng.impl
Class BuiltinDatatypeLibrary

    java.lang.Object
      com.thaiopensource.relaxng.impl.BuiltinDatatypeLibrary

All Implemented Interfaces:
  DatatypeLibrary

public class BuiltinDatatypeLibrary
extends java.lang.Object
implements DatatypeLibrary

Constructor Summary
`BuiltinDatatypeLibrary()`

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BuiltinDatatypeLibrary

    public BuiltinDatatypeLibrary()

Method Detail

### createDatatypeBuilder

    public DatatypeBuilder createDatatypeBuilder(java.lang.String type)
                                          throws DatatypeException

  Description copied from interface: `DatatypeLibrary`
  Creates a new instance of DatatypeBuilder. The callee should throw a DatatypeException in case of an error.

  Specified by:
    `createDatatypeBuilder` in interface `DatatypeLibrary`
  Parameters:
    `type` - The local name of the base type.
  Returns:
    A non-null valid datatype object.
  Throws:
    `DatatypeException`

### createDatatype

    public Datatype createDatatype(java.lang.String type)
                            throws DatatypeException

  Description copied from interface: `DatatypeLibrary`
  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.

  Specified by:
    `createDatatype` in interface `DatatypeLibrary`
  Returns:
    A non-null valid datatype object.
  Throws:
    `DatatypeException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright SyncRO Soft SRL 2006-2007.