net.ontopia.topicmaps.utils.ctm
Class GlobalParseContext

java.lang.Object
  extended by net.ontopia.topicmaps.utils.ctm.GlobalParseContext
All Implemented Interfaces:
ParseContextIF
Direct Known Subclasses:
LocalParseContext

public class GlobalParseContext
extends java.lang.Object
implements ParseContextIF


Constructor Summary
GlobalParseContext(TopicMapIF topicmap, LocatorIF base)
           
 
Method Summary
 void addIncludeUri(LocatorIF uri)
           
 void addPrefix(java.lang.String prefix, LocatorIF locator)
           
 java.util.Set<LocatorIF> getIncludeUris()
           
 Template getTemplate(java.lang.String name, int paramcount)
           
 java.util.Map getTemplates()
           
 ValueGeneratorIF getTopicById(java.lang.String id)
           
 ValueGeneratorIF getTopicByItemIdentifier(LocatorIF itemid)
           
 ValueGeneratorIF getTopicByQname(java.lang.String qname)
           
 ValueGeneratorIF getTopicBySubjectIdentifier(LocatorIF subjid)
           
 ValueGeneratorIF getTopicBySubjectLocator(LocatorIF subjloc)
           
 TopicIF makeAnonymousTopic()
           
 TopicIF makeAnonymousTopic(java.lang.String wildcard_name)
           
 TopicIF makeTopicById(java.lang.String id)
           
 TopicIF makeTopicByItemIdentifier(LocatorIF itemid)
           
 TopicIF makeTopicBySubjectIdentifier(LocatorIF subjid)
           
 TopicIF makeTopicBySubjectLocator(LocatorIF subjloc)
           
 void registerTemplate(java.lang.String name, Template template)
           
 LocatorIF resolveQname(java.lang.String qname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalParseContext

public GlobalParseContext(TopicMapIF topicmap,
                          LocatorIF base)
Method Detail

addPrefix

public void addPrefix(java.lang.String prefix,
                      LocatorIF locator)
Specified by:
addPrefix in interface ParseContextIF

addIncludeUri

public void addIncludeUri(LocatorIF uri)
Specified by:
addIncludeUri in interface ParseContextIF

getIncludeUris

public java.util.Set<LocatorIF> getIncludeUris()
Specified by:
getIncludeUris in interface ParseContextIF

resolveQname

public LocatorIF resolveQname(java.lang.String qname)
Specified by:
resolveQname in interface ParseContextIF

getTopicById

public ValueGeneratorIF getTopicById(java.lang.String id)
Specified by:
getTopicById in interface ParseContextIF

getTopicByItemIdentifier

public ValueGeneratorIF getTopicByItemIdentifier(LocatorIF itemid)
Specified by:
getTopicByItemIdentifier in interface ParseContextIF

getTopicBySubjectLocator

public ValueGeneratorIF getTopicBySubjectLocator(LocatorIF subjloc)
Specified by:
getTopicBySubjectLocator in interface ParseContextIF

getTopicBySubjectIdentifier

public ValueGeneratorIF getTopicBySubjectIdentifier(LocatorIF subjid)
Specified by:
getTopicBySubjectIdentifier in interface ParseContextIF

getTopicByQname

public ValueGeneratorIF getTopicByQname(java.lang.String qname)
Specified by:
getTopicByQname in interface ParseContextIF

makeAnonymousTopic

public TopicIF makeAnonymousTopic()
Specified by:
makeAnonymousTopic in interface ParseContextIF

makeAnonymousTopic

public TopicIF makeAnonymousTopic(java.lang.String wildcard_name)
Specified by:
makeAnonymousTopic in interface ParseContextIF

registerTemplate

public void registerTemplate(java.lang.String name,
                             Template template)
Specified by:
registerTemplate in interface ParseContextIF

getTemplate

public Template getTemplate(java.lang.String name,
                            int paramcount)
Specified by:
getTemplate in interface ParseContextIF

getTemplates

public java.util.Map getTemplates()
Specified by:
getTemplates in interface ParseContextIF

makeTopicById

public TopicIF makeTopicById(java.lang.String id)
Specified by:
makeTopicById in interface ParseContextIF

makeTopicByItemIdentifier

public TopicIF makeTopicByItemIdentifier(LocatorIF itemid)
Specified by:
makeTopicByItemIdentifier in interface ParseContextIF

makeTopicBySubjectLocator

public TopicIF makeTopicBySubjectLocator(LocatorIF subjloc)
Specified by:
makeTopicBySubjectLocator in interface ParseContextIF

makeTopicBySubjectIdentifier

public TopicIF makeTopicBySubjectIdentifier(LocatorIF subjid)
Specified by:
makeTopicBySubjectIdentifier in interface ParseContextIF


Copyright © 2000-2012 Ontopia.