Package nz.govt.natlib.xsl

Examples of nz.govt.natlib.xsl.XSLTFunctions


    return parentHarvester.getOutputType();
    //"nlnz_presmet.xsd";
  }

  private void writeObjectDetails(PropertySource props) {
    XSLTFunctions func = new XSLTFunctions();
    try {
      writeTag("Name", props.getProperty("Name", null));
      writeTag("ID", props.getProperty("ID", null));
      writeTag("ReferenceNumber", props.getProperty("Reference Number",
          null));
      writeTag("GroupIdentifier", props.getProperty("Group ID", null));
      writeTag("PersistentIdentifier", props.getProperty(
          "Persistent Identifier", null));
      FXUtil.writeDateTag(formatter, "MasterCreationDate", new Date());
      writeTag("ObjectComposition", props.getProperty("type", null));
      // writeTag("IsPartOfGroup",props.getProperty("Part of
      // Group",null));
      startTag("StructuralType");
      writeTag("Name", "");
      writeTag("Extension", "");
      endTag("StructuralType");
      writeTag("HardwareEnvironment", func.getHardwareEnvironment());
      writeTag("SoftwareEnvironment", func.getSoftwareEnvironment());
      writeTag("InstallationRequirements", props.getProperty(
          "Installation Requirements", null));
      writeTag("AccessInhibitors", props.getProperty("Access Inhibitors",
          null));
      writeTag("AccessFacilitators", props.getProperty(
View Full Code Here


    writeFileInfo(file, ctx);
    ctx.fireEndParseEvent("default");
  }

  public String getMimeType(File file) {
    XSLTFunctions func = new XSLTFunctions();
    return "" + func.getMimeType(file.getName());
  }
View Full Code Here

TOP

Related Classes of nz.govt.natlib.xsl.XSLTFunctions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.