|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openarchitectureware.xpand2.output.XmlBeautifier
org.openarchitectureware.xsd.XMLBeautifier
or http://www.fornax-platform.org/cp/display/fornax/XML
public class XmlBeautifier
This PostProcessor formats XML code.
This implementation relies on JAXP, which has some limitations in practice. The beautifier will work for simple XML documents. If it does not behave as expected use an alternative formatter.
Constructor Summary | |
---|---|
XmlBeautifier()
Deprecated. |
Method Summary | |
---|---|
void |
afterClose(FileHandle impl)
Deprecated. Called after the file has been written. |
void |
beforeWriteAndClose(FileHandle info)
Deprecated. Called before the file will be written. |
boolean |
isXmlFile(java.lang.String absolutePath)
Deprecated. |
void |
setFileExtensions(java.lang.String[] fileExtensions)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlBeautifier()
Method Detail |
---|
public void setFileExtensions(java.lang.String[] fileExtensions)
public void beforeWriteAndClose(FileHandle info)
PostProcessor
beforeWriteAndClose
in interface PostProcessor
info
- A handle to the file that will be writtenpublic boolean isXmlFile(java.lang.String absolutePath)
public void afterClose(FileHandle impl)
PostProcessor
afterClose
in interface PostProcessor
impl
- A handle to the file that has been written
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |