|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.XmlPomFormatter
A little XML document formatter. Used to format a POM in XML format after it has been transformed.
| Constructor Summary | |
XmlPomFormatter()
|
|
| Method Summary | |
protected org.dom4j.Document |
createDocument()
Description of the Method |
void |
execute()
Format the project descriptor. |
File |
getInput()
Get input file. |
File |
getOutput()
Get output file. |
static void |
main(String[] args)
Left over testing method - to be removed |
void |
setInput(File input)
Set input file. |
void |
setOutput(File output)
Set output file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlPomFormatter()
| Method Detail |
public void setInput(File input)
input - the File to read the unformatted project object
model frompublic File getInput()
public void setOutput(File output)
output - the File to write the formatted project object
object model topublic File getOutput()
public void execute()
throws Exception
Exception - when any error occurs
protected org.dom4j.Document createDocument()
throws Exception
Document from parsing the input file
Exception - when any error occurs
public static void main(String[] args)
throws Exception
args - command line arguments
Exception - when any error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||