Class PomParser
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.util.pom.PomParser
-
public class PomParser extends Object
PomParser.
-
-
Constructor Summary
Constructors Constructor Description PomParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Dependency>getDependencies()Gets the dependencies.voidparse(Component component, InputStream inputStream)Parses the.voidparse(Component component, String strPOM)Parses the.voidparse(Site site, String strPOM)Parses the.static <T> Tunmarshal(Class<T> docClass, InputSource inputSource)Unmarshal.
-
-
-
Method Detail
-
getDependencies
public List<Dependency> getDependencies()
Gets the dependencies.- Returns:
- the dependencies
-
parse
public void parse(Site site, String strPOM)
Parses the.- Parameters:
site- the sitestrPOM- the str POM
-
parse
public void parse(Component component, String strPOM)
Parses the.- Parameters:
component- the componentstrPOM- the str POM
-
parse
public void parse(Component component, InputStream inputStream)
Parses the.- Parameters:
component- the componentinputStream- the input stream
-
unmarshal
public static <T> T unmarshal(Class<T> docClass, InputSource inputSource) throws JAXBException
Unmarshal.- Type Parameters:
T- the generic type- Parameters:
docClass- the doc classinputSource- the input source- Returns:
- the t
- Throws:
JAXBException- the JAXB exception
-
-