Class XJdfUnpackager


public class XJdfUnpackager extends AbstractXmlUnpackager
Unpackaging logic for XJDF Packages.
  • Constructor Details

    • XJdfUnpackager

      public XJdfUnpackager(String pathPackage) throws IOException
      Custom constructor. Accepting a XJDF Package Path for initializing.
      Parameters:
      pathPackage - Path to XJDF Package.
      Throws:
      IOException
  • Method Details

    • getXJdfDocument

      public XJdfNavigator getXJdfDocument() throws Exception
      Returns the XJDF Document covered by the XJDFNavigator.
      Returns:
      XJDF Document coverd by the XJDFNavigator.
      Throws:
      Exception
    • getXJdfDocument

      public final XJdfNavigator getXJdfDocument(boolean namespaceAware) throws Exception
      Returns the XJDF Document covered by the XJDFNavigator.
      Parameters:
      namespaceAware - Flag whether or not the navigator should be aware of the namespaces.
      Returns:
      XJDF document covered by the XJDFNavigator.
      Throws:
      Exception
    • unpackageXJdfTemp

      public String unpackageXJdfTemp(String appName) throws IOException
      Unpackage an XJDF Package to a temporary directory.
      Returns:
      The path of the master document.
      Throws:
      IOException
    • unpackageXJdfTemp

      public String unpackageXJdfTemp() throws IOException
      Unpackage an XJDF Package to a temporary directory.
      Returns:
      The path of the master document.
      Throws:
      IOException
    • unpackageXJdf

      public String unpackageXJdf(String targetDir) throws IOException
      Unpackage an XJDF Package to a target directory.
      Parameters:
      targetDir - Target directory for unpackaging.
      Returns:
      The path of the master document.
      Throws:
      IOException
    • getMasterExtension

      protected String[] getMasterExtension()
      Description copied from class: AbstractXmlUnpackager
      Defines the file extension of the master file.
      Specified by:
      getMasterExtension in class AbstractXmlUnpackager
      Returns:
      Array of master file extensions.
      See Also: