Interface XmlAgent


  • public interface XmlAgent
    The Interface XmlAgent.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String retriveContent​(java.lang.String accessUrl)
      Retrive content.
      java.lang.Object unmarshallXml​(org.springframework.oxm.Unmarshaller unmarshaller, java.lang.String accessUrl)
      Unmarshall xml.
      java.lang.Object unmarshallXml​(org.springframework.oxm.Unmarshaller unmarshaller, java.lang.String accessUrl, java.lang.String nameSpace, java.lang.String replace, java.lang.String with)
      Unmarshall xml.
    • Method Detail

      • unmarshallXml

        java.lang.Object unmarshallXml​(org.springframework.oxm.Unmarshaller unmarshaller,
                                       java.lang.String accessUrl)
                                throws XmlAgentException
        Unmarshall xml.
        Parameters:
        unmarshaller - the unmarshaller
        accessUrl - the access url
        Returns:
        the object
        Throws:
        XmlAgentException - the xml agent exception
      • unmarshallXml

        java.lang.Object unmarshallXml​(org.springframework.oxm.Unmarshaller unmarshaller,
                                       java.lang.String accessUrl,
                                       java.lang.String nameSpace,
                                       java.lang.String replace,
                                       java.lang.String with)
                                throws XmlAgentException
        Unmarshall xml.
        Parameters:
        unmarshaller - the unmarshaller
        accessUrl - the access url
        nameSpace - the name space
        replace - the replace
        with - the with
        Returns:
        the object
        Throws:
        XmlAgentException - the xml agent exception
      • retriveContent

        java.lang.String retriveContent​(java.lang.String accessUrl)
                                 throws XmlAgentException
        Retrive content.
        Parameters:
        accessUrl - the access url
        Returns:
        the string
        Throws:
        XmlAgentException - the xml agent exception