Uses of Interface
org.tm4j.net.Locator

Packages that use Locator
org.tm4j.net Provides functionality for dealing with references to external resources. 
org.tm4j.tmapi.core An implementation of the draft TMAPI interfaces. 
org.tm4j.topicmap Provides the core interfaces of the TM4J Topic Map Engine. 
org.tm4j.topicmap.index.basic Provides additional interfaces for "basic" indexing functionality. 
org.tm4j.topicmap.source Provides an abstract representation sources of TopicMaps and an implementation for serialized TopicMaps 
org.tm4j.topicmap.unified Implements a TM4J back-end which merges topic maps from one or more other back-end implementations dynamically. 
org.tm4j.topicmap.utils Contains utility classes providing additional functionality for the TM4J API. 
org.tm4j.topicmap.utils.testers Testers are predicate functions that evaluate a function and return true or false. 
 

Uses of Locator in org.tm4j.net
 

Subinterfaces of Locator in org.tm4j.net
 interface FPILocator
          Defines a locator that represents a Formal Public Identifier (FPI).
 interface URILocator
          Defines a locator that represents a Uniform Resource Identifier (URI).
 

Classes in org.tm4j.net that implement Locator
 class LocatorAdapter
          Deprecated. Not used.
 class LocatorBase
          An abstract base class implementing the Locator interface.
 

Methods in org.tm4j.net that return Locator
 Locator Locator.resolveRelative(Locator rel)
          Returns a new Locator whose address is the result of resolving the specified Locator relative to this Locator.
 Locator Locator.resolveRelative(java.lang.String rel)
          Returns a new Locator whose address is the result of resolvng the specified relative address string relative to this Locator.
 Locator Locator.copy()
          Returns a copy of this object.
 Locator LocatorFactory.createLocator(java.lang.String notation, java.lang.String address)
          Creates a new locator.
 Locator LocatorFactoryBase.createLocator(java.lang.String notation, java.lang.String address)
          Creates a new locator.
 

Methods in org.tm4j.net with parameters of type Locator
 java.io.InputStream URILocatorResolver.resolve(Locator loc)
          Opens an InputStream from the resource specified by the Locator's address.
 java.io.InputStream SimpleLocatorResolverManager.resolve(Locator loc)
           
 java.io.InputStream LocatorResolver.resolve(Locator locator)
          Opens an input stream from the location specified by locator.
 boolean LocatorAdapter.equals(Locator other)
          Deprecated. Determines the equality of this Locator to other.
 Locator Locator.resolveRelative(Locator rel)
          Returns a new Locator whose address is the result of resolving the specified Locator relative to this Locator.
 boolean Locator.equals(Locator loc)
          Determines the equality of this Locator to loc:
 

Constructors in org.tm4j.net with parameters of type Locator
LocatorBase(Locator loc)
          Creates a locator from the given template, copying the original locator's notation and address.
 

Uses of Locator in org.tm4j.tmapi.core
 

Fields in org.tm4j.tmapi.core declared as Locator
protected  Locator TMAPILocatorImpl.m_obj
           
 

Methods in org.tm4j.tmapi.core that return Locator
 Locator TMAPILocatorImpl.getWrapped()
           
 

Constructors in org.tm4j.tmapi.core with parameters of type Locator
TMAPILocatorImpl(Locator obj)
           
 

Uses of Locator in org.tm4j.topicmap
 

Methods in org.tm4j.topicmap that return Locator
protected  Locator TopicMapFactoryBase.copy(Locator src)
           
 Locator DataObject.getDataLocator()
          Returns the Locator of the resource referenced by this data object.
 Locator Topic.getSubject()
          Retrieves the reference to the resource which is the subject of this topic.
 Locator Topic.getSubject(boolean includeMergedTopics)
          Retrieves the reference to the resource which is the subject of this topic.
 Locator TopicMapObject.getResourceLocator()
          Deprecated. From 0.9.0 use TopicMapObject.getSourceLocators()
 Locator TopicMap.getBaseLocator()
          Returns the Locator for the address of the source which generated the topic map.
 

