org.tm4j.topicmap .DataObject

Description

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:

  • Character data ("inline data"),
  • A locateable resource, specified by an XLink URI.
This interface defines the basic methods for retrieving and manipulating resource data of both these kinds.

Inheritance Hierarchy

Method Summary
java.lang.String getData()
Gets the resource data string associated with this occurrence.
org.tm4j.net.Locator getDataLocator()
Returns the Locator of the resource referenced by this data object.
void 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(org.tm4j.net.Locator loc)
Sets the Locator of the resource referenced by this data object.