コード例 #1
0
  public TransformInfoObjectConfig(TransformInfoInterface transformInfoInterface, Document document)
      throws Exception {
    this.ownerTransformInfoInterface = transformInfoInterface;

    this.document = document;

    Node node =
        DomSearchHelper.getNodeNoThrow(
            OutputTypeData.getInstance().NAME, this.getRootNode().getChildNodes());
    if (node != null) {
      this.setOutputTypeName(DomNodeHelper.getTextNodeValue(node));
    }

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

      stringBuffer.append("TransformInfo: ");

      if (this.ownerTransformInfoInterface != null) {
        stringBuffer.append(this.ownerTransformInfoInterface.getName());
      } else {
        stringBuffer.append("No Owner!?#@");
      }

      stringBuffer.append("\nConstructed with document: ");
      stringBuffer.append(this.toString());

      LogUtil.put(
          LogFactory.getInstance(
              stringBuffer.toString(), this, "Constructor(TransformInfoInterface, Document)"));
    }
  }
コード例 #2
0
 public String getImportUriPath() throws Exception {
   Node node =
       DomSearchHelper.getNode(
           XslData.getInstance().ROOT_IMPORT_URI, this.getRootNode().getChildNodes());
   return DomNodeHelper.getTextNodeValue(node);
 }
コード例 #3
0
 public String getInputOutputTypeFile() throws Exception {
   Node node =
       DomSearchHelper.getNode(
           InputOutputTypeData.getInstance().FILE, this.getRootNode().getChildNodes());
   return DomNodeHelper.getTextNodeValue(node);
 }