org.apache.abdera.examples.simple
Class EntityProviderExample.Foo

java.lang.Object
  extended by org.apache.abdera.examples.simple.EntityProviderExample.Foo
All Implemented Interfaces:
EntityProvider
Enclosing class:
EntityProviderExample

public static class EntityProviderExample.Foo
extends Object
implements EntityProvider


Constructor Summary
EntityProviderExample.Foo()
           
 
Method Summary
 String getContentType()
          Return the mime content type of the serialized entity
 org.apache.abdera.util.EntityTag getEntityTag()
          Return the EntityTag of the entity,
 Date getLastModified()
          Return the Last-Modified date of the entity
 boolean isRepeatable()
          True if the serialization is repeatable.
 void writeTo(StreamWriter sw)
          Write to the specified StreamWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityProviderExample.Foo

public EntityProviderExample.Foo()
Method Detail

getContentType

public String getContentType()
Description copied from interface: EntityProvider
Return the mime content type of the serialized entity

Specified by:
getContentType in interface EntityProvider

getEntityTag

public org.apache.abdera.util.EntityTag getEntityTag()
Description copied from interface: EntityProvider
Return the EntityTag of the entity,

Specified by:
getEntityTag in interface EntityProvider

getLastModified

public Date getLastModified()
Description copied from interface: EntityProvider
Return the Last-Modified date of the entity

Specified by:
getLastModified in interface EntityProvider

isRepeatable

public boolean isRepeatable()
Description copied from interface: EntityProvider
True if the serialization is repeatable.

Specified by:
isRepeatable in interface EntityProvider

writeTo

public void writeTo(StreamWriter sw)
Description copied from interface: EntityProvider
Write to the specified StreamWriter

Specified by:
writeTo in interface EntityProvider


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.