|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tm4j.topicmap.unified.UnifiedTopicMapObject
org.tm4j.topicmap.unified.UnifiedScopedObject
org.tm4j.topicmap.unified.UnifiedOccurrence
| Field Summary |
| Fields inherited from class org.tm4j.topicmap.unified.UnifiedTopicMapObject |
m_tm |
| Constructor Summary | |
UnifiedOccurrence(UnifiedTopicMap tm,
Occurrence base)
|
|
| 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. |
Topic |
getParent()
Gets the topic which contains this occurrence. |
Topic |
getType()
Gets the Topic definition the type of this occurrence. |
boolean |
isDataInline()
Determines the type of resource data provided by this data object. |
boolean |
isOfType(Topic type)
Determines whether the type of the occurrence is described by type. |
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. |
void |
setParent(Topic parent)
|
void |
setType(Topic type)
Sets the Topic defining the type of this Occurrence. |
| Methods inherited from class org.tm4j.topicmap.unified.UnifiedScopedObject |
addTheme, dispose, getScope, inScope, inScope, removeTheme, setScope |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.tm4j.topicmap.ScopedObject |
addTheme, dispose, getScope, inScope, inScope, removeTheme, setScope |
| Constructor Detail |
public UnifiedOccurrence(UnifiedTopicMap tm,
Occurrence base)
| Method Detail |
public Topic getParent()
Occurrence
getParent in interface Occurrencenull if the
occurrence is not currently part of any topic.public Topic getType()
Occurrence
getType in interface Occurrencenull if no such Topic has been specified.public boolean isOfType(Topic type)
Occurrencetype.
isOfType in interface Occurrencetrue if the type of this Occurrence is defined by the topic
type, false otherwise.public void setParent(Topic parent)
public void setType(Topic type)
Occurrence
setType in interface Occurrencetype - The Topic defining the type of this occurrence.public java.lang.String getData()
DataObject
getData in interface DataObjectnull if this data object provides
a resource reference.public Locator getDataLocator()
DataObject
getDataLocator in interface DataObjectnull if this data object provides
inline character data.public boolean isDataInline()
DataObject
isDataInline in interface DataObjecttrue if this data object provides inline character data,
false if it refers to a remote resource.public void setData(java.lang.String data)
DataObject
setData in interface DataObjectdata - the character data to be provided by this data object.public void setDataLocator(Locator loc)
DataObject
setDataLocator in interface DataObjectloc - the resource locator.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||