Package net.ontopia.topicmaps.utils.ctm
Class BuilderEventHandler
java.lang.Object
net.ontopia.topicmaps.utils.ctm.BuilderEventHandler
- All Implemented Interfaces:
ParseEventHandlerIF
INTERNAL: The event handler which actually builds the topic map.
This handler assumes that all generators actually resolve to the
correct values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemIdentifier(ValueGeneratorIF locator) voidaddReifier(ValueGeneratorIF topic) voidaddRole(ValueGeneratorIF type, ValueGeneratorIF player) voidaddScopingTopic(ValueGeneratorIF topic) voidaddSubjectIdentifier(ValueGeneratorIF locator) voidaddSubjectLocator(ValueGeneratorIF locator) voidaddSubtype(ValueGeneratorIF thesubtype) voidaddTopicType(ValueGeneratorIF type) voidReturns a generator which returns the embedded topic produced by the event.voidendName()voidvoidendRoles()voidendTopic()voidvoidvoidstartName(ValueGeneratorIF type, ValueGeneratorIF value) voidstartOccurrence(ValueGeneratorIF type, ValueGeneratorIF value) voidstartTopic(ValueGeneratorIF topicgen) The generator makes (or just returns) the topic when asked to.voidstartTopicItemIdentifier(ValueGeneratorIF locator) voidvoidstartTopicSubjectLocator(ValueGeneratorIF locator) voidstartVariant(ValueGeneratorIF value) voidtemplateInvocation(String name, List arguments)
-
Constructor Details
-
BuilderEventHandler
-
-
Method Details
-
startTopicItemIdentifier
- Specified by:
startTopicItemIdentifierin interfaceParseEventHandlerIF
-
startTopicSubjectIdentifier
- Specified by:
startTopicSubjectIdentifierin interfaceParseEventHandlerIF
-
startTopicSubjectLocator
- Specified by:
startTopicSubjectLocatorin interfaceParseEventHandlerIF
-
startTopic
Description copied from interface:ParseEventHandlerIFThe generator makes (or just returns) the topic when asked to.- Specified by:
startTopicin interfaceParseEventHandlerIF
-
addItemIdentifier
- Specified by:
addItemIdentifierin interfaceParseEventHandlerIF
-
addSubjectIdentifier
- Specified by:
addSubjectIdentifierin interfaceParseEventHandlerIF
-
addSubjectLocator
- Specified by:
addSubjectLocatorin interfaceParseEventHandlerIF
-
addTopicType
- Specified by:
addTopicTypein interfaceParseEventHandlerIF
-
addSubtype
- Specified by:
addSubtypein interfaceParseEventHandlerIF
-
startName
- Specified by:
startNamein interfaceParseEventHandlerIF
-
addScopingTopic
- Specified by:
addScopingTopicin interfaceParseEventHandlerIF
-
addReifier
- Specified by:
addReifierin interfaceParseEventHandlerIF
-
startVariant
- Specified by:
startVariantin interfaceParseEventHandlerIF
-
endName
public void endName()- Specified by:
endNamein interfaceParseEventHandlerIF
-
startOccurrence
- Specified by:
startOccurrencein interfaceParseEventHandlerIF
-
endOccurrence
public void endOccurrence()- Specified by:
endOccurrencein interfaceParseEventHandlerIF
-
endTopic
public void endTopic()- Specified by:
endTopicin interfaceParseEventHandlerIF
-
startAssociation
- Specified by:
startAssociationin interfaceParseEventHandlerIF
-
addRole
- Specified by:
addRolein interfaceParseEventHandlerIF
-
endRoles
public void endRoles()- Specified by:
endRolesin interfaceParseEventHandlerIF
-
endAssociation
public void endAssociation()- Specified by:
endAssociationin interfaceParseEventHandlerIF
-
startEmbeddedTopic
public void startEmbeddedTopic()- Specified by:
startEmbeddedTopicin interfaceParseEventHandlerIF
-
endEmbeddedTopic
Description copied from interface:ParseEventHandlerIFReturns a generator which returns the embedded topic produced by the event.- Specified by:
endEmbeddedTopicin interfaceParseEventHandlerIF
-
templateInvocation
- Specified by:
templateInvocationin interfaceParseEventHandlerIF
-