org.apache.cocoon.sitemap
Class SitemapParameters

java.lang.Object
  extended by org.apache.avalon.framework.parameters.Parameters
      extended by org.apache.cocoon.sitemap.SitemapParameters
All Implemented Interfaces:
Serializable, Locatable

public class SitemapParameters
extends Parameters
implements Locatable

Extension to the Avalon Parameters to give location information

Version:
CVS $Id: SitemapParameters.html 1304258 2012-03-23 10:09:27Z ilgrosso $
See Also:
Serialized Form

Nested Class Summary
static class SitemapParameters.LocatedHashMap
          For internal use only.
 
Field Summary
 
Fields inherited from class org.apache.avalon.framework.parameters.Parameters
EMPTY_PARAMETERS
 
Constructor Summary
SitemapParameters(Location location)
           
 
Method Summary
 Location getLocation()
          Get the location of this object
static Location getLocation(Parameters param)
          Get the location of a Parameters object, returning Location.UNKNOWN if no location could be found.
static String getStatementLocation(Parameters param)
          Deprecated. use getLocation(Parameters)
 
Methods inherited from class org.apache.avalon.framework.parameters.Parameters
checkWriteable, equals, fromConfiguration, fromConfiguration, fromProperties, getNames, getParameter, getParameter, getParameterAsBoolean, getParameterAsBoolean, getParameterAsFloat, getParameterAsFloat, getParameterAsInteger, getParameterAsInteger, getParameterAsLong, getParameterAsLong, getParameterNames, hashCode, isParameter, makeReadOnly, merge, removeParameter, setParameter, toProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SitemapParameters

public SitemapParameters(Location location)
Method Detail

getLocation

public Location getLocation()
Description copied from interface: Locatable
Get the location of this object

Specified by:
getLocation in interface Locatable
Returns:
the location

getLocation

public static Location getLocation(Parameters param)
Get the location of a Parameters object, returning Location.UNKNOWN if no location could be found.

Parameters:
param -
Returns:
the location
Since:
2.1.8

getStatementLocation

public static String getStatementLocation(Parameters param)
Deprecated. use getLocation(Parameters)



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.