org.tm4j.topicmap.utils
Interface TopicMapWriter

All Superinterfaces:
WalkerHandler
All Known Implementing Classes:
XTMWriter

public interface TopicMapWriter
extends WalkerHandler

Extends the TopicMapHandler interface to provide a means for a SAX2 ContentHandler and ErrorHandler to be registered with the Walker.


Method Summary
 void setContentHandler(org.xml.sax.ContentHandler d)
          Sets the SAX2 Content handler to receive XTM element start and end events.
 void setErrorHandler(org.xml.sax.ErrorHandler e)
          Sets the SAX2 ErrorHandler to receive notification of errors during the export of the topic map.
 
Methods inherited from interface org.tm4j.topicmap.utils.WalkerHandler
endAssociation, endBaseName, endMember, endOccurrence, endScope, endTopic, endTopicMap, endVariant, onParameter, onPlayer, onRoleSpec, onSubject, onSubjectIndicator, onTheme, onType, onVariantName, startAssociation, startBaseName, startMember, startOccurrence, startScope, startTopic, startTopicMap, startVariant
 

Method Detail

setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler d)
Sets the SAX2 Content handler to receive XTM element start and end events.


setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler e)
                     throws org.xml.sax.SAXException
Sets the SAX2 ErrorHandler to receive notification of errors during the export of the topic map.

Throws:
org.xml.sax.SAXException