|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.managers.resourcemanager.ResourceElement org.bibalex.daf.managers.resourcemanager.DefaultResourceElement
public class DefaultResourceElement
This class represents a default resource element. This element is returned by ResourceManager if the getElement method fails.
Field Summary | |
---|---|
private java.lang.String |
name
|
Constructor Summary | |
---|---|
DefaultResourceElement(java.lang.String name)
Creates a new instacne of DefaultResourceElement. |
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.lang.String name
Constructor Detail |
---|
public DefaultResourceElement(java.lang.String name)
name
- The name of the element that couldn't be retrieved.Method Detail |
---|
public java.lang.String getName()
getName
in class ResourceElement
public java.lang.String getCaption()
getCaption
in class ResourceElement
public java.lang.String getValue(java.lang.String key)
getValue
in class ResourceElement
key
- The key to search for its value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |