|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fikin.ant.types.IfUnless net.sf.fikin.ant.types.FactoryType
public class FactoryType
A generic type of JAXP type of factory
Contains ability to specify factory class explicitly
Allows to set features/attributes to it, event ot default one created on Jan 3, 2007
Constructor Summary | |
---|---|
FactoryType()
|
Method Summary | |
---|---|
void |
addAttibute(Parameter attribute)
add factory attribute |
void |
check(org.apache.tools.ant.Task task)
test for defined factory name (if defined) test for defined attrbutes/features (if any) |
java.util.Vector |
getAttributes()
|
java.lang.String |
getClassname()
|
void |
setClassname(java.lang.String fqclassname)
set the facotry class name |
Methods inherited from class net.sf.fikin.ant.types.IfUnless |
---|
setIf, setUnless, shouldUse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryType()
Method Detail |
---|
public void setClassname(java.lang.String fqclassname)
fqclassname
- factory class namepublic java.lang.String getClassname()
public void addAttibute(Parameter attribute)
attribute
- to set to the factorypublic java.util.Vector getAttributes()
public void check(org.apache.tools.ant.Task task) throws org.apache.tools.ant.BuildException
task
- is enclosing ant task
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |