Class DiscoSDKUtils

  • Direct Known Subclasses:
    DiscoUtils

    public class DiscoSDKUtils
    extends Object
    Provides utility methods to discovery service.
    • Constructor Detail

      • DiscoSDKUtils

        protected DiscoSDKUtils()
        Constructor iPlanet-PRIVATE-DEFAULT-CONSTRUCTOR
    • Method Detail

      • getDiscoFactory

        public static com.sun.identity.liberty.ws.disco.jaxb.ObjectFactory getDiscoFactory()
        Gets discovery service object factory.
        Returns:
        discovery service object factory.
      • getDisco11Factory

        public static com.sun.identity.liberty.ws.disco.jaxb11.ObjectFactory getDisco11Factory()
        Gets discovery service jaxb11 object factory.
        Returns:
        discovery service v1.1 object factory.
      • getDiscoEntryFactory

        public static com.sun.identity.liberty.ws.disco.plugins.jaxb.ObjectFactory getDiscoEntryFactory()
        Gets Disco Entry object factory.
        Returns:
        object factory for DiscoEntry.
      • parseXML

        public static Element parseXML​(String xmlString)
                                throws DiscoveryException
        Obtains DOM Element from an xml String.
        Parameters:
        xmlString - String format of an element.
        Returns:
        DOM Element
        Throws:
        DiscoveryException - if error occurs.