com.opensymphony.xwork2.util.location
Class Located

java.lang.Object
  extended by com.opensymphony.xwork2.util.location.Located
All Implemented Interfaces:
Locatable
Direct Known Subclasses:
ActionConfig, ExceptionMappingConfig, InterceptorConfig, InterceptorStackConfig, LocatableConstantFactory, LocatableFactory, PackageConfig, ResultConfig, ResultTypeConfig, ValidatorConfig

public abstract class Located
extends Object
implements Locatable

Base class for location aware objects


Field Summary
protected  Location location
           
 
Constructor Summary
Located()
           
 
Method Summary
 Location getLocation()
          Get the location of this object
 void setLocation(Location loc)
          Set the location of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

protected Location location
Constructor Detail

Located

public Located()
Method Detail

getLocation

public Location getLocation()
Get the location of this object

Specified by:
getLocation in interface Locatable
Returns:
the location

setLocation

public void setLocation(Location loc)
Set the location of this object

Parameters:
loc - the location


Copyright © 2009 OpenSymphony. All Rights Reserved.