|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.client.resources.ResourceUseContext
public class ResourceUseContext
ResourceUseContext is the class representation of the
<useContext> element within a resource description.
| Constructor Summary | |
|---|---|
ResourceUseContext(org.w3c.dom.Element element)
Creates a new ResourceUseContext instance. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getLanguageContexts()
Returns a list of all languages supported by this resource. |
java.util.List<java.lang.String> |
getOpRefs()
Returns the operationRef described in this use context. |
ElementRef |
getRef()
getRef returns the ElementRef value of the
socket element this resource is bound to. |
Constants.ResourceRole |
getRole()
getRole returns the role of this resource in
describing its bound socket element. |
java.util.List<java.lang.String> |
getValueRefs()
Returns a list of the value references for this resource. |
boolean |
hasUserPreferences(UserPreferences uprefs)
hasUserPreferences returns true if the specified user preferences
match the metadata associated with this resource. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceUseContext(org.w3c.dom.Element element)
throws UrcException
ResourceUseContext instance.
element - a DOM Element element.
UrcException - if the use context can't be created properly.| Method Detail |
|---|
public java.util.List<java.lang.String> getLanguageContexts()
List<String> collection.public java.util.List<java.lang.String> getOpRefs()
String valuepublic ElementRef getRef()
getRef returns the ElementRef value of the
socket element this resource is bound to.
ElementRef objectpublic Constants.ResourceRole getRole()
getRole returns the role of this resource in
describing its bound socket element.
String valuepublic java.util.List<java.lang.String> getValueRefs()
List<String>public boolean hasUserPreferences(UserPreferences uprefs)
hasUserPreferences returns true if the specified user preferences
match the metadata associated with this resource.
uprefs - an UserPreferences value
boolean valuepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||