org.repoweb.pom
Class XMLProject

java.lang.Object
  extended byorg.repoweb.pom.XMLProject

public final class XMLProject
extends java.lang.Object

XML utilitary class for POM files.


Method Summary
static void dependenciesToBean(org.xml.sax.InputSource source, Project project)
           
static java.lang.String dependenciesToXml(Project project)
           
static Project toBean(org.xml.sax.InputSource source)
           
static java.lang.String toXml(Project project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toBean

public static Project toBean(org.xml.sax.InputSource source)
                      throws javax.xml.parsers.ParserConfigurationException,
                             org.xml.sax.SAXException,
                             java.io.IOException,
                             javax.xml.transform.TransformerException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
javax.xml.transform.TransformerException

toXml

public static java.lang.String toXml(Project project)
                              throws javax.xml.parsers.ParserConfigurationException,
                                     javax.xml.transform.TransformerException
Throws:
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException

dependenciesToXml

public static java.lang.String dependenciesToXml(Project project)
                                          throws javax.xml.transform.TransformerException,
                                                 javax.xml.parsers.ParserConfigurationException
Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException

dependenciesToBean

public static void dependenciesToBean(org.xml.sax.InputSource source,
                                      Project project)
                               throws javax.xml.transform.TransformerException,
                                      java.io.IOException,
                                      javax.xml.parsers.ParserConfigurationException,
                                      org.xml.sax.SAXException
Throws:
javax.xml.transform.TransformerException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException


Copyright © 2003-2005 Repoweb. All Rights Reserved.