org.apache.abdera.protocol.server
Interface CategoriesInfo

All Superinterfaces:
Iterable<CategoryInfo>

public interface CategoriesInfo
extends Iterable<CategoryInfo>

Metadata interface used by WorkspaceManager and Provider implementations to construct Atompub Service Documents. The CategoriesInfo interface provides information used to construct an app:categories element within an app:collection.


Method Summary
 Categories asCategoriesElement(RequestContext request)
          Convert this into an instance of the FOM Categories interface
 String getHref(RequestContext request)
          Return the value of the app:categories element href attribute or null if the href should be omitted
 String getScheme(RequestContext request)
          Return the value of the app:categories element scheme attribute or null if the scheme should be omitted
 boolean isFixed(RequestContext request)
          Return true of the app:categories element fixed attribute should be set
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

isFixed

boolean isFixed(RequestContext request)
Return true of the app:categories element fixed attribute should be set


getScheme

String getScheme(RequestContext request)
Return the value of the app:categories element scheme attribute or null if the scheme should be omitted


getHref

String getHref(RequestContext request)
Return the value of the app:categories element href attribute or null if the href should be omitted


asCategoriesElement

Categories asCategoriesElement(RequestContext request)
Convert this into an instance of the FOM Categories interface



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