com.sun.syndication.feed.module.sle.types
Class Group

java.lang.Object
  extended by com.sun.syndication.feed.module.sle.types.Group
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Group
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

The cf:group element is intended to inform the client that the property to which it refers is one that is “groupableâ€? – that is, that the client should provide a user interface that allows the user to group or filter on the values of that property. Groupable properties should contain a small set of discrete values (e.g. book genres are perfect for groups).

The cf:group element contains the following attributes:

Author:
Robert "kebernet" Cooper
See Also:
Serialized Form

Constructor Summary
Group(org.jdom.Namespace namespace, java.lang.String element, java.lang.String label)
          Creates a new instance of Group
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getElement()
          Returns the name of the element.
 java.lang.String getLabel()
          Returns the label of the element.
 org.jdom.Namespace getNamespace()
          Returns the namespace of the element.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Group

public Group(org.jdom.Namespace namespace,
             java.lang.String element,
             java.lang.String label)
Creates a new instance of Group

Parameters:
namespace - Namespace of the element
element - Name of the element
label - Label for the grouping.
Method Detail

getElement

public java.lang.String getElement()
Returns the name of the element.

Returns:
Returns the name of the element.

getLabel

public java.lang.String getLabel()
Returns the label of the element.

Returns:
Returns the label of the element.

getNamespace

public org.jdom.Namespace getNamespace()
Returns the namespace of the element.

Returns:
Returns the namespace of the element.

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2009. All Rights Reserved.