|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.greenstone.gs3client.data.MetaData
public class MetaData
Stores the name, value and value of body textnode of a simple <metadata> element. <metadata name="str" value="str">bodyvalue</metadata>
Field Summary | |
---|---|
java.lang.String |
bodyText
Text node content of a <metadata> - the textnode may be empty, in which case this will be set to "" |
java.lang.String |
name
Name attribute of a <metadata> |
java.lang.String |
value
Value attribute of a <metadata> - this may or may not be there |
Constructor Summary | |
---|---|
MetaData(org.w3c.dom.Element metadataTag)
Constructor that creates a MetaData object from a <metadata></metadata> element by setting its members fields using info extracted from the element. |
Method Summary | |
---|---|
java.lang.String |
show()
|
java.lang.String |
toString()
|
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 value
public final java.lang.String bodyText
Constructor Detail |
---|
public MetaData(org.w3c.dom.Element metadataTag)
metadataTag
- is the <metadata> element whose data is used
to construct this MetaData objectMethod 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 |