org.apache.avalon.composition.data
Class IncludeDirective

java.lang.Object
  extended byorg.apache.avalon.composition.data.IncludeDirective
All Implemented Interfaces:
Serializable

public class IncludeDirective
extends Object
implements Serializable

An file include directive.

XML

An include element is normally contained within a scoping structure such as a fileset or directory set. The include element contains the single attribute name which is used to refer to the file or directory (depending on the containing context.

    <fileset dir="lib">
       <include name="avalon-framework.jar" />
    </fileset>
 

Version:
$Revision: 1.1.1.1 $ $Date: 2003/09/24 09:31:07 $
Author:
Stephen McConnell
See Also:
Serialized Form

Constructor Summary
IncludeDirective(String path)
          Create a IncludeDirective instance.
 
Method Summary
 String getPath()
          Return the included path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncludeDirective

public IncludeDirective(String path)
Create a IncludeDirective instance.

Parameters:
path - the path to include
Method Detail

getPath

public String getPath()
Return the included path.

Returns:
the path


Copyright © Apache Software Foundation. All Rights Reserved.