// Javadoc inherited.
  public Object startElement(
      DynamicProcess dynamicProcess, ExpandedName element, Attributes attributes)
      throws SAXException {

    TemplateModel model = getModel(dynamicProcess);

    String evaluationMode = attributes.getValue("evaluationMode");
    EvaluationMode mode;
    if (evaluationMode == null) {
      mode = EvaluationMode.IMMEDIATE;
    } else {
      mode = EvaluationMode.literal(evaluationMode);
      if (mode == null) {
        throw forwardFatalError(dynamicProcess, "Unknown evaluation mode '" + evaluationMode + "'");
      }
    }

    if (mode != EvaluationMode.IMMEDIATE) {
      dynamicProcess.passThroughElementContents();
    }

    model.startValueDefinition(this.element, mode);
    return model;
  }
  // Javadoc inherited.
  protected void endElementImpl(DynamicProcess dynamicProcess, ExpandedName element, Object object)
      throws SAXException {

    TemplateModel model = (TemplateModel) object;
    model.endValueDefinition(this.element, complexity);
  }