com.sun.msv.reader.datatype.xsd
Interface XSDatatypeExp.Renderer

Enclosing class:
XSDatatypeExp

public static interface XSDatatypeExp.Renderer

this object renders the actual datatype object.


Method Summary
 com.sun.msv.datatype.xsd.XSDatatype render(XSDatatypeExp.RenderingContext context)
          creates (or retrieves, whatever) the actual, concrete, real XSDatatype object.
 

Method Detail

render

com.sun.msv.datatype.xsd.XSDatatype render(XSDatatypeExp.RenderingContext context)
                                           throws DatatypeException
creates (or retrieves, whatever) the actual, concrete, real XSDatatype object.

This method is typically called from the wrapUp method of the GrammarReader.

Parameters:
context - If this renderer calls the getBody method of the other LateBindDatatype objects, then this context should be passed to the getBody method. This context object is responsible for detecting recursive references.
Returns:
the XSDatatype object which this LateBindDatatype object is representing. It shall not return an instance of LateBindDatatype object.
Throws:
DatatypeException - If an error occurs during rendering, the renderer should throw a DatatypeException instead of trying to report an error by itself. The caller of this method will report an error message to the appropriate handler.