|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.client.resources.ResourceSheetDescription
public class ResourceSheetDescription
ResourceSheetDescription is the object form of the
XML <ResourceSheet> element found in the TargetDirectory.
It also provides constants until they get factored out.
| Field Summary | |
|---|---|
static java.lang.String |
DOMAIN
DOMAIN is the constant value referring to the "domain" metadata. |
static java.lang.String |
HELP_EFFECT
HELP_EFFECT is the constant value for referring to the "help/effect" type of "type." |
static java.lang.String |
HELP_PURPOSE
HELP_PURPOSE is the constant value for referring to the "help/purpose" type of "type." |
static java.lang.String |
LABEL
LABEL is the constant value for referring to "label" metadata. |
static java.lang.String |
LANG
LANG is the constant value for referring to "languageContexts" metadata. |
static java.lang.String |
ROLE
ROLE is the constant value for "role" metadata. |
static java.lang.String |
TEXT
TEXT is the constant value for referring to the "text" type of "type." |
static java.lang.String |
TYPE
TYPE is the constant value for referring to "type" metadata. |
| Constructor Summary | |
|---|---|
ResourceSheetDescription(ResourceDirectory parent,
org.w3c.dom.Element element)
Creates a new ResourceSheetDescription instance. |
|
| Method Summary | |
|---|---|
java.net.URI |
getResourceSheetURI()
getResourceSheetURI returns the URI associated with this ResourceSheetDescription. |
boolean |
hasMatchingMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
hasMatchingMetadata returns true or false depending on whether this ResourceSheetDescription
matches the passed-in parameter's values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ROLE
ROLE is the constant value for "role" metadata.
public static final java.lang.String LABEL
LABEL is the constant value for referring to "label" metadata.
public static final java.lang.String LANG
LANG is the constant value for referring to "languageContexts" metadata.
public static final java.lang.String TYPE
TYPE is the constant value for referring to "type" metadata.
public static final java.lang.String TEXT
TEXT is the constant value for referring to the "text" type of "type."
public static final java.lang.String HELP_PURPOSE
HELP_PURPOSE is the constant value for referring to the "help/purpose" type of "type."
public static final java.lang.String HELP_EFFECT
HELP_EFFECT is the constant value for referring to the "help/effect" type of "type."
public static final java.lang.String DOMAIN
DOMAIN is the constant value referring to the "domain" metadata.
| Constructor Detail |
|---|
public ResourceSheetDescription(ResourceDirectory parent,
org.w3c.dom.Element element)
ResourceSheetDescription instance.
parent - the ResourceDirectory containing this resource sheet.element - the Element that is the XML representation of this resource sheet.| Method Detail |
|---|
public java.net.URI getResourceSheetURI()
getResourceSheetURI returns the URI associated with this ResourceSheetDescription.
URI objectpublic boolean hasMatchingMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
hasMatchingMetadata returns true or false depending on whether this ResourceSheetDescription
matches the passed-in parameter's values. It checks the type, domain, role, and language metadata for
matches.
metadata - a Map<String, Object> object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||