Package org.apache.tools.ant.taskdefs
Class XSLTProcess.Factory
java.lang.Object
org.apache.tools.ant.taskdefs.XSLTProcess.Factory
- Enclosing class:
- XSLTProcess
public static class XSLTProcess.Factory
extends java.lang.Object
The factory element to configure a transformer factory
- Since:
- Ant 1.6
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXSLTProcess.Factory.AttributeA JAXP factory attribute.static classXSLTProcess.Factory.FeatureA feature for the TraX factory. -
Constructor Summary
Constructors Constructor Description Factory() -
Method Summary
Modifier and Type Method Description voidaddAttribute(XSLTProcess.Factory.Attribute attr)Create an instance of a factory attribute.voidaddFeature(XSLTProcess.Factory.Feature feature)Create an instance of a factory feature.java.util.Enumeration<XSLTProcess.Factory.Attribute>getAttributes()return the attribute elements.java.lang.Iterable<XSLTProcess.Factory.Feature>getFeatures()The configured features.java.lang.StringgetName()voidsetName(java.lang.String name)Set the name of the factory
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getName
public java.lang.String getName()- Returns:
- the name of the factory.
-
setName
public void setName(java.lang.String name)Set the name of the factory- Parameters:
name- the name of the factory.
-
addAttribute
Create an instance of a factory attribute.- Parameters:
attr- the newly created factory attribute
-
getAttributes
return the attribute elements.- Returns:
- the enumeration of attributes
-
addFeature
Create an instance of a factory feature.- Parameters:
feature- the newly created feature- Since:
- Ant 1.9.8
-
getFeatures
The configured features.- Returns:
- Iterable<Feature>
- Since:
- Ant 1.9.8
-