|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.greenstone.gs3client.data.CollectionData.ServiceData
public static class CollectionData.ServiceData
Only the name and type of a <service></service> element is stored, since this is all the service data available inside a collection's response message to a describe request. And we are here dealing with just a CollectionData's service information (hence it's an inner class: CollectionData.ServiceData).
Field Summary | |
---|---|
java.lang.String |
name
name of the Greenstone service represented by this ServiceData object |
java.lang.String |
type
type attribute of <service></service> element. |
Constructor Summary | |
---|---|
CollectionData.ServiceData(org.w3c.dom.Element serviceTag)
Gets a <service></service> element and sets its members using info extracted from it |
Method Summary | |
---|---|
java.lang.String |
show()
|
java.lang.String |
toString()
Useful when adding ServiceData objects to a JList or JCombobox |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final java.lang.String name
public final java.lang.String type
Constructor Detail |
---|
public CollectionData.ServiceData(org.w3c.dom.Element serviceTag)
serviceTag
- is the <service></service> element from
which this ServiceData object is constructed.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String show()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |