prantl.ant.eclipse
Class ClassPathEntryElement

java.lang.Object
  extended by prantl.ant.eclipse.ClassPathEntryElement
Direct Known Subclasses:
ClassPathEntryContainerElement, ClassPathEntryOutputElement, ClassPathEntryPathElement

public abstract class ClassPathEntryElement
extends java.lang.Object

Base for the entries under the element classpath, specifically the elements classpathentry.

Since:
Ant-Eclipse 1.0
Author:
Ferdinand Prantl <prantl@users.sourceforge.net>

Method Summary
 java.lang.String getPath()
          Returns a kind-of-element specific path value or null if it has not been set, which should be considered an error.
 void setPath(java.lang.String value)
          Sets the path of the classpathentry element.
 void validate()
          Performs the validation of the element at the time when the whole build file was parsed checking the content of the element and possibly adding mandatory attributes with default settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

public java.lang.String getPath()
Returns a kind-of-element specific path value or null if it has not been set, which should be considered an error. However, descendant classes may set a default for this attribute.

Returns:
A kind-of-element specific path value or null if not having been set (descendant classes may return a default in this case).

setPath

public void setPath(java.lang.String value)
Sets the path of the classpathentry element.

Parameters:
value - A kind-of-element specific path value.
Since:
Ant-Eclipse 1.0

validate

public void validate()
Performs the validation of the element at the time when the whole build file was parsed checking the content of the element and possibly adding mandatory attributes with default settings.

Since:
Ant-Eclipse 1.0