|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.client.resources.AResourceDescription
public class AResourceDescription
AResourceDescription is the object representation of an
Atomic resource as defined by the specs and described in Resource Sheet
XML documents.
| Field Summary | |
|---|---|
static java.lang.String |
ANONYMOUS_DESCRIPTION
|
| Constructor Summary | |
|---|---|
AResourceDescription(ResourceSheet parent,
org.w3c.dom.Element element)
Creates a new AResourceDescription instance. |
|
| Method Summary | |
|---|---|
java.util.List<ElementRef> |
getElementRefs()
Returns a list of the element references in this resource description. |
java.util.List<java.lang.String> |
getValueRefs()
Returns a list of the value references in this resource description. |
boolean |
hasUserPreferences(UserPreferences uprefs)
Returns true if the given UserPreferences is contained in this resource description. |
IResource |
toResource()
Returns the IResource representation of this object. |
java.lang.String |
toString()
Returns the String representation of this object. |
| 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 ANONYMOUS_DESCRIPTION
| Constructor Detail |
|---|
public AResourceDescription(ResourceSheet parent,
org.w3c.dom.Element element)
throws UrcException
AResourceDescription instance.
parent - a ResourceSheet valueelement - an Element value
UrcException - if an error occurs| Method Detail |
|---|
public java.lang.String toString()
String representation of this object.
toString in class java.lang.ObjectString valuepublic IResource toResource()
IResource representation of this object.
IResource object.public boolean hasUserPreferences(UserPreferences uprefs)
UserPreferences is contained in this resource description.
uprefs - the UserPreferences to check
boolean valuepublic java.util.List<java.lang.String> getValueRefs()
List of String objects.public java.util.List<ElementRef> getElementRefs()
List of ElementRef objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||