Class PomParser


  • public class PomParser
    extends Object
    PomParser.
    • Constructor Detail

      • PomParser

        public PomParser()
    • 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 site
        strPOM - the str POM
      • parse

        public void parse​(Component component,
                          String strPOM)
        Parses the.
        Parameters:
        component - the component
        strPOM - the str POM
      • parse

        public void parse​(Component component,
                          InputStream inputStream)
        Parses the.
        Parameters:
        component - the component
        inputStream - 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 class
        inputSource - the input source
        Returns:
        the t
        Throws:
        JAXBException - the JAXB exception