public void readXML(Element element) {
    super.readXML(element);

    NodeList nodeList = element.getChildNodes();
    final int length = nodeList.getLength();
    for (int i = 0; i < length; i++) {
      org.w3c.dom.Node node = nodeList.item(i);
      if (!(node instanceof Element)) continue;
      Element element1 = (Element) node;
      String tmpName = element1.getNodeName();

      if ("ToString".equals(tmpName)) {
        String tmpVal = BaseUtils.getElementValue(element1);

        this.context = tmpVal;
      }
      if ("LParenthesis".equals(tmpName)) {
        String tmpVal = BaseUtils.getElementValue(element1);

        this.lParenthesis = tmpVal;
      }
      if ("RParenthesis".equals(tmpName)) {
        String tmpVal = BaseUtils.getElementValue(element1);

        this.rParenthesis = tmpVal;
      }

      if ("FilterEnum".equals(tmpName)) {
        String s3;
        if ((s3 = BaseUtils.getAttrValue(element1, "enumID")) != null) setEnumID(s3);
        if ((s3 = BaseUtils.getAttrValue(element1, "nodeID")) != null) setNodeID(s3);
        continue;
      }
    }
  }
  public void asXML(StringBuffer buffer) {
    super.asXML(buffer);

    if (context != null) {
      buffer.append("<ToString>");
      AsXMLUtil.appendCDATA(buffer, context);
      buffer.append("</ToString>");
    }

    if (lParenthesis != null) {
      buffer.append("<LParenthesis>");
      AsXMLUtil.appendCDATA(buffer, lParenthesis);
      buffer.append("</LParenthesis>");
    }
    if (rParenthesis != null) {
      buffer.append("<RParenthesis>");
      AsXMLUtil.appendCDATA(buffer, rParenthesis);
      buffer.append("</RParenthesis>");
    }

    if (buffer == null) return;
    buffer.append("<FilterEnum");
    AsXMLUtil.append(buffer, "enumID", enumID);
    AsXMLUtil.append(buffer, "nodeID", nodeID);
    buffer.append("/>");
  }