public class XMLUpgrader
extends java.lang.Object
| Constructor and Description |
|---|
XMLUpgrader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applySchematronXsl(java.io.InputStream xmlFile,
java.io.OutputStream EN16931Outstream) |
java.lang.String |
migrateFromV1ToV2(java.lang.String xmlFilename)
Takes a filename of a ZF1 XML file and returns the string of ZF2 XML
|
public java.lang.String migrateFromV1ToV2(java.lang.String xmlFilename)
throws java.io.FileNotFoundException,
javax.xml.transform.TransformerException,
java.io.UnsupportedEncodingException
xmlFilename - the filename of the sourcejava.io.FileNotFoundException - if the source could not be foundjavax.xml.transform.TransformerException - if the source could not be transformedjava.io.UnsupportedEncodingException - if the source was not utf8protected void applySchematronXsl(java.io.InputStream xmlFile,
java.io.OutputStream EN16931Outstream)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionCopyright © 2023. All rights reserved.