private Vector getNodeVector(String nodeName) throws Exception {
    NodeList componentsNodeList = this.document.getElementsByTagName(nodeName);

    if (componentsNodeList != null && componentsNodeList.getLength() > 0) {
      Vector viewNodeVector =
          DomSearchHelper.getAllNodes(
              TransformInfoData.getInstance().NAME, componentsNodeList.item(0).getChildNodes());

      int numberOfViews = viewNodeVector.size();

      if (abcs.logic.communication.log.config.type.LogConfigTypes.LOGGING.contains(
          abcs.logic.communication.log.config.type.LogConfigType.VIEW)) {
        StringBuffer stringBuffer = new StringBuffer();

        stringBuffer.append("Number Of ");
        stringBuffer.append(nodeName);
        stringBuffer.append(" Nodes: ");
        stringBuffer.append(numberOfViews);

        LogUtil.put(
            LogFactory.getInstance(stringBuffer.toString(), this, "getNodeVector(nodename)"));
        // LogUtil.put(LogFactory.getInstance("Document: " +
        // DomHelper.toString(this.document), this, "getComponents()"));
      }
      return viewNodeVector;
    }
    return new Vector();
  }
  // Looks to see if view is in this TransformInfoObjectConfig
  // Usually used for updating a sites templates
  public boolean containsView(TransformInfoInterface transformInfoInterface) {
    Node objectConfigNode =
        this.document
            .getElementsByTagName(TransformInfoObjectConfigData.getInstance().NAME)
            .item(0);

    NodeList viewNodeList = objectConfigNode.getChildNodes();
    int numberOfViews = viewNodeList.getLength();

    for (int index = 0; index < numberOfViews; index++) {
      Node viewNode = viewNodeList.item(index);
      NamedNodeMap viewAttributes = viewNode.getAttributes();
      Attr attrNode = (Attr) viewAttributes.getNamedItem(TransformInfoData.getInstance().NAME);
      if (transformInfoInterface.getName().compareTo(attrNode.getValue()) == 0) {
        return true;
      }
    }
    return false;
  }
 public Vector getParentTransforms() throws Exception {
   return this.getTransforms(TransformInfoData.getInstance().PARENT);
 }
  public Vector getTransformsGroup(String group) throws Exception {
    if (abcs.logic.communication.log.config.type.LogConfigTypes.LOGGING.contains(
        abcs.logic.communication.log.config.type.LogConfigType.VIEW)) {
      LogUtil.put(LogFactory.getInstance("Started: " + group, this, "getTransformsGroup()"));
    }

    Vector viewVector = new Vector();

    final String GROUP = TransformInfosData.getInstance().GROUP;

    NodeList componentsNodeList = this.document.getElementsByTagName(GROUP);

    if (componentsNodeList != null && componentsNodeList.getLength() > 0) {
      Node componentsNode = componentsNodeList.item(0);

      int length = componentsNodeList.getLength();
      for (int index = 0; index < length; index++) {
        Node node = componentsNodeList.item(index);
        NamedNodeMap attributes = node.getAttributes();
        Attr attrNode = (Attr) attributes.getNamedItem(GROUP);
        String value = attrNode.getValue();

        if (value.compareTo(group) == 0) {
          componentsNode = node;
          break;
        }
      }

      Vector viewNodeVector =
          DomSearchHelper.getAllNodes(
              TransformInfoData.getInstance().NAME, componentsNode.getChildNodes());

      int numberOfViews = viewNodeVector.size();

      if (abcs.logic.communication.log.config.type.LogConfigTypes.LOGGING.contains(
          abcs.logic.communication.log.config.type.LogConfigType.VIEW)) {
        LogUtil.put(
            LogFactory.getInstance(
                "Number Of Nodes: " + numberOfViews, this, "getTransformsGroup()"));
        // LogUtil.put(LogFactory.getInstance("Document: " +
        // DomHelper.toString(this.document), this, "getTransformsGroup()");
      }

      Iterator iter = viewNodeVector.iterator();
      while (iter.hasNext()) {
        Node viewNode = (Node) iter.next();
        viewVector.add(new TransformInfoDomNode(viewNode));
      }
    } else {
      if (abcs.logic.communication.log.config.type.LogConfigTypes.LOGGING.contains(
          abcs.logic.communication.log.config.type.LogConfigType.VIEW)) {
        if (componentsNodeList == null) {
          LogUtil.put(
              LogFactory.getInstance("Number Of Nodes: NULL", this, "getTransformsGroup()"));
        } else {
          LogUtil.put(LogFactory.getInstance("Number Of Nodes: 0", this, "getTransformsGroup()"));
        }
      }
    }

    return viewVector;
  }