Interface IRIElement

  • All Superinterfaces:
    Base, Cloneable, Element, Iterable<Element>

    public interface IRIElement
    extends Element

    The IRI interface provides a common base for a set of feed and entry elements whose content value must be a valid IRI/URI reference. These include the elements atom:icon, atom:logo, and atom:id.

    • Method Detail

      • getValue

        IRI getValue()
        Returns the value of the element as a java.net.URI
        Returns:
        The IRI value of this element
      • setNormalizedValue

        IRIElement setNormalizedValue​(String iri)
        Set the value of this element using the normalization as specified in RFC4287
        Parameters:
        iri - A non-normalized IRI
        Throws:
        IRISyntaxException - if the iri is malformed
      • getResolvedValue

        IRI getResolvedValue()
        Returns the value of the element resolved against the current in-scope Base URI
        Returns:
        The resolved IRI value