|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for interfaces which represent topic map elements containing character data or remote resource references. In XTM, occurrences and variant names may contain resource data, which can be one of the following:
Method Summary | |
java.lang.String |
getData()
Gets the resource data string associated with this occurrence. |
Locator |
getDataLocator()
Returns the Locator of the resource referenced by this data object. |
boolean |
isDataInline()
Determines the type of resource data provided by this data object. |
void |
setData(java.lang.String data)
Sets the resource data string associated with this data object. |
void |
setDataLocator(Locator loc)
Sets the Locator of the resource referenced by this data object. |
Method Detail |
public Locator getDataLocator()
null
if this data object provides
inline character data.public void setDataLocator(Locator loc) throws java.beans.PropertyVetoException
loc
- the resource locator.
java.beans.PropertyVetoException
- if the change to the data object is
vetoed by a listener.public void setData(java.lang.String data) throws java.beans.PropertyVetoException
data
- the character data to be provided by this data object.
java.beans.PropertyVetoException
- if the change to the data object is
vetoed by a listener.public java.lang.String getData()
null
if this data object provides
a resource reference.public boolean isDataInline()
true
if this data object provides inline character data,
false
if it refers to a remote resource.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |