Package org.apache.tools.ant.taskdefs
Class XSLTProcess.Factory.Attribute
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.taskdefs.XSLTProcess.Factory.Attribute
- All Implemented Interfaces:
- Cloneable,- DynamicAttribute,- DynamicConfigurator,- DynamicElement
- Enclosing class:
- XSLTProcess.Factory
public static class XSLTProcess.Factory.Attribute
extends ProjectComponent
implements DynamicConfigurator
A JAXP factory attribute. This is mostly processor specific, for
 example for Xalan 2.3+, the following attributes could be set:
 
- http://xml.apache.org/xalan/features/optimize (true|false)
- http://xml.apache.org/xalan/features/incremental (true|false)
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateDynamicElement(String name) Not used.getName()getValue()voidsetDynamicAttribute(String name, String value) Set an attribute.Methods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Constructor Details- 
Attributepublic Attribute()
 
- 
- 
Method Details- 
getName- Returns:
- the attribute name.
 
- 
getValue- Returns:
- the attribute value.
 
- 
createDynamicElementNot used.- Specified by:
- createDynamicElementin interface- DynamicElement
- Parameters:
- name- not used
- Returns:
- null
- Throws:
- BuildException- never
 
- 
setDynamicAttributeSet an attribute. Only "name" and "value" are supported as names.- Specified by:
- setDynamicAttributein interface- DynamicAttribute
- Parameters:
- name- the name of the attribute
- value- the value of the attribute
- Throws:
- BuildException- on error
 
 
-