org.apache.abdera.model
Interface IRI

All Superinterfaces:
Base, java.lang.Cloneable, Element, java.io.Serializable

public interface IRI
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 Summary
 java.net.URI getResolvedValue()
          Returns the value of the element resolved against the current in-scope Base URI
 java.net.URI getValue()
          Returns the value of the element as a java.net.URI
 void setNormalizedValue(java.lang.String id)
           
 void setValue(java.lang.String iri)
          Sets the value of the element
 
Methods inherited from interface org.apache.abdera.model.Element
discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText
 
Methods inherited from interface org.apache.abdera.model.Base
clone, getFactory, writeTo, writeTo
 

Method Detail

getValue

java.net.URI getValue()
                      throws java.net.URISyntaxException
Returns the value of the element as a java.net.URI

Throws:
java.net.URISyntaxException

setValue

void setValue(java.lang.String iri)
              throws java.net.URISyntaxException
Sets the value of the element

Throws:
java.net.URISyntaxException

setNormalizedValue

void setNormalizedValue(java.lang.String id)
                        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

getResolvedValue

java.net.URI getResolvedValue()
                              throws java.net.URISyntaxException
Returns the value of the element resolved against the current in-scope Base URI

Throws:
java.net.URISyntaxException