Class OptionsResponse

    • Constructor Detail

      • OptionsResponse

        public OptionsResponse()
    • Method Detail

      • addEntry

        public void addEntry​(java.lang.String localName,
                             Namespace namespace,
                             java.lang.String[] hrefs)
        Add a new entry to this OptionsResponse and make each href present in the String array being a separate DAV:href element within the entry.
        Parameters:
        localName -
        namespace -
        hrefs -
      • getHrefs

        public java.lang.String[] getHrefs​(java.lang.String localName,
                                           Namespace namespace)
        Parameters:
        localName -
        namespace -
        Returns:
      • createFromXml

        public static OptionsResponse createFromXml​(org.w3c.dom.Element orElem)
        Build a new OptionsResponse object from the given xml element.
        Parameters:
        orElem -
        Returns:
        a new OptionsResponse object
        Throws:
        java.lang.IllegalArgumentException - if the specified element is null or if its name is other than 'DAV:options-response'.