|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.rc.ResourceItem
public abstract class ResourceItem
Abstract ResourceItem implementation.
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIBUTE_PROPERTY_NAME
XML 'name' attribute for the property tag |
static java.lang.String |
ATTRIBUTE_PROPERTY_TYPE
XML 'type' attribute for the property tag |
static java.lang.String |
GROUP_DELIMITER
The delimiter for the full qualified name |
protected java.lang.String |
name
Resource name |
protected ResourceCollection |
resourceCollection
Resource this item belongs to |
protected java.lang.Object |
resourceObject
Resource object |
| Constructor Summary | |
|---|---|
protected |
ResourceItem()
Constructor. |
| Method Summary | |
|---|---|
protected java.lang.String |
getErrorName()
Returns a string that identifies the resource item in error messages. |
java.lang.String |
getName()
Gets the name of the resource item. |
java.lang.Object |
getObject()
Gets the object associated with this resource. |
ResourceCollection |
getResourceCollection()
Gets the resource this item belongs to. |
void |
initializeFromDOM(ResourceCollection resourceCollection,
org.w3c.dom.Element source,
java.lang.String group)
Determines the information from the DOM element and set this to the resource item. |
protected java.lang.Object |
loadResourceObject()
Loads the object associated with the resource. |
java.lang.String |
toString()
Returns a string representation of this resource item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATTRIBUTE_PROPERTY_NAME
public static final java.lang.String ATTRIBUTE_PROPERTY_TYPE
public static final java.lang.String GROUP_DELIMITER
protected java.lang.String name
protected java.lang.Object resourceObject
protected ResourceCollection resourceCollection
| Constructor Detail |
|---|
protected ResourceItem()
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.Object getObject()
public ResourceCollection getResourceCollection()
protected java.lang.Object loadResourceObject()
public void initializeFromDOM(ResourceCollection resourceCollection,
org.w3c.dom.Element source,
java.lang.String group)
resourceCollection - Resource the item belongs tosource - Resource item nodegroup - Resource group name or nullpublic java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String getErrorName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||