|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.lang.AntlibStrategyHandler
public class AntlibStrategyHandler
Antlib strategy handler implementation.
Field Summary | |
---|---|
static String |
NAMESPACE
Antlib strategy namespace constant. |
Constructor Summary | |
---|---|
AntlibStrategyHandler()
|
Method Summary | |
---|---|
Strategy |
build(ClassLoader classloader,
Element element,
Resolver resolver,
String partition,
String query,
boolean validate)
Construct a strategy definition using a supplied element and value resolver. |
Strategy |
newStrategy(Class<?> c)
Creation of a new antlib strategy. |
Strategy |
newStrategy(Class<?> c,
String name)
Creation of a new antlib strategy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAMESPACE
Constructor Detail |
---|
public AntlibStrategyHandler()
Method Detail |
---|
public Strategy newStrategy(Class<?> c) throws IOException
newStrategy
in interface StrategyHandler
c
- the target class
IOException
- if an IO error occurspublic Strategy newStrategy(Class<?> c, String name) throws IOException
newStrategy
in interface StrategyHandler
c
- the target classname
- the name to assign to the strategy
IOException
- if an IO error occurspublic Strategy build(ClassLoader classloader, Element element, Resolver resolver, String partition, String query, boolean validate) throws IOException
build
in interface StrategyHandler
classloader
- the classloaderelement
- the DOM element definining the deployment strategyresolver
- symbolic property resolverpartition
- the enclosing partitionquery
- the query fragment (ignored)validate
- the validation policy
IOException
- if an I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |