public class GlobalParseContext extends Object implements ParseContextIF
Constructor and Description |
---|
GlobalParseContext(TopicMapIF topicmap,
LocatorIF base) |
Modifier and Type | Method and Description |
---|---|
void |
addIncludeUri(LocatorIF uri) |
void |
addPrefix(String prefix,
LocatorIF locator) |
Set<LocatorIF> |
getIncludeUris() |
Template |
getTemplate(String name,
int paramcount) |
Map |
getTemplates() |
ValueGeneratorIF |
getTopicById(String id) |
ValueGeneratorIF |
getTopicByItemIdentifier(LocatorIF itemid) |
ValueGeneratorIF |
getTopicByQname(String qname) |
ValueGeneratorIF |
getTopicBySubjectIdentifier(LocatorIF subjid) |
ValueGeneratorIF |
getTopicBySubjectLocator(LocatorIF subjloc) |
TopicIF |
makeAnonymousTopic() |
TopicIF |
makeAnonymousTopic(String wildcard_name) |
TopicIF |
makeTopicById(String id) |
TopicIF |
makeTopicByItemIdentifier(LocatorIF itemid) |
TopicIF |
makeTopicBySubjectIdentifier(LocatorIF subjid) |
TopicIF |
makeTopicBySubjectLocator(LocatorIF subjloc) |
void |
registerTemplate(String name,
Template template) |
LocatorIF |
resolveQname(String qname) |
public GlobalParseContext(TopicMapIF topicmap, LocatorIF base)
public void addPrefix(String prefix, LocatorIF locator)
addPrefix
in interface ParseContextIF
public void addIncludeUri(LocatorIF uri)
addIncludeUri
in interface ParseContextIF
public Set<LocatorIF> getIncludeUris()
getIncludeUris
in interface ParseContextIF
public LocatorIF resolveQname(String qname)
resolveQname
in interface ParseContextIF
public ValueGeneratorIF getTopicById(String id)
getTopicById
in interface ParseContextIF
public ValueGeneratorIF getTopicByItemIdentifier(LocatorIF itemid)
getTopicByItemIdentifier
in interface ParseContextIF
public ValueGeneratorIF getTopicBySubjectLocator(LocatorIF subjloc)
getTopicBySubjectLocator
in interface ParseContextIF
public ValueGeneratorIF getTopicBySubjectIdentifier(LocatorIF subjid)
getTopicBySubjectIdentifier
in interface ParseContextIF
public ValueGeneratorIF getTopicByQname(String qname)
getTopicByQname
in interface ParseContextIF
public TopicIF makeAnonymousTopic()
makeAnonymousTopic
in interface ParseContextIF
public TopicIF makeAnonymousTopic(String wildcard_name)
makeAnonymousTopic
in interface ParseContextIF
public void registerTemplate(String name, Template template)
registerTemplate
in interface ParseContextIF
public Template getTemplate(String name, int paramcount)
getTemplate
in interface ParseContextIF
public Map getTemplates()
getTemplates
in interface ParseContextIF
public TopicIF makeTopicById(String id)
makeTopicById
in interface ParseContextIF
public TopicIF makeTopicByItemIdentifier(LocatorIF itemid)
makeTopicByItemIdentifier
in interface ParseContextIF
public TopicIF makeTopicBySubjectLocator(LocatorIF subjloc)
makeTopicBySubjectLocator
in interface ParseContextIF
public TopicIF makeTopicBySubjectIdentifier(LocatorIF subjid)
makeTopicBySubjectIdentifier
in interface ParseContextIF