Package net.ontopia.topicmaps.utils.ctm
Class GlobalParseContext
- java.lang.Object
-
- net.ontopia.topicmaps.utils.ctm.GlobalParseContext
-
- All Implemented Interfaces:
ParseContextIF
- Direct Known Subclasses:
LocalParseContext
public class GlobalParseContext extends Object implements ParseContextIF
-
-
Constructor Summary
Constructors Constructor Description GlobalParseContext(TopicMapIF topicmap, LocatorIF base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIncludeUri(LocatorIF uri)voidaddPrefix(String prefix, LocatorIF locator)Set<LocatorIF>getIncludeUris()TemplategetTemplate(String name, int paramcount)MapgetTemplates()ValueGeneratorIFgetTopicById(String id)ValueGeneratorIFgetTopicByItemIdentifier(LocatorIF itemid)ValueGeneratorIFgetTopicByQname(String qname)ValueGeneratorIFgetTopicBySubjectIdentifier(LocatorIF subjid)ValueGeneratorIFgetTopicBySubjectLocator(LocatorIF subjloc)TopicIFmakeAnonymousTopic()TopicIFmakeAnonymousTopic(String wildcard_name)TopicIFmakeTopicById(String id)TopicIFmakeTopicByItemIdentifier(LocatorIF itemid)TopicIFmakeTopicBySubjectIdentifier(LocatorIF subjid)TopicIFmakeTopicBySubjectLocator(LocatorIF subjloc)voidregisterTemplate(String name, Template template)LocatorIFresolveQname(String qname)
-
-
-
Constructor Detail
-
GlobalParseContext
public GlobalParseContext(TopicMapIF topicmap, LocatorIF base)
-
-
Method Detail
-
addPrefix
public void addPrefix(String prefix, LocatorIF locator)
- Specified by:
addPrefixin interfaceParseContextIF
-
addIncludeUri
public void addIncludeUri(LocatorIF uri)
- Specified by:
addIncludeUriin interfaceParseContextIF
-
getIncludeUris
public Set<LocatorIF> getIncludeUris()
- Specified by:
getIncludeUrisin interfaceParseContextIF
-
resolveQname
public LocatorIF resolveQname(String qname)
- Specified by:
resolveQnamein interfaceParseContextIF
-
getTopicById
public ValueGeneratorIF getTopicById(String id)
- Specified by:
getTopicByIdin interfaceParseContextIF
-
getTopicByItemIdentifier
public ValueGeneratorIF getTopicByItemIdentifier(LocatorIF itemid)
- Specified by:
getTopicByItemIdentifierin interfaceParseContextIF
-
getTopicBySubjectLocator
public ValueGeneratorIF getTopicBySubjectLocator(LocatorIF subjloc)
- Specified by:
getTopicBySubjectLocatorin interfaceParseContextIF
-
getTopicBySubjectIdentifier
public ValueGeneratorIF getTopicBySubjectIdentifier(LocatorIF subjid)
- Specified by:
getTopicBySubjectIdentifierin interfaceParseContextIF
-
getTopicByQname
public ValueGeneratorIF getTopicByQname(String qname)
- Specified by:
getTopicByQnamein interfaceParseContextIF
-
makeAnonymousTopic
public TopicIF makeAnonymousTopic()
- Specified by:
makeAnonymousTopicin interfaceParseContextIF
-
makeAnonymousTopic
public TopicIF makeAnonymousTopic(String wildcard_name)
- Specified by:
makeAnonymousTopicin interfaceParseContextIF
-
registerTemplate
public void registerTemplate(String name, Template template)
- Specified by:
registerTemplatein interfaceParseContextIF
-
getTemplate
public Template getTemplate(String name, int paramcount)
- Specified by:
getTemplatein interfaceParseContextIF
-
getTemplates
public Map getTemplates()
- Specified by:
getTemplatesin interfaceParseContextIF
-
makeTopicById
public TopicIF makeTopicById(String id)
- Specified by:
makeTopicByIdin interfaceParseContextIF
-
makeTopicByItemIdentifier
public TopicIF makeTopicByItemIdentifier(LocatorIF itemid)
- Specified by:
makeTopicByItemIdentifierin interfaceParseContextIF
-
makeTopicBySubjectLocator
public TopicIF makeTopicBySubjectLocator(LocatorIF subjloc)
- Specified by:
makeTopicBySubjectLocatorin interfaceParseContextIF
-
makeTopicBySubjectIdentifier
public TopicIF makeTopicBySubjectIdentifier(LocatorIF subjid)
- Specified by:
makeTopicBySubjectIdentifierin interfaceParseContextIF
-
-