public interface AntElementProxy
First, for elements that appear in Ant build script, define interfaces that extends from this marker interface.
We call them "type-safe proxy interfaces". See JavacTask for example.
A type-safe proxy interface is implemented at runtime dynamically. Methods should be defined for attributes and child elements. Return types must match the expected datatype of the attributes and elements.
AntElement| Modifier and Type | Method and Description |
|---|---|
AntElement |
unwrap()
Retrieves the underlying
AntElement that this proxy represents. |
AntElement unwrap()
AntElement that this proxy represents.AntElement.as(Class)Copyright © 2004-2012. All Rights Reserved.