Methods in org.tm4j.topicmap with parameters of type Locator
 TopicMap TopicMapManager.getTopicMap(Locator baseLoc)
          Gets the TopicMap generated from the resource specified by locator
protected  Locator TopicMapFactoryBase.copy(Locator src)
           
protected  void TopicMapProviderBase.initialiseBuilder(TopicMap existingTopicMap, Locator srcLocator)
          Sets up the XTMParser and XTMBuilder objects to be used in constructing a new TopicMap or in merging the contents of an XTM file into an existing TopicMap.
 TopicMap TopicMapProviderBase.addTopicMap(java.io.InputStream srcStream, Locator baseLocator)
          A convenience method returning the added TopicMap.
 TopicMap TopicMapProviderBase.addTopicMap(java.io.InputStream srcStream, Locator baseLocator, TopicMap existingTopicMap)
          Deprecated. from 0.9.0 use TopicMapSourceSupport.addTopicMap(TopicMapSource)
 TopicMap TopicMapProviderBase.addTopicMap(java.io.InputStream srcStream, Locator baseLocator, TopicMap existingTopicMap, TopicMapBuilder builder)
          Deprecated. from 0.9.0 use TopicMapSourceSupport.addTopicMap(TopicMapSource, TopicMap)
 TopicMap TopicMapProviderBase.addTopicMap(java.io.InputStream srcStream, Locator baseLocator, TopicMap existingTopicMap, Topic[] addedThemes)
          Deprecated. from 0.9.0 use TopicMapSourceSupport.addTopicMap(TopicMapSource, TopicMap, Topic[])
 TopicMap TopicMapProviderBase.addTopicMap(java.io.InputStream srcStream, Locator baseLocator, TopicMap existingTopicMap, Topic[] addedThemes, TopicMapBuilder builder)
          Imports a topic map in XTM or LTM syntax into the data store managed by this TopicMapProvider.
 void TopicMapProviderBase.mergeTopicMap(TopicMap baseTopicMap, Locator externalTopicMap, Topic[] addedThemes)
           
 void DataObject.setDataLocator(Locator loc)
          Sets the Locator of the resource referenced by this data object.
 TopicMap TopicMapProvider.getTopicMap(Locator baseLocator)
          Returns the topic map provided by this object who's base address is specified by baseLocator.
 TopicMap TopicMapProvider.createTopicMap(Locator baseLocator)
          Creates a new topic map for this provider.
 TopicMap TopicMapProvider.addTopicMap(java.io.InputStream src, Locator baseLocator, TopicMap existingTopicMap)
          Deprecated. use addTopicMap(TopicMapSource source, TopicMap existing) instead
 TopicMap TopicMapProvider.addTopicMap(java.io.InputStream src, Locator baseLocator, TopicMap existingTopicMap, TopicMapBuilder builder)
          Deprecated. use addTopicMap(TopicMapSource source, TopicMap existing) instead
 TopicMap TopicMapProvider.addTopicMap(java.io.InputStream src, Locator baseLocator, TopicMap existingTopicMap, Topic[] addedThemes)
          Deprecated. use addTopicMap(TopicMapSource source, TopicMap existing, Topic[] addedThemes) instead
 void TopicMapProvider.mergeTopicMap(TopicMap baseTopicMap, Locator externalTopicMap, Topic[] addedThemes)
          Merges the topic map from the resource externalTopicMap into the topic map baseTopicMap.
 java.util.Collection TopicMapUtils.getMembersOfType(Topic topic, Locator subjectOrIndicator)
          Returns the set of Members of the specified Topic for which the subject or subject indicator of the roleSpec matches the specified locator.
 java.util.Collection TopicMapUtils.getMembersOfType(Association assoc, Locator subjectOrIndicator)
          Returns the set of Members of the specified Association for which the subject or subject indicator of the roleSpec matches the specified locator
 Member Association.createMember(java.lang.String id, Locator resourceLoc, Topic roleSpec, java.util.Collection players)
          Creates a new Member and adds it to this Association.
 void Topic.setSubject(Locator subject)
          Sets the reference to the subject of this topic.
 void Topic.addSubjectIndicator(Locator subjectIndicator)
          Adds a subject indicator to this topic.
 void Topic.setSubjectIndicators(Locator[] indicators)
          Sets the collection of subject indicators for this topic.
 boolean Topic.isOfType(Locator subjectOrIndicator)
          Determines whether this topic is typed by a topic whose subject is or whose subject is indicated by subjectOrIndicator.
 Occurrence Topic.createOccurrence(java.lang.String id, Locator resourceLocator, Topic type, Locator ref, Topic[] themes)
           
 Occurrence Topic.createOccurrence(java.lang.String id, Locator resourceLocator, Topic type, java.lang.String data, Topic[] themes)
           
 void TopicMapObject.setResourceLocator(Locator loc)
          Deprecated. From 0.9.0 use TopicMapObject.addSourceLocator(Locator)
 void TopicMapObject.addSourceLocator(Locator loc)
          Adds a locator to the set of locators of the XML or other resources which contributed to this topic map object.
 void TopicMapObject.removeSourceLocator(Locator loc)
          Removes a locator from the set of locators of the XML or other resources which contributed to this topic map object.
 Association TopicMap.createAssociation(java.lang.String id, Locator resourceLocator, Topic type, Topic[] themes)
          Creates a new Association in this topic map
 TopicMapObject TopicMap.getObjectByResourceLocator(Locator resourceLocator)
          Deprecated. from 0.9.0 this method is renamed TopicMap.getObjectBySourceLocator(Locator)
 TopicMapObject TopicMap.getObjectBySourceLocator(Locator resourceLocator)
          Gets the TopicMapObject which was generated from the specified resource.
 Topic TopicMap.getTopicBySubject(Locator subjectLocator)
          Get the topic which is bound to the specified subject
 Topic TopicMap.getTopicBySubjectIndicator(Locator subjectIndicatorLocator)
          Get the topic which is bound to the subject indicated by the specified resource.
 void TopicMap.setBaseLocator(Locator base)
          Sets the Locator of the source which generated this topic map.
 void TopicMap.addMergeMap(Locator mapLocator, Topic[] addedThemes)
          Adds a new mergeMap directive to this topic map.
 boolean TopicMap.hasMergeMap(Locator mapLocator)
          Determine whether or not the specified resource is listed in an unresolved mergeMap directive for this topic map.
 java.util.Set TopicMap.getMergeMapAddedThemes(Locator mapLocator)
          Returns the collection of themes to be added to the external topic map resource when it is merged with this map.
 void TopicMap.removeMergeMap(Locator mapLocator)
          Removes an unresolved mergeMap directive from this topic map.
 void TopicMap.addExternalRef(Locator topicRef)
          Adds an external reference from this topic map to another topic map.
 void TopicMap.removeExternalRef(Locator externalReference)
          Removes a resource from the list of external references of this topic map.
 

