fr.paris5.shaman.spirit.insightsource
Class LocationParser
java.lang.Object
|
+--fr.paris5.shaman.spirit.insightsource.LocationParser
- All Implemented Interfaces:
- LocationConstants
- Direct Known Subclasses:
- LocationParser.Resource
- public abstract class LocationParser
- extends java.lang.Object
- implements LocationConstants
Base class for parsing Insight content location.
- Version:
- $Id: LocationParser.java,v 1.2 2002/08/07 13:30:53 caillette Exp $
- Author:
- Laurent Caillette
Constructor Summary |
LocationParser(java.lang.String location,
int offset)
Processes a location String, starting at a given offset. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationParser
public LocationParser(java.lang.String location,
int offset)
throws InvalidLocationException
- Processes a location String, starting at a given offset.
- Parameters:
location
- The string containing the location.offset
- The position of the first character to process.- Throws:
InvalidLocationException
-
isPublicationIdDefined
public boolean isPublicationIdDefined()
getTopicId
public long getTopicId()
isTopicIdDefined
public boolean isTopicIdDefined()
getPublicationId
public long getPublicationId()
getFragmentLocator
public java.lang.String getFragmentLocator()
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.