org.apache.cocoon.sitemap
Class SitemapParameters

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

public class SitemapParameters
extends Parameters
implements org.apache.cocoon.util.location.Locatable

Extension to the Avalon Parameters to give location information

Version:
$Id: SitemapParameters.html 1304280 2012-03-23 11:18:01Z 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(org.apache.cocoon.util.location.Location location)
           
 
Method Summary
 org.apache.cocoon.util.location.Location getLocation()
          Get the location of the statement defining these parameters.
static org.apache.cocoon.util.location.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(org.apache.cocoon.util.location.Location location)
Method Detail

getLocation

public org.apache.cocoon.util.location.Location getLocation()
Get the location of the statement defining these parameters.

Specified by:
getLocation in interface org.apache.cocoon.util.location.Locatable
Since:
2.1.8
See Also:
Locatable.getLocation()

getLocation

public static org.apache.cocoon.util.location.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-2008 The Apache Software Foundation. All Rights Reserved.