org.greenstone.gs3client
Class BrowseDisplay.ClassifierData

java.lang.Object
  extended by org.greenstone.gs3client.BrowseDisplay.ClassifierData
Enclosing class:
BrowseDisplay

public static class BrowseDisplay.ClassifierData
extends java.lang.Object

Static inner class that represents the data in a <classifier> element - itself nested inside a list (<classifierList>) of them. These elements are to be found in the response returned for a describe request sent to a collection's BrowseService.


Field Summary
 java.lang.String content
          The content attribute of the <classifier>
 java.lang.String displayDescription
          The description attribute of the <classifier>
 java.lang.String displayName
          The display name attribute of the <classifier>
 java.lang.String name
          The name attribute of the <classifier>
 
Constructor Summary
BrowseDisplay.ClassifierData(org.w3c.dom.Element classifierTag)
          Constructor.
 
Method Summary
 java.lang.String show()
           
 java.lang.String toString()
          The displayName can be used as a label in any widget.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

content

public final java.lang.String content
The content attribute of the <classifier>


name

public final java.lang.String name
The name attribute of the <classifier>


displayName

public final java.lang.String displayName
The display name attribute of the <classifier>


displayDescription

public final java.lang.String displayDescription
The description attribute of the <classifier>

Constructor Detail

BrowseDisplay.ClassifierData

public BrowseDisplay.ClassifierData(org.w3c.dom.Element classifierTag)
Constructor.

Parameters:
classifierTag - - creates a ClassifierData object from the data stored in a <classifier> element
Method Detail

toString

public java.lang.String toString()
The displayName can be used as a label in any widget.

Overrides:
toString in class java.lang.Object
Returns:
the displayName of this ClassifierData object

show

public java.lang.String show()
Returns:
a display String with the data stored in this ClassifierData object. Useful for debugging purposes.