Package | Description |
---|---|
uk.org.taverna.scufl2.ucfpackage.impl.odfdom.pkg |
Modifier and Type | Method and Description |
---|---|
static OdfPackage |
OdfPackage.create() |
static OdfPackage |
OdfPackage.loadPackage(File odfFile)
Loads an OdfPackage from the OpenDocument provided by a File.
|
static OdfPackage |
OdfPackage.loadPackage(InputStream odfStream)
Creates an OdfPackage from the OpenDocument provided by a InputStream.
|
static OdfPackage |
OdfPackage.loadPackage(String odfPath)
Loads an OdfPackage from the given filePath.
|
Modifier and Type | Method and Description |
---|---|
XMLReader |
OdfXMLHelper.newXMLReader(OdfPackage pkg)
create an XMLReader
with a Resolver set to parse content in a ODF Package
|
void |
OdfXMLHelper.parse(OdfPackage pkg,
String path,
ContentHandler contentHandler,
ErrorHandler errorHandler)
use SAX parser to parse content of package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
File template)
Do XSL-Transformation on content contained in package
insert result back to package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
File template,
File out)
Do XSL-Transformation on content contained in package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
Source templateSource,
File out)
Do XSL-Transformation on content contained in package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
Source templateSource,
Result result)
Do XSL-Transformation on content contained in package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
Source templateSource,
String outPath)
Do XSL-Transformation on content contained in package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
String templatePath)
Do XSL-Transformation on content contained in package
insert result back to package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
String templatePath,
String outPath)
Do XSL-Transformation on content contained in package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
Templates templates)
Do XSL-Transformation on content contained in package
and insert result back to package
|
void |
OdfXMLHelper.transform(OdfPackage pkg,
String path,
Templates templates,
Result result)
Does an XSL-Transformation on content contained in package.
There are three default parameteres provided to the transformation: There are three default parameteres provided to the transformation: sourceURL: the URL of the source directory sourceBaseURL: baseURL of the source file (the package). |
Copyright © 2014 myGrid. All rights reserved.