com.sun.msv.reader.datatype.xsd
public class XSDatatypeExp extends ReferenceExp implements GrammarReader.BackPatch
Nested Class Summary | |
---|---|
interface | XSDatatypeExp.Renderer this object renders the actual datatype object. |
static class | XSDatatypeExp.RenderingContext
this object is used to keep the information about
the dependency between late-bind datatype objects.
|
Constructor Summary | |
---|---|
XSDatatypeExp(XSDatatype dt, ExpressionPool _pool) Creates this object from existing XSDatatype. | |
XSDatatypeExp(String nsUri, String typeName, GrammarReader reader, XSDatatypeExp.Renderer _renderer) Creates lazily created datatype. |
Method Summary | |
---|---|
XSDatatypeExp | createFinalizedType(int finalValue, GrammarReader reader) Derives a new type by setting final values. |
XSTypeIncubator | createIncubator()
Creates an incubator so that the caller can add more facets
and derive a new type. |
XSDatatypeExp | getClone() Gets a clone of this object. |
XSDatatype | getCreatedType()
Gets a encapsulated datatype object
This method can be called only after all the datatypes are created.
Some of the datatypes are lazily during the back-patching phase. |
State | getOwnerState() |
XSDatatype | getType(XSDatatypeExp.RenderingContext context)
Gets the type definition.
|
boolean | isLateBind() |
static XSDatatypeExp | makeList(String nsUri, String typeName, XSDatatypeExp itemType, GrammarReader reader) Derives a new type by list. |
static XSDatatypeExp | makeUnion(String typeNameUri, String typeName, Collection members, GrammarReader reader) Derives a new type by union. |
void | patch() Renders the type (GrammarReader.BackPatch implementation). |
void | redefine(XSDatatypeExp rhs) Updates this object by copying the state from rhs |
Some of the datatypes are lazily during the back-patching phase.