org.tm4j.topicmap.utils .XTMWriter

Inheritance Hierarchy

Field Summary
OPTION_EXPORT_IMPLIED_IDS
OPTION_EXPORT_RESOURCE_BASE
OPTION_EXPORT_RESOURCE_IDS
OPTION_IDREF_PREFIX
OPTION_WRITE_AS_FRAGMENT
OPTION_WRITE_STUB_TOPICS
OPTION_XLINK_PREFIX
OPTION_XTM_PREFIX
Method Summary
void baseNameString(java.lang.String id,java.lang.String value)
void characters(java.lang.String value)
void closeParameters()
void closeSubjectIdentity()
void closeTypes()
void endAssociation()
void endAssociation(org.tm4j.topicmap.Association assoc)
void endBaseName()
void endBaseName(org.tm4j.topicmap.BaseName bn)
void endInstanceOf()
void endMember()
void endMember(org.tm4j.topicmap.Member m)
void endMergeMap()
void endOccurrence()
void endOccurrence(org.tm4j.topicmap.Occurrence occ)
void endParameters()
void endRoleSpec()
void endScope()
void endSubjectIdentity()
void endTopic()
void endTopic(org.tm4j.topicmap.Topic t)
void endTopicMap()
void endTopicMap(org.tm4j.topicmap.TopicMap tm)
void endVariant()
void endVariant(org.tm4j.topicmap.Variant var)
void endVariantName()
void endXTMElement(java.lang.String localName)
java.lang.String getDocumentPart(java.lang.String addressString)
Returns that part of a URI locator address which preceeds the fragment separator '#'
void getExportImpliedIDs()
Returns the value of the exportImpliedIDs option of the writer.
void getExportResourceIDs()
Returns the value of the exportResourceIDs option of the writer.
java.lang.String getID(org.tm4j.topicmap.TopicMap tm)
java.lang.String getID(org.tm4j.topicmap.TopicMapObject tmo)
Returns the id attribute value to be exported for the specified TopicMapObject.
java.lang.String getIDRefPrefix()
Returns the prefix to be applied to a topic ID when using it for the href attribute value of a topicRef element.
java.lang.String getResourceID(org.tm4j.topicmap.TopicMapObject tmo,org.tm4j.net.Locator srcLoc)
Returns the fragment part of tmo's resourceLocator property if, and only if the document part of the resourceLocator matches the doucment part of the containing TopicMap object's resourceLocator property.
java.lang.String getXLinkNSPrefix()
Returns the namespace prefix to be applied to attributes in the XLink namespace
java.lang.String getXTMNSPrefix()
Returns the namespace prefix to be applied to elements in the XTM namespace
java.lang.String makeRelative(java.lang.String id)
void onParameter(org.tm4j.topicmap.Topic param)
void onPlayer(org.tm4j.topicmap.Topic p)
void onRoleSpec(org.tm4j.topicmap.Topic rs)
void onScopedObject(java.lang.String soID)
void onSubject(org.tm4j.net.Locator subject)
void onSubjectIndicator(org.tm4j.net.Locator subjInd)
void onTheme(org.tm4j.topicmap.Topic theme)
void onType(org.tm4j.topicmap.Topic type)
void onVariantName(org.tm4j.topicmap.VariantName varName)
void openParameters()
void openSubjectIdentity()
void ref(java.lang.String id,int refType,java.lang.String refValue)
void ref(java.lang.String id,int refType,org.tm4j.net.Locator refValue)
void resourceData(java.lang.String id,java.lang.String data)
void setContentHandler(org.xml.sax.ContentHandler h)
Sets the SAX ContentHandler to which export events will be notified.
void setErrorHandler(org.xml.sax.ErrorHandler h)
Sets the SAX ErrorHandler to which export errors will be notified.
void setExportImpliedIDs(boolean b)
Sets the exportImpliedIDs option for the writer.
void setExportResourceIDs(boolean b)
Sets the exportResourceIDs option for the writer.
void setIDRefPrefix(java.lang.String idRefPrefix)
Sets the string prefix to be applied to a topic ID when specifying the string in a topicRef element.
void setProperty(java.lang.String propertyName,java.lang.String propertyValue)
void setWriteAsFragment(boolean asFragment)
Sets whether or not the topic map should be written as an XML fragment.
void setXLinkNSPrefix(java.lang.String nsPrefix)
Sets the namespace prefix to be applied to attributes in the XLink namespace.
void setXTMNSPrefix(java.lang.String nsPrefix)
Sets the namespace prefix to be applied to elements in the XTM namespace.
void startAssociation(java.lang.String id)
void startAssociation(org.tm4j.topicmap.Association assoc)
void startBaseName(java.lang.String id)
void startBaseName(org.tm4j.topicmap.BaseName bn)
void startInstanceOf(java.lang.String id)
void startMember(java.lang.String id)
void startMember(org.tm4j.topicmap.Member m)
void startMergeMap(java.lang.String id,java.lang.String mergeMapURI)
void startOccurrence(java.lang.String id)
void startOccurrence(org.tm4j.topicmap.Occurrence occ)
void startParameters(java.lang.String id)
void startRoleSpec(java.lang.String id)
void startScope()
void startScope(java.lang.String id)
void startSubjectIdentity(java.lang.String id)
void startTopic(java.lang.String id)
void startTopic(org.tm4j.topicmap.Topic t)
void startTopicMap(java.lang.String id,java.lang.String base)
void startTopicMap(org.tm4j.topicmap.TopicMap tm)
void startVariant(java.lang.String id)
void startVariant(org.tm4j.topicmap.Variant var)
void startVariantName(java.lang.String id)
void startXTMElement(java.lang.String localName,java.lang.String id)
void startXTMElement(java.lang.String localName,java.lang.String id,java.lang.String href)
void startXTMElement(java.lang.String localName,org.xml.sax.Attributes atts)
void topicRef(org.tm4j.topicmap.Topic t)
void writeBaseNameString()