|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bibalex.daf.managers.resourcemanager.ResourceElement
public class ResourceElement
Represents an element within a section in the resource file.
| Field Summary | |
|---|---|
private java.util.Hashtable<java.lang.String,java.lang.String> |
hashTable
A hast table to store the key and the value of the element. |
| Constructor Summary | |
|---|---|
ResourceElement()
Default constructor. |
|
ResourceElement(org.w3c.dom.Node node)
Creates a new instance of ResourceElement. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCaption()
Gets the caption of this element. |
java.lang.String |
getName()
Gets the name of this element. |
java.lang.String |
getValue(java.lang.String key)
Gets the value of the given key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Hashtable<java.lang.String,java.lang.String> hashTable
| Constructor Detail |
|---|
public ResourceElement()
public ResourceElement(org.w3c.dom.Node node)
throws ResourceManagerException
node - An XmlNode representing the element.
ResourceManagerException - The exception is thrown if the given node contains no attributes.| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getCaption()
public java.lang.String getValue(java.lang.String key)
key - The key to search for its value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||