|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.rddl.helpers.AbstractContainer
|
+--org.rddl.helpers.ContainerResourceImpl
| Field Summary | |
protected java.lang.String |
arcrole
|
protected java.lang.String |
baseURI
|
protected java.lang.String |
fragId
|
protected java.lang.String |
href
|
protected java.lang.String |
id
|
protected java.lang.String |
lang
|
protected java.lang.String |
role
|
protected java.lang.String |
title
|
| Fields inherited from class org.rddl.helpers.AbstractContainer |
arcroleMap, hrefMap, langMap, roleMap, titleMap, uriMap |
| Constructor Summary | |
ContainerResourceImpl(java.lang.String id,
java.lang.String base,
java.lang.String ar,
java.lang.String r,
java.lang.String hr,
java.lang.String title,
java.lang.String lang,
java.lang.String fragId)
|
|
| Method Summary | |
java.lang.String |
getBaseURI()
The base URI may be indicated by the xml:base attribute. |
Container |
getContainer()
The parent container of this resource. |
java.lang.String |
getFragmentId()
The fragment id of the resource is according to XPointer and is either a raw name, child sequence or full XPointer. |
java.lang.String |
getHref()
Get the resource xlink:href. |
java.lang.String |
getId()
The ID of this resource, if present |
java.lang.String |
getLang()
The xml:lang of this resource if any. |
java.lang.String |
getNature()
Get the nature of the referenced resource. |
java.lang.String |
getPurpose()
Get the resource xlink:arcrole. |
java.lang.String |
getTitle()
Get the resource xlink:title. |
java.lang.String |
getURI()
The URI referencing this resource. |
| Methods inherited from class org.rddl.helpers.AbstractContainer |
addResource, getResourceFromId, getResourceFromURI, getResources, getResourcesFromHref, getResourcesFromIdRange, getResourcesFromLang, getResourcesFromNature, getResourcesFromPurpose, getResourcesFromTitle, getResourcesFromURIRange |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String href
protected java.lang.String title
protected java.lang.String role
protected java.lang.String arcrole
protected java.lang.String id
protected java.lang.String lang
protected java.lang.String baseURI
protected java.lang.String fragId
| Constructor Detail |
public ContainerResourceImpl(java.lang.String id,
java.lang.String base,
java.lang.String ar,
java.lang.String r,
java.lang.String hr,
java.lang.String title,
java.lang.String lang,
java.lang.String fragId)
| Method Detail |
public java.lang.String getHref()
ResourceThis method gets the resource's URI which corresponds to the xlink:href. The href may be either an absolute or relative URI. The base URI is the URI of the RDDL document containing the resource.
getHref in interface Resourceorg.rddl.Resourcepublic java.lang.String getPurpose()
ResourceThis method gets the xlink:arcrole which corresponds to the type of the link. The arcrole may be either an absolute or relative URI reference, though under most circumstances will be an absolute URI. A fragment identifier should be present. The base URI is the URI of the RDDL document containing the resource. Purposes for well known types are defined in this RDDL document.
getPurpose in interface Resourceorg.rddl.Resourcepurpose for this resourcepublic java.lang.String getNature()
ResourceGet the nature of the referenced resource. The nature corresponds to the xlink:role.
getNature in interface Resourceorg.rddl.Resourcenaturepublic java.lang.String getTitle()
ResourceThe title of an XLink is a short descriptive string which may appear in a menu
getTitle in interface Resourceorg.rddl.Resourcepublic java.lang.String getId()
ResourcegetId in interface Resourceorg.rddl.Resourcepublic java.lang.String getLang()
Resourcexml:lang of this resource if any.getLang in interface Resourceorg.rddl.Resourcepublic java.lang.String getBaseURI()
Resourcexml:base attribute.getBaseURI in interface Resourceorg.rddl.Resourcepublic java.lang.String getFragmentId()
ResourcegetFragmentId in interface Resourceorg.rddl.Resourcepublic java.lang.String getURI()
ResourcegetURI in interface ResourcegetURI in class AbstractContainerorg.rddl.Resourcepublic Container getContainer()
ResourcegetContainer in interface Resourceorg.rddl.Resource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||