public Vector getTransforms() throws Exception {
   return this.getTransforms(TransformInfosData.getInstance().NAME);
 }
 public Vector getGroupTransforms() throws Exception {
   return this.getTransforms(TransformInfosData.getInstance().GROUP);
 }
  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;
  }