|
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.XercesDOMWriter
This class writes the DOM structures to a file using specific Xerces capabilies. If you cannot use Xerces, then you'll need a TRAX compliant XSL parser and use the TraxDOMWriter supplied class instead.
| Constructor Summary | |
XercesDOMWriter()
|
|
| Method Summary | |
String |
getRequiredClass()
Retrieve a class that must exist in the classpath for this to work. |
protected boolean |
isXercesInstalled()
Checks to see if Xerces classes are available via the classpath |
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 XercesDOMWriter()
| Method Detail |
protected boolean isXercesInstalled()
public String getRequiredClass()
getRequiredClass in interface DOMWriter
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.
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||