|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A Namespace is associated with a URI reference. The Namespace interface defines a
collection of resources.
| Method Summary | |
Resource |
getResourceFromId(java.lang.String id)
Selects a resource given a particular id. |
java.util.Iterator |
getResources()
Obtain an Iterator over all the resources contained in the namespace. |
java.util.SortedMap |
getResourcesFromHref(java.lang.String href)
Select a set of resources given the destination xlink:href |
java.util.SortedMap |
getResourcesFromIdRange(java.lang.String id0,
java.lang.String id1)
Select a set of resources given a range of ids. |
java.util.SortedMap |
getResourcesFromLang(java.lang.String lang)
Select a set of resources having a specified xml:lang |
java.util.SortedMap |
getResourcesFromNature(java.lang.String role)
A resource is qualified by its Nature. |
java.util.SortedMap |
getResourcesFromPurpose(java.lang.String purpose)
A resource is qualified by its Purpose. |
java.util.SortedMap |
getResourcesFromTitle(java.lang.String title)
Select a set of resources having a specified xlink:title |
java.lang.String |
getURI()
The namespace URI for the namespace. |
| Method Detail |
public java.util.SortedMap getResourcesFromNature(java.lang.String role)
role - The RDDL nature is specified by the xlink:rolejava.util.SortedMap the resources having the specified rolepublic java.util.SortedMap getResourcesFromPurpose(java.lang.String purpose)
purpose - The purpose of a RDDL resource is specified by an xlink:arcrolepublic java.util.SortedMap getResourcesFromHref(java.lang.String href)
xlink:hrefhref - The xlink:href URIxlink:hrefpublic java.util.SortedMap getResourcesFromTitle(java.lang.String title)
xlink:titletitle - The xlink:titlepublic java.util.SortedMap getResourcesFromLang(java.lang.String lang)
xml:langlang - The xml:lang
public java.util.SortedMap getResourcesFromIdRange(java.lang.String id0,
java.lang.String id1)
Select a set of resources given a range of ids.
The ids are specified in alphanumeric order.
The idiom: "foo","foo/0" is inclusive.
id0 - The start of the rangeid1 - The end of the rangepublic Resource getResourceFromId(java.lang.String id)
id.id - The idpublic java.util.Iterator getResources()
Iterator over all the resources contained in the namespace.public java.lang.String getURI()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||