|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aurigalogic.aurigadoc.util.Util
Utility class.
Method Summary | |
static void |
doXSLTransform(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
java.lang.String xslFile,
java.lang.String outputMethod,
java.util.Properties params)
Takes the xml source and write the output to the given stream by doing an xsl transformation. |
static byte[] |
mergeDocument(java.lang.String fileName)
Merges a document by resolving all xincludes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void doXSLTransform(java.io.InputStream inputStream, java.io.OutputStream outputStream, java.lang.String xslFile, java.lang.String outputMethod, java.util.Properties params) throws java.lang.Exception
inputStream
- the input streamoutputStream
- the output streamxslFile
- the xsl file pathoutputMethod
- the output method(text,html,xml)
java.lang.Exception
- in case of an error.public static byte[] mergeDocument(java.lang.String fileName) throws java.lang.Exception
fileName
- the xml file name.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |