org.apache.tools.ant.taskdefs

Class XSLTProcess.Factory.Attribute

public static class XSLTProcess.Factory.Attribute extends Object implements DynamicConfigurator

A JAXP factory attribute. This is mostly processor specific, for example for Xalan 2.3+, the following attributes could be set:
Method Summary
ObjectcreateDynamicElement(String name)
Not used.
StringgetName()
ObjectgetValue()
voidsetDynamicAttribute(String name, String value)
Set an attribute.

Method Detail

createDynamicElement

public Object createDynamicElement(String name)
Not used.

Parameters: name not used

Returns: null

Throws: BuildException never

getName

public String getName()

Returns: the attribute name.

getValue

public Object getValue()

Returns: the output property value.

setDynamicAttribute

public void setDynamicAttribute(String name, String value)
Set an attribute. Only "name" and "value" are supported as names.

Parameters: name the name of the attribute value the value of the attribute

Throws: BuildException on error