fr.paris5.shaman.spirit.insightsource
Class LocationParser.Resource

java.lang.Object
  |
  +--fr.paris5.shaman.spirit.insightsource.LocationParser
        |
        +--fr.paris5.shaman.spirit.insightsource.LocationParser.Resource
All Implemented Interfaces:
LocationConstants
Enclosing class:
LocationParser

public static final class LocationParser.Resource
extends LocationParser

Parses the location parameter passed to InsightSourceFactory.getSource. This class is completly independant of Insight store URLs. It just normalizes the way to pass Topic / Publication / Fragment information from Cocoon Sitemap to the InsightSourceFactory.

The location parameter must have one of the following forms :

 insight-content:/~top-nn
 insight-content:/~top-nn/**
 insight-content:/~pub-nn
 insight-content:/~pub-nn/**
 

Where


Inner classes inherited from class fr.paris5.shaman.spirit.insightsource.LocationParser
LocationParser.Resource
 
Fields inherited from class fr.paris5.shaman.spirit.insightsource.LocationParser
fragmentLocator, location, offset, publicationId, topicId
 
Fields inherited from interface fr.paris5.shaman.spirit.insightsource.LocationConstants
INSIGHT_CONTENT_PROTOCOL, PUBLICATION_PREFIX, TOPIC_PREFIX
 
Constructor Summary
LocationParser.Resource(java.lang.String location)
           
 
Methods inherited from class fr.paris5.shaman.spirit.insightsource.LocationParser
getFragmentLocator, getPublicationId, getTopicId, isPublicationIdDefined, isTopicIdDefined, parse
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

LocationParser.Resource

public LocationParser.Resource(java.lang.String location)
                        throws InvalidLocationException


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.