org.apache.abdera.ext.thread
Interface InReplyTo

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

public interface InReplyTo
extends Element

Provides an interface for the Atom Threading Extension in-reply-to element. The in-reply-to element allows an entry to be marked as a response to another resource.


Method Summary
 java.net.URI getHref()
          Returns a dereferenceable URI indicating where a representation of the resource being responded to may be retrieved
 javax.activation.MimeType getMimeType()
          Returns the media type of the resource referenced by the href attribute
 java.net.URI getRef()
          Returns the persistent and universally unique identifier of the resource the entry is a response to.
 java.net.URI getResolvedHref()
          Returns the resolved value of the href attribute
 java.net.URI getResolvedSource()
          Returns a dereferenceable URI of an Atom Feed or Entry Document resolved against the in-scope Base URI
 java.net.URI getSource()
          Returns a dereferenceable URI of an Atom Feed or Entry Document
 void setHref(java.lang.String ref)
          Sets a dereferenceable URI indicating where a representation of the resource being responded to may be retrieved
 void setHref(java.net.URI ref)
          Sets a dereferenceable URI indicating where a representation of the resource being responded to may be retrieved
 void setMimeType(javax.activation.MimeType mimeType)
          Sets the media type of the resource referenced by the href attribute
 void setMimeType(java.lang.String mimeType)
          Sets the media type of the resource referenced by the href attribute
 void setRef(java.lang.String ref)
          Sets the persistent and universally unique identifier of the resource that this entry is a response to
 void setRef(java.net.URI ref)
          Sets the persistent and universally unique identifier of the resource that this entry is a response to
 void setSource(java.lang.String source)
          Sets a dereferenceable URI of an Atom Feed or Entry Document
 void setSource(java.net.URI source)
          Sets a dereferenceable URI of an Atom Feed or Entry Document
 
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

getRef

java.net.URI getRef()
                    throws java.net.URISyntaxException
Returns the persistent and universally unique identifier of the resource the entry is a response to.

Throws:
java.net.URISyntaxException

setRef

void setRef(java.net.URI ref)
Sets the persistent and universally unique identifier of the resource that this entry is a response to


setRef

void setRef(java.lang.String ref)
            throws java.net.URISyntaxException
Sets the persistent and universally unique identifier of the resource that this entry is a response to

Throws:
java.net.URISyntaxException

getResolvedHref

java.net.URI getResolvedHref()
                             throws java.net.URISyntaxException
Returns the resolved value of the href attribute

Throws:
java.net.URISyntaxException

getHref

java.net.URI getHref()
                     throws java.net.URISyntaxException
Returns a dereferenceable URI indicating where a representation of the resource being responded to may be retrieved

Throws:
java.net.URISyntaxException

setHref

void setHref(java.net.URI ref)
Sets a dereferenceable URI indicating where a representation of the resource being responded to may be retrieved


setHref

void setHref(java.lang.String ref)
             throws java.net.URISyntaxException
Sets a dereferenceable URI indicating where a representation of the resource being responded to may be retrieved

Throws:
java.net.URISyntaxException

getMimeType

javax.activation.MimeType getMimeType()
                                      throws javax.activation.MimeTypeParseException
Returns the media type of the resource referenced by the href attribute

Throws:
javax.activation.MimeTypeParseException

setMimeType

void setMimeType(javax.activation.MimeType mimeType)
Sets the media type of the resource referenced by the href attribute


setMimeType

void setMimeType(java.lang.String mimeType)
                 throws javax.activation.MimeTypeParseException
Sets the media type of the resource referenced by the href attribute

Throws:
javax.activation.MimeTypeParseException

getResolvedSource

java.net.URI getResolvedSource()
                               throws java.net.URISyntaxException
Returns a dereferenceable URI of an Atom Feed or Entry Document resolved against the in-scope Base URI

Throws:
java.net.URISyntaxException

getSource

java.net.URI getSource()
                       throws java.net.URISyntaxException
Returns a dereferenceable URI of an Atom Feed or Entry Document

Throws:
java.net.URISyntaxException

setSource

void setSource(java.net.URI source)
Sets a dereferenceable URI of an Atom Feed or Entry Document


setSource

void setSource(java.lang.String source)
               throws java.net.URISyntaxException
Sets a dereferenceable URI of an Atom Feed or Entry Document

Throws:
java.net.URISyntaxException