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

Enclosing interface:
XSDatatypeExp

public static interface XSDatatypeExp.Renderer

this object renders the actual datatype object.


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

Method Detail

render

public XSDatatype render(XSDatatypeExp.RenderingContext context)
                  throws org.relaxng.datatype.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:
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.
org.relaxng.datatype.DatatypeException


Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 26 2005.