Class JaxbParser

    • Constructor Detail

      • JaxbParser

        public JaxbParser​(javax.xml.bind.JAXBContext pContext)
        Creates a new instance with the given context.
        Parameters:
        pContext - The context being used for creating unmarshallers.
    • Method Detail

      • getExtHandler

        protected ContentHandler getExtHandler()
                                        throws SAXException
        Description copied from class: ExtParser
        Returns a content handler for parsing the actual contents.
        Specified by:
        getExtHandler in class ExtParser
        Returns:
        A SAX handler for parsing the XML inside the outer ex:foo element.
        Throws:
        SAXException - Creating the handler failed.
      • getResult

        public Object getResult()
                         throws XmlRpcException
        Description copied from interface: TypeParser
        Returns the parsed object.
        Returns:
        The parameter or result object.
        Throws:
        XmlRpcException - Creating the result object failed.