Class PomParser
java.lang.Object
fr.paris.lutece.plugins.releaser.util.pom.PomParser
PomParser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the dependencies.voidparse(Component component, InputStream inputStream) Parses the.voidParses the.voidParses the.voidparsePomPath(Component component, String pomPath) Parses the pom path.static <T> Tunmarshal(Class<T> docClass, InputSource inputSource) Unmarshal.
-
Constructor Details
-
PomParser
public PomParser()
-
-
Method Details
-
getDependencies
Gets the dependencies.- Returns:
- the dependencies
-
parse
Parses the.- Parameters:
site- the sitestrPOM- the str POM
-
parsePomPath
Parses the pom path.- Parameters:
component- the componentpomPath- the pom path
-
parse
Parses the.- Parameters:
component- the componentstrPOM- the str POM
-
parse
Parses the.- Parameters:
component- the componentinputStream- the input stream
-
unmarshal
public static <T> T unmarshal(Class<T> docClass, InputSource inputSource) throws javax.xml.bind.JAXBException Unmarshal.- 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
-