Interface XSDatatypeExp.Renderer

All Known Implementing Classes:
SimpleContentRestrictionState.BaseContentTypeRenderer
Enclosing class:
XSDatatypeExp

public static interface XSDatatypeExp.Renderer
this object renders the actual datatype object.
  • Method Summary

    Modifier and Type
    Method
    Description
    creates (or retrieves, whatever) the actual, concrete, real XSDatatype object.
  • Method Details

    • render

      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:
      org.relaxng.datatype.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.