Constructors in org.tm4j.topicmap with parameters of type Locator
DuplicateResourceLocatorException(Locator duplicatedLocator)
          Constructs an exception with a default message reporting the duplicate locator's notation and address strings.
 

Uses of Locator in org.tm4j.topicmap.index.basic
 

Methods in org.tm4j.topicmap.index.basic with parameters of type Locator
 java.util.Collection VariantLocatorIndex.getVariantsOfLocator(Locator loc)
          Returns the Variants which have a child VariantName object which refers to the resource address specified by loc
 java.util.Collection OccurrenceLocatorIndex.getOccurrencesOfLocator(Locator loc)
          Returns the occurrences which refer to the resource address specified by loc
 

Uses of Locator in org.tm4j.topicmap.source
 

Methods in org.tm4j.topicmap.source that return Locator
 Locator SerializedTopicMapSource.getBaseLocator()
           
 Locator TopicMapSourceSupport.getSourceBaseLocator(TopicMapSource source)
           
 Locator TopicMapSource.getBaseLocator()
          Returns the base locator for this source.
 

Constructors in org.tm4j.topicmap.source with parameters of type Locator
SerializedTopicMapSource(java.lang.String fileName, Locator base)
          Creates a SerializedTopicMapSource representing a file specified by its name
SerializedTopicMapSource(java.io.InputStream stream, Locator base)
          Creates a SerializedTopicMapSource representing a stream
SerializedTopicMapSource(java.io.Reader reader, Locator base)
          Creates a SerializedTopicMapSource connected to a Reader
SerializedTopicMapSource(java.io.File file, Locator base)
          Creates a SerializedTopicMapSource representing a file specified by the given File Object
SerializedTopicMapSource(java.io.File file, Locator base, TopicMapBuilder builder)
          Creates a SerializedTopicMapSource representing a file specified by the given File Object.
SerializedTopicMapSource(java.io.Reader reader, Locator base, TopicMapBuilder builder)
          Creates a SerializedTopicMapSource representing the given Reader
SerializedTopicMapSource(java.lang.String fileName, Locator base, TopicMapBuilder builder)
          Creates a SerializedTopicMapSource representing a file identified by the given fileName
SerializedTopicMapSource(java.io.InputStream stream, Locator base, TopicMapBuilder builder)
          Creates a SerializedTopicMapSource representing the given InputStream
 

Uses of Locator in org.tm4j.topicmap.unified
 

Methods in org.tm4j.topicmap.unified that return Locator
 Locator UnifiedOccurrence.getDataLocator()
           
 Locator UnifiedTopicMapObject.getResourceLocator()
          Deprecated. use UnifiedTopicMapObject.getSourceLocators()
 Locator UnifiedTopic.getSubject()
           
 Locator UnifiedTopic.getSubject(boolean includeMerged)
           
 Locator UnifiedTopicMap.getBaseLocator()
           
 Locator UnifiedTopicMap.getResourceLocator()
          Deprecated. use UnifiedTopicMap.getSourceLocators()
 

Methods in org.tm4j.topicmap.unified with parameters of type Locator
 void UnifiedOccurrence.setDataLocator(Locator loc)
           
 Member UnifiedAssociation.createMember(java.lang.String id, Locator resourceLoc, Topic roleSpec, java.util.Collection players)
           
 void UnifiedTopicMapObject.setResourceLocator(Locator loc)
          Deprecated. use UnifiedTopicMapObject.addSourceLocator(Locator)
 void UnifiedTopicMapObject.addSourceLocator(Locator loc)
           
 void UnifiedTopicMapObject.removeSourceLocator(Locator loc)
           
 void UnifiedTopic.setSubject(Locator l)
           
 void UnifiedTopic.addSubjectIndicator(Locator sind)
           
 void UnifiedTopic.setSubjectIndicators(Locator[] sinds)
           
 boolean UnifiedTopic.isOfType(Locator l)
           
 Occurrence UnifiedTopic.createOccurrence(java.lang.String id, Locator resourceLocator, Topic type, Locator ref, Topic[] themes)
           
 Occurrence UnifiedTopic.createOccurrence(java.lang.String id, Locator resourceLocator, Topic type, java.lang.String data, Topic[] themes)
           
 void UnifiedTopicMap.addExternalRef(Locator ref)
           
 void UnifiedTopicMap.addMergeMap(Locator ref, Topic[] addThemes)
           
 java.util.Set UnifiedTopicMap.getMergeMapAddedThemes(Locator mapLoc)
           
 boolean UnifiedTopicMap.hasMergeMap(Locator loc)
           
 TopicMapObject UnifiedTopicMap.getObjectByResourceLocator(Locator loc)
          Deprecated.  
 TopicMapObject UnifiedTopicMap.getObjectBySourceLocator(Locator loc)
           
 Topic UnifiedTopicMap.getTopicBySubject(Locator subject)
           
 Topic UnifiedTopicMap.getTopicBySubjectIndicator(Locator subjectIndicator)
           
 Association UnifiedTopicMap.createAssociation(java.lang.String id, Locator resourceLocator, Topic type, Topic[] themes)
           
 void UnifiedTopicMap.removeExternalRef(Locator ref)
           
 void UnifiedTopicMap.removeMergeMap(Locator mapLoc)
           
 void UnifiedTopicMap.setBaseLocator(Locator base)
           
 void UnifiedTopicMap.setResourceLocator(Locator loc)
          Deprecated. use UnifiedTopicMap.addSourceLocator(Locator)
 void UnifiedTopicMap.addSourceLocator(Locator loc)
           
 void UnifiedTopicMap.removeSourceLocator(Locator loc)
           
 

