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