|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AntProjectCookie
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.
Nested Class Summary | |
---|---|
static interface |
AntProjectCookie.ParseStatus
Extended cookie permitting queries of parse status. |
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
Add a listener to changes in the document. |
Document |
getDocument()
Get the DOM document for the build script. |
File |
getFile()
Get the disk file for the build script. |
FileObject |
getFileObject()
Get the file object for the build script. |
Throwable |
getParseException()
Get the last parse-related exception, if there was one. |
Element |
getProjectElement()
Get the DOM root element ( <project> ) for the build script. |
void |
removeChangeListener(ChangeListener l)
Remove a listener to changes in the document. |
Method Detail |
---|
File getFile()
FileObject getFileObject()
Document getDocument()
Element getProjectElement()
<project>
) for the build script.
Throwable getParseException()
void addChangeListener(ChangeListener l)
l
- the listener to addvoid removeChangeListener(ChangeListener l)
l
- the listener to remove
|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |