Class XJdfUnpackager

    • Constructor Detail

      • XJdfUnpackager

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

      • getXJdfDocument

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

        public final XJdfNavigator getXJdfDocument​(boolean namespaceAware)
                                            throws java.lang.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:
        java.lang.Exception
      • unpackageXJdfTemp

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

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

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