|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectumich.cac.util.XmlUtil
XML utilities
| Field Summary | |
static java.util.logging.Logger |
logger
Logger |
| Constructor Summary | |
XmlUtil()
|
|
| Method Summary | |
static org.w3c.dom.Document |
createOutputDOM(org.w3c.dom.Document domSource,
java.lang.String xslFileName)
Create an output DOM from an XSL transform given DOM source and XSLfile. |
static void |
createOutputFile(org.w3c.dom.Document domSource,
java.lang.String xslFileName,
java.lang.String outputFileName)
Create a output file from a XSL transform given DOM source and XSLfile |
static void |
createStreamOutputFile(org.w3c.dom.Document domSource,
java.lang.String xslFileName,
java.lang.String outputFileName)
Create a output file from a XSL transform given DOM source and XSLfile Used for joblog and other type transforms that don't result in DOM result after transform |
static org.w3c.dom.Document |
parseXmlFile(java.lang.String filename,
boolean validating)
Parses an XML file and returns a DOM document. |
static void |
writeXmlFile(org.w3c.dom.Document doc,
java.lang.String filename)
This method writes a DOM document to a file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.util.logging.Logger logger
| Constructor Detail |
public XmlUtil()
| Method Detail |
public static void writeXmlFile(org.w3c.dom.Document doc,
java.lang.String filename)
doc - DOM to write to filefilename - Name of the file to write
public static void createOutputFile(org.w3c.dom.Document domSource,
java.lang.String xslFileName,
java.lang.String outputFileName)
domSource - DOM object to write outxslFileName - name of XSL file to useoutputFileName - name of output file
public static org.w3c.dom.Document createOutputDOM(org.w3c.dom.Document domSource,
java.lang.String xslFileName)
domSource - DOM object to write outxslFileName - name of XSL file to use
public static void createStreamOutputFile(org.w3c.dom.Document domSource,
java.lang.String xslFileName,
java.lang.String outputFileName)
domSource - DOM object to write outxslFileName - name of XSL file to useoutputFileName - name of output file
public static org.w3c.dom.Document parseXmlFile(java.lang.String filename,
boolean validating)
filename - Filename containing XML to parsevalidating - true, validate contents against the DTD specified in filename
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||