|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.management.TraxDOMWriter
DOM Writer that uses the Java TRAX API for writing the Expresso configuration file. This requires that an Java TRAX compliant XSL engine is available in the classpath. An example of this is the Xalan library from Apache.
| Constructor Summary | |
TraxDOMWriter()
|
|
| Method Summary | |
String |
getRequiredClass()
Retrieve a class that must exist in the classpath for this to work. |
protected boolean |
isTraxInstalled()
Checks to make sure that the appropriate TransformerFactory is available before attempting to work with things. |
void |
saveDocument(OutputStream os,
org.w3c.dom.Document document)
Override to actually save a DOM document to the output stream via whatever method you desire |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TraxDOMWriter()
| Method Detail |
public void saveDocument(OutputStream os,
org.w3c.dom.Document document)
throws ExpressoRuntimeException
DOMWriter
saveDocument in interface DOMWriteros - The output stream to save todocument - the DOM document representing the config.
ExpressoRuntimeException - if there's an error saving the file.public String getRequiredClass()
getRequiredClass in interface DOMWriterprotected boolean isTraxInstalled()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||