Top Fields Constructors Methods
com.sun.tools.rngom.dt.builtin

pack-priv Class BuiltinDatatypeBuilder

extends Object
implements DatatypeBuilder
Class Inheritance
All Implemented Interfaces
com.sun.tools.rngdatatype.DatatypeBuilder
Imports
com.sun.tools.rngdatatype.Datatype, .DatatypeBuilder, .DatatypeException, .ValidationContext, com.sun.tools.rngom.util.Localizer

Field Summary

Modifier and TypeField and Description
private final Datatype
private static final Localizer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public Datatype
createDatatype()

Implements com.sun.tools.rngdatatype.DatatypeBuilder.createDatatype.

Derives a new Datatype from a Datatype by parameters that were already set through the addParameter method.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dtback to summary
private final Datatype dt
localizerback to summary
private static final Localizer localizer

Constructor Detail

BuiltinDatatypeBuilderback to summary
pack-priv BuiltinDatatypeBuilder(Datatype dt)

Method Detail

addParameterback to summary
public void addParameter(String name, String value, ValidationContext context) throws DatatypeException

Implements com.sun.tools.rngdatatype.DatatypeBuilder.addParameter.

Doc from com.sun.tools.rngdatatype.DatatypeBuilder.addParameter.

Adds a new parameter.

Exceptions
DatatypeException:
When the given parameter is inappropriate for some reason. The callee is responsible to recover from this error. That is, the object should behave as if no such error was occured.
createDatatypeback to summary
public Datatype createDatatype()

Implements com.sun.tools.rngdatatype.DatatypeBuilder.createDatatype.

Doc from com.sun.tools.rngdatatype.DatatypeBuilder.createDatatype.

Derives a new Datatype from a Datatype by parameters that were already set through the addParameter method.