public abstract class AbstractXmlPackager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractXmlPackager.CompressionLevel
ZIP Compression Level
|
| Constructor and Description |
|---|
AbstractXmlPackager(byte[] xmlDoc)
Custom constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractXmlPackager.CompressionLevel |
getCompressionLevel()
Getter for compressionLevel attribute.
|
protected byte[] |
getXmlDoc()
Getter for xmlDoc attribute.
|
protected void |
packageXml(OutputStream os,
String docName)
Packages an XJDF Document to a zipped binary output stream.
|
protected void |
registerFiles(String xPathAttribute,
String targetDir)
Check all attributes, defined by an xpath expression, for file URLs and update and register in fileMap.
|
void |
setCompressionLevel(AbstractXmlPackager.CompressionLevel compressionLevel)
Setter for compressionLevel attribute.
|
protected byte[] getXmlDoc()
public AbstractXmlPackager.CompressionLevel getCompressionLevel()
public void setCompressionLevel(AbstractXmlPackager.CompressionLevel compressionLevel)
compressionLevel - the compressionLevel to setprotected void packageXml(OutputStream os, String docName) throws Exception
os - Target OutputStream where XJdfDocument is being packaged.Exceptionprotected void registerFiles(String xPathAttribute, String targetDir) throws XPathExpressionException
xPathAttribute - XPath expression which defins a set of Attributes in XJDF Document.XPathExpressionExceptionCopyright © 2013. All Rights Reserved.