public abstract class UpdatableXmlFile extends UpdatableFile
myFile| Constructor and Description |
|---|
UpdatableXmlFile(java.nio.file.Path file)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.xml.transform.Transformer |
compile(java.lang.String rsrc_name)
Compile a stylesheet.
|
protected void |
transform(javax.xml.transform.Transformer trans)
Transform the file with the transformer.
|
createEmpty, updatepublic UpdatableXmlFile(java.nio.file.Path file)
throws PackageException
file - the XML file pathPackageException - if an error occursprotected javax.xml.transform.Transformer compile(java.lang.String rsrc_name)
throws PackageException
rsrc_name - the resource namePackageException - if an error occursprotected void transform(javax.xml.transform.Transformer trans)
throws PackageException
trans - the transformerPackageException - if an error occursCopyright © 2015-2023 EXPath. All Rights Reserved