Constructors in org.tm4j.topicmap.unified with parameters of type Locator
UnifiedTopicMap(Locator baseLocator)
           
UnifiedTopicMap(Locator baseLocator, boolean notifyEvents)
           
 

Uses of Locator in org.tm4j.topicmap.utils
 

Fields in org.tm4j.topicmap.utils declared as Locator
protected  Locator TopicMapDoclet.m_baseLocator
           
protected  Locator TopicMapDoclet.m_locParamPosBase
           
 

Methods in org.tm4j.topicmap.utils that return Locator
protected  Locator TopicMapCopier.copy(Locator src)
           
 Locator SourceAddressPair.getTopicMapBaseURL()
          Deprecated.  
protected  Locator TopicMapMerger.getDefaultBaseLocator()
          Returns the default base locator.
protected  Locator TopicMapMerger.makeDefaultBaseLocator()
          Creates the default base locator from the configured default base URI.
protected  Locator XTMBuilder.resourceLocatorForID(java.lang.String id)
           
protected  Locator XTMBuilder.expandRef(Locator loc, Locator baseLoc)
           
 

Methods in org.tm4j.topicmap.utils with parameters of type Locator
 void WalkerHandlerAdapter.onSubject(Locator subject)
           
 void WalkerHandlerAdapter.onSubjectIndicator(Locator subjectIndicator)
           
 void TopicMapHandlerAdapter.startTopicMap(java.lang.String id, Locator xmlBase)
           
protected  Locator TopicMapCopier.copy(Locator src)
           
 void WalkerFilterAdapter.onSubject(Locator subject)
           
 void WalkerFilterAdapter.onSubjectIndicator(Locator subjectIndicator)
           
 void TopicMapMerger.addSource(java.io.File in, Locator baseLocator)
          Constructs a TopicMapSource from the given File and locator, and adds it to the list of sources.
 void TopicMapMerger.addSource(java.io.InputStream in, Locator baseLocator)
          Constructs a TopicMapSource from the given InputStream and locator, and adds it to the list of sources.
 void TopicMapMerger.addSource(java.net.URL in, Locator baseLocator)
          Constructs a TopicMapSource from the given URL and locator, and adds it to the list of sources.
protected  void TopicMapMerger.setDefaultBaseLocator(Locator newLocator)
          Sets the default base locator.
 void LTMParser.setBase(Locator base)
           
 void LTMParser.setSource(Locator source)
           
 void LTMBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap baseTM, TopicMapProvider provider)
           
 void LTMBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap baseTM)
           
 void LTMBuilder.build(java.io.Reader src, Locator srcLoc, TopicMap baseTM, TopicMapProvider provider)
           
 void LTMBuilder.build(java.io.Reader src, Locator srcLoc, TopicMap baseTM)
           
 void LTMBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm, Topic[] addedThemes)
           
 void LTMBuilder.build(java.io.Reader source, Locator base, TopicMap existing, Topic[] addedThemes)
           
 void LTMBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm, TopicMapProvider provider, Topic[] addedThemes)
           
 void LTMBuilder.build(java.io.Reader source, Locator base, TopicMap existing, TopicMapProvider provider, Topic[] addedThemes)
           
 void XTMWriter.ref(java.lang.String id, int refType, Locator refValue)
           
 void XTMWriter.onSubject(Locator subject)
           
 void XTMWriter.onSubjectIndicator(Locator subjInd)
           
protected  java.lang.String XTMWriter.getResourceID(TopicMapObject tmo, 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.
 void WalkerHandler.onSubject(Locator subject)
           
 void WalkerHandler.onSubjectIndicator(Locator subjectIndicator)
           
 void XTMBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm, TopicMapProvider provider)
          Deprecated. Use build(TopicMapSource, TopicMap) instead
 void XTMBuilder.build(java.io.Reader src, Locator srcLoc, TopicMap tm, TopicMapProvider provider)
          Deprecated. Use build(TopicMapSource, TopicMap) instead
 void XTMBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm)
           
 void XTMBuilder.build(java.io.Reader src, Locator srcLoc, TopicMap tm)
           
 void XTMBuilder.build(org.xml.sax.InputSource src, Locator srcLoc, TopicMap tm)
           
 void XTMBuilder.setSourceLocator(Locator loc)
          Set the Locator of the built TopicMap to loc.
 void XTMBuilder.ref(java.lang.String id, int refType, Locator refValue, Locator base)
          Indicates a reference event.
protected  java.lang.String XTMBuilder.assignID(Locator loc, java.lang.String id)
           
protected  java.lang.String XTMBuilder.assignID(Locator loc)
           
protected  Locator XTMBuilder.expandRef(Locator loc, Locator baseLoc)
           
 Topic XTMBuilder.getTopicBySourceLocator(Locator resourceLocator)
           
 Topic XTMBuilder.getTopicBySubject(Locator resource)
           
 void XTMBuilder.build(java.io.InputStream source, Locator base, TopicMap existing, Topic[] addedThemes)
           
 void XTMBuilder.build(java.io.Reader source, Locator base, TopicMap existing, Topic[] addedThemes)
           
 void XTMBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm, TopicMapProvider provider, Topic[] addedThemes)
           
 void XTMBuilder.build(java.io.Reader source, Locator base, TopicMap existing, TopicMapProvider provider, Topic[] addedThemes)
           
 void TopicMapBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm, TopicMapProvider provider)
          Build topic map constructs from the specified source stream.
 void TopicMapBuilder.build(java.io.Reader src, Locator srcLoc, TopicMap tm, TopicMapProvider provider)
          Build topic map constructs from the specified Reader.
 void TopicMapBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm)
          Build topic map constructs from the specified source stream.
 void TopicMapBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm, Topic[] addedThemes)
          Build topic map constructs from the specified source stream.
 void TopicMapBuilder.build(java.io.InputStream src, Locator srcLoc, TopicMap tm, TopicMapProvider provider, Topic[] addedThemes)
           
 void TopicMapBuilder.build(java.io.Reader src, Locator srcLoc, TopicMap tm)
          Build topic map constructs from the specified Reader.
 void TopicMapBuilder.build(java.io.Reader source, Locator base, TopicMap existing, Topic[] addedThemes)
           
 void TopicMapBuilder.build(java.io.Reader source, Locator base, TopicMap existing, TopicMapProvider provider, Topic[] addedThemes)
           
 

Constructors in org.tm4j.topicmap.utils with parameters of type Locator
SourceAddressPair(java.io.InputStream topicMapSource, Locator topicMapBaseURL)
          Deprecated.  
XTMBuilder(TopicMap baseTM, Locator mergeMapLocator)
          Creates an XTMBuilder using the provided TopicMap, which is used to obtain the TopicMapFactory and LocatorFactory.
 

Uses of Locator in org.tm4j.topicmap.utils.testers
 

Methods in org.tm4j.topicmap.utils.testers with parameters of type Locator
 void TypeTester.addAllowedType(Locator subjectOrIndicator)
          Adds a Locator to the list of allowed subject or subjectIndicators.
 void TypeTester.removeAllowedType(Locator subjectOrIndicator)
          Removes a Locator from the list of allowed subject or subjectIndicators.
 

Constructors in org.tm4j.topicmap.utils.testers with parameters of type Locator
TypeTester(Locator subjOrInd)
          Convenience method to create a tester that tests for objects of a single type.