|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Information about a single resource.
Method Summary | |
DefaultVocabularyFor[] |
getDefaultVocabularyFor()
Get all DefaultVocabularyFor children in an array. |
DefaultVocabularyFor |
getDefaultVocabularyFor(int index)
Get a default vocabulary declaration for this resource. |
int |
getDefaultVocabularyForCount()
Count the default vocabulary declarations. |
IdText[] |
getUrl()
Get all Url children in an array. |
IdText |
getUrl(int index)
Get a URL attached to the resource. |
int |
getUrlCount()
Count the URLs |
IdText |
getUrn()
Get the URN attached to the resource, if any. |
Methods inherited from interface org.newsml.toolkit.BaseNode |
getAttr, getChild, getChild, getChild, getChild, getChildCount, getChildCount, getParent, getPath, getSession, getXMLName, getXPath, insertAfter, insertAfter, insertAfter, insertAfter, insertAfterDuid, insertAfterDuid, insertBefore, insertBefore, insertBefore, insertBefore, insertBeforeDuid, insertBeforeDuid, insertChild, insertChild, insertFirst, insertFirst, insertLast, insertLast, removeChild, removeChild, removeSelf, replaceChild, replaceChild, replaceChild, replaceChild, replaceChild, replaceChild, setAttr, setAttr, toXML, toXML, unsetAttr, unsetAttr, writeXML, writeXML |
Methods inherited from interface org.newsml.toolkit.IdNode |
getDuid, getEuid |
Method Detail |
public IdText getUrn()
A resource may have only a single URN.
public int getUrlCount()
public IdText getUrl(int index)
index
- The index of the resource, zero-based, numbered
sequentially in document order.public IdText[] getUrl()
public int getDefaultVocabularyForCount()
public DefaultVocabularyFor getDefaultVocabularyFor(int index)
index
- The index of the declaration, zero-based, numbered
sequentially in document order.public DefaultVocabularyFor[] getDefaultVocabularyFor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |