org.apache.cocoon.util.location
Interface LocationUtils.LocationFinder

Enclosing interface:
LocationUtils

public static interface LocationUtils.LocationFinder

An finder or object locations

Since:
2.1.8

Method Summary
 Location getLocation(Object obj, String description)
          Get the location of an object
 

Method Detail

getLocation

public Location getLocation(Object obj,
                            String description)
Get the location of an object

Parameters:
obj - the object for which to find a location
description - and optional description to be added to the object's location
Returns:
the object's location or null if object's class isn't handled by this finder.


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.