| org.apache.tools.ant.module.api.AntProjectCookie
All known Subclasses: org.apache.tools.ant.module.xml.AntProjectSupport,
AntProjectCookie | public interface AntProjectCookie extends Node.Cookie(Code) | | Cookie containing the state of an Ant Project.
Note that there is a document, and also a parse exception.
At least one must be non-null; it is possible for both to be
non-null in case there was a valid parse before, and some changes
are now invalid.
|
addChangeListener | void addChangeListener(ChangeListener l)(Code) | | Add a listener to changes in the document.
Parameters: l - the listener to add |
getDocument | Document getDocument()(Code) | | Get the DOM document for the build script.
the document, or null if it could not be parsed |
getFile | File getFile()(Code) | | Get the disk file for the build script.
the disk file, or null if none (but must be a file object) |
getFileObject | FileObject getFileObject()(Code) | | Get the file object for the build script.
the file object, or null if none (but must be a disk file) |
getParseException | Throwable getParseException()(Code) | | Get the last parse-related exception, if there was one.
the parse exception, or null if it is valid |
getProjectElement | Element getProjectElement()(Code) | | Get the DOM root element (<project> ) for the build script.
the root element, or null if it could not be parsed |
removeChangeListener | void removeChangeListener(ChangeListener l)(Code) | | Remove a listener to changes in the document.
Parameters: l - the listener to remove |
|
|