org.apache.cocoon.sitemap
Class SitemapParameters
java.lang.Object
org.apache.avalon.framework.parameters.Parameters
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
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 |
SitemapParameters
public SitemapParameters(Location location)
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.