net.ontopia.topicmaps.utils.ctm
Interface ParseEventHandlerIF

All Known Implementing Classes:
BuilderEventHandler, TemplateEventHandler

public interface ParseEventHandlerIF

INTERNAL: Interface implemented by event handlers which build the actual topic map, based on events received by the parser. In template definitions the events are stored to be replayed when the template is invoked. The state of generator objects may change after the event method has returned; to store generator objects between invocations it is necessary to make copies.


Method Summary
 void addItemIdentifier(ValueGeneratorIF locator)
           
 void addReifier(ValueGeneratorIF topic)
           
 void addRole(ValueGeneratorIF type, ValueGeneratorIF player)
           
 void addScopingTopic(ValueGeneratorIF topic)
           
 void addSubjectIdentifier(ValueGeneratorIF locator)
           
 void addSubjectLocator(ValueGeneratorIF locator)
           
 void addSubtype(ValueGeneratorIF subtype)
           
 void addTopicType(ValueGeneratorIF topic)
           
 void endAssociation()
           
 ValueGeneratorIF endEmbeddedTopic()
          Returns a generator which returns the embedded topic produced by the event.
 void endName()
           
 void endOccurrence()
           
 void endRoles()
           
 void endTopic()
           
 void startAssociation(ValueGeneratorIF type)
           
 void startEmbeddedTopic()
           
 void startName(ValueGeneratorIF type, ValueGeneratorIF value)
           
 void startOccurrence(ValueGeneratorIF type, ValueGeneratorIF value)
           
 void startTopic(ValueGeneratorIF topic)
          The generator makes (or just returns) the topic when asked to.
 void startTopicItemIdentifier(ValueGeneratorIF locator)
           
 void startTopicSubjectIdentifier(ValueGeneratorIF locator)
           
 void startTopicSubjectLocator(ValueGeneratorIF locator)
           
 void startVariant(ValueGeneratorIF value)
           
 void templateInvocation(java.lang.String name, java.util.List arguments)
           
 

Method Detail

startTopicItemIdentifier

void startTopicItemIdentifier(ValueGeneratorIF locator)

startTopicSubjectIdentifier

void startTopicSubjectIdentifier(ValueGeneratorIF locator)

startTopicSubjectLocator

void startTopicSubjectLocator(ValueGeneratorIF locator)

startTopic

void startTopic(ValueGeneratorIF topic)
The generator makes (or just returns) the topic when asked to.


addItemIdentifier

void addItemIdentifier(ValueGeneratorIF locator)

addSubjectIdentifier

void addSubjectIdentifier(ValueGeneratorIF locator)

addSubjectLocator

void addSubjectLocator(ValueGeneratorIF locator)

addTopicType

void addTopicType(ValueGeneratorIF topic)

addSubtype

void addSubtype(ValueGeneratorIF subtype)

startName

void startName(ValueGeneratorIF type,
               ValueGeneratorIF value)

addScopingTopic

void addScopingTopic(ValueGeneratorIF topic)

addReifier

void addReifier(ValueGeneratorIF topic)

startVariant

void startVariant(ValueGeneratorIF value)

endName

void endName()

startOccurrence

void startOccurrence(ValueGeneratorIF type,
                     ValueGeneratorIF value)

endOccurrence

void endOccurrence()

endTopic

void endTopic()

startAssociation

void startAssociation(ValueGeneratorIF type)

addRole

void addRole(ValueGeneratorIF type,
             ValueGeneratorIF player)

endRoles

void endRoles()

endAssociation

void endAssociation()

startEmbeddedTopic

void startEmbeddedTopic()

endEmbeddedTopic

ValueGeneratorIF endEmbeddedTopic()
Returns a generator which returns the embedded topic produced by the event.


templateInvocation

void templateInvocation(java.lang.String name,
                        java.util.List arguments)


Copyright © 2000-2012 Ontopia.