|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TopicMapBuilderIF
PUBLIC: A helper for building topic map object structures.
The builder creates topic map objects.
| Method Summary | |
|---|---|
TopicMapIF |
getTopicMap()
PUBLIC: Returns the topic map to which this builder belongs. |
AssociationIF |
makeAssociation(TopicIF assoc_type)
PUBLIC: Makes a new association with the given type in the current topic map. |
AssociationIF |
makeAssociation(TopicIF assoc_type,
TopicIF role_type,
TopicIF player)
PUBLIC: Makes a new unary association with the given type in the current topic map. |
AssociationRoleIF |
makeAssociationRole(AssociationIF assoc,
TopicIF role_type,
TopicIF player)
PUBLIC: Makes a new association role with the given type and player for the specified association. |
OccurrenceIF |
makeOccurrence(TopicIF topic,
TopicIF occurs_type,
LocatorIF locator)
PUBLIC: Makes a new external occurrence with the given type and locator for the given topic. |
OccurrenceIF |
makeOccurrence(TopicIF topic,
TopicIF occurs_type,
java.io.Reader value,
long length,
LocatorIF datatype)
PUBLIC: Makes a new internal occurrence with the given type and value for the given topic. |
OccurrenceIF |
makeOccurrence(TopicIF topic,
TopicIF occurs_type,
java.lang.String value)
PUBLIC: Makes a new internal occurrence with the given type and value for the given topic. |
OccurrenceIF |
makeOccurrence(TopicIF topic,
TopicIF occurs_type,
java.lang.String value,
LocatorIF datatype)
PUBLIC: Makes a new internal occurrence with the given type and value for the given topic. |
TopicIF |
makeTopic()
PUBLIC: Makes a new topic for the current topic map. |
TopicIF |
makeTopic(java.util.Collection<TopicIF> topic_types)
PUBLIC: Makes a new topic of the given types for the current topic map. |
TopicIF |
makeTopic(TopicIF topic_type)
PUBLIC: Makes a new topic of the given type for the current topic map. |
TopicNameIF |
makeTopicName(TopicIF topic,
java.lang.String value)
PUBLIC: Makes a new untyped topic name with the given value for the given topic. |
TopicNameIF |
makeTopicName(TopicIF topic,
TopicIF bntype,
java.lang.String value)
PUBLIC: Makes a new topic name with the given type and value for the given topic. |
VariantNameIF |
makeVariantName(TopicNameIF name,
LocatorIF locator)
Deprecated. Use makeVariantName(TopicNameIF, LocatorIF, Collection) |
VariantNameIF |
makeVariantName(TopicNameIF name,
LocatorIF locator,
java.util.Collection<TopicIF> scope)
PUBLIC: Makes a new variant name with the given locator for the specified topic name in the given scope. |
VariantNameIF |
makeVariantName(TopicNameIF name,
java.io.Reader value,
long length,
LocatorIF datatype)
Deprecated. Use makeVariantName(TopicNameIF, Reader, long, LocatorIF, Collection) |
VariantNameIF |
makeVariantName(TopicNameIF name,
java.io.Reader value,
long length,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
PUBLIC: Makes a new variant name with the specified name value reader and datatype for the specified topic name in the given scope. |
VariantNameIF |
makeVariantName(TopicNameIF name,
java.lang.String value)
Deprecated. Use makeVariantName(TopicNameIF, String, Collection) |
VariantNameIF |
makeVariantName(TopicNameIF name,
java.lang.String value,
java.util.Collection<TopicIF> scope)
PUBLIC: Makes a new variant name with the specified name value for the specified topic name in the given scope. |
VariantNameIF |
makeVariantName(TopicNameIF name,
java.lang.String value,
LocatorIF datatype)
Deprecated. Use makeVariantName(TopicNameIF, String, LocatorIF, Collection) |
VariantNameIF |
makeVariantName(TopicNameIF name,
java.lang.String value,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
PUBLIC: Makes a new variant name with the specified name value and datatype for the specified name in the given scope. |
| Method Detail |
|---|
TopicMapIF getTopicMap()
TopicIF makeTopic()
TopicIF makeTopic(TopicIF topic_type)
topic_type - The type of the created topic, an object
implementing TopicIF.
TopicIF makeTopic(java.util.Collection<TopicIF> topic_types)
topic_types - A collection of topics defining the type of
the created topic, all objects implementing TopicIF.
TopicNameIF makeTopicName(TopicIF topic,
java.lang.String value)
topic - A topic; an object implementing TopicIF.value - A string which is the value of the topic name.
TopicNameIF makeTopicName(TopicIF topic,
TopicIF bntype,
java.lang.String value)
topic - A topic; an object implementing TopicIF.bntype - The type of the created topic name;
an object implementing TopicIF.value - A string which is the value of the topic name.
VariantNameIF makeVariantName(TopicNameIF name,
java.lang.String value)
name - The given topic name; an object implmenting TopicNameIF.value - A string which is the value of the variant name.
VariantNameIF makeVariantName(TopicNameIF name,
java.lang.String value,
java.util.Collection<TopicIF> scope)
name - The given topic name; an object implmenting TopicNameIF.value - A string which is the value of the variant name.scope - The scope in which this variant name is applicable.
VariantNameIF makeVariantName(TopicNameIF name,
LocatorIF locator)
name - The given topic name; an object implmenting TopicNameIF.locator - The locator for the variant name.
VariantNameIF makeVariantName(TopicNameIF name,
LocatorIF locator,
java.util.Collection<TopicIF> scope)
name - The given topic name; an object implmenting TopicNameIF.locator - The locator for the variant name.scope - The scope in which this variant name is applicable.
VariantNameIF makeVariantName(TopicNameIF name,
java.lang.String value,
LocatorIF datatype)
name - The given name; an object implmenting TopicNameIF.value - A string which is the value of the variant name.datatype - The datatype of the value
VariantNameIF makeVariantName(TopicNameIF name,
java.lang.String value,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
name - The given topic name; an object implmenting TopicNameIF.value - A string which is the value of the variant name.datatype - The datatype of the valuescope - The scope in which this variant name is applicable.
VariantNameIF makeVariantName(TopicNameIF name,
java.io.Reader value,
long length,
LocatorIF datatype)
name - The given topic name; an object implmenting TopicNameIF.value - A reader which contains the value of the variant name.length - The length of the reader value.datatype - The datatype of the value
VariantNameIF makeVariantName(TopicNameIF name,
java.io.Reader value,
long length,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
name - The given topic name; an object implmenting TopicNameIF.value - A reader which contains the value of the variant name.length - The length of the reader value.datatype - The datatype of the valuescope - The scope in which this variant name is applicable.
OccurrenceIF makeOccurrence(TopicIF topic,
TopicIF occurs_type,
java.lang.String value)
topic - The given topic; an object implementing TopicIF.occurs_type - The type of the created occurrence;
an object implementing TopicIF.value - The value of the occurrence;
OccurrenceIF makeOccurrence(TopicIF topic,
TopicIF occurs_type,
java.lang.String value,
LocatorIF datatype)
topic - The given topic; an object implementing TopicIF.occurs_type - The type of the created occurrence;
an object implementing TopicIF.value - The value of the occurrence;datatype - The datatype of the value.
OccurrenceIF makeOccurrence(TopicIF topic,
TopicIF occurs_type,
java.io.Reader value,
long length,
LocatorIF datatype)
topic - The given topic; an object implementing TopicIF.occurs_type - The type of the created occurrence;
an object implementing TopicIF.value - The reader that contains the value of the occurrence;length - The length of the reader value.datatype - The datatype of the value.
OccurrenceIF makeOccurrence(TopicIF topic,
TopicIF occurs_type,
LocatorIF locator)
topic - The given topic; an object implementing TopicIF.occurs_type - The role type of the created occurrence;
an object implementing TopicIF.locator - The locator of the occurrence;
an object implementing LocatorIF.
AssociationIF makeAssociation(TopicIF assoc_type)
assoc_type - The association type; an object implementing TopicIF.
AssociationIF makeAssociation(TopicIF assoc_type,
TopicIF role_type,
TopicIF player)
assoc_type - The association type; an object implementing TopicIF.role_type - The role type of the first role.player - The player of the first role.
AssociationRoleIF makeAssociationRole(AssociationIF assoc,
TopicIF role_type,
TopicIF player)
assoc - The given association; an object implementing AssociationIF.role_type - The given type; an object implementing TopicIF.player - The given role player; an object implementing TopicIF.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||