Class PomParser


  • public class PomParser
    extends java.lang.Object
    PomParser.
    • 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.
      void parse​(Component component, java.io.InputStream inputStream)
      Parses the.
      void parse​(Component component, java.lang.String strPOM)
      Parses the.
      void parse​(Site site, java.lang.String strPOM)
      Parses the.
      static <T> T unmarshal​(java.lang.Class<T> docClass, org.xml.sax.InputSource inputSource)
      Unmarshal.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PomParser

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

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

        public void parse​(Component component,
                          java.io.InputStream inputStream)
        Parses the.
        Parameters:
        component - the component
        inputStream - the input stream
      • unmarshal

        public static <T> T unmarshal​(java.lang.Class<T> docClass,
                                      org.xml.sax.InputSource inputSource)
                               throws javax.xml.bind.JAXBException
        Unmarshal.
        Type Parameters:
        T - the generic type
        Parameters:
        docClass - the doc class
        inputSource - the input source
        Returns:
        the t
        Throws:
        javax.xml.bind.JAXBException - the JAXB exception