org.osjava.jardiff.ant
Class JDXSLTProcess.Factory.Attribute

java.lang.Object
  extended by org.osjava.jardiff.ant.JDXSLTProcess.Factory.Attribute
All Implemented Interfaces:
org.apache.tools.ant.DynamicAttribute, org.apache.tools.ant.DynamicConfigurator, org.apache.tools.ant.DynamicElement
Enclosing class:
JDXSLTProcess.Factory

public static class JDXSLTProcess.Factory.Attribute
extends java.lang.Object
implements org.apache.tools.ant.DynamicConfigurator

A JAXP factory attribute. This is mostly processor specific, for example for Xalan 2.3+, the following attributes could be set:


Field Summary
private  java.lang.String name
          attribute name, mostly processor specific
private  java.lang.Object value
          attribute value, often a boolean string
 
Constructor Summary
JDXSLTProcess.Factory.Attribute()
           
 
Method Summary
 java.lang.Object createDynamicElement(java.lang.String name)
           
 java.lang.String getName()
           
 java.lang.Object getValue()
           
 void setDynamicAttribute(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
attribute name, mostly processor specific


value

private java.lang.Object value
attribute value, often a boolean string

Constructor Detail

JDXSLTProcess.Factory.Attribute

public JDXSLTProcess.Factory.Attribute()
Method Detail

getName

public java.lang.String getName()
Returns:
the attribute name.

getValue

public java.lang.Object getValue()
Returns:
the output property value.

createDynamicElement

public java.lang.Object createDynamicElement(java.lang.String name)
                                      throws org.apache.tools.ant.BuildException
Specified by:
createDynamicElement in interface org.apache.tools.ant.DynamicElement
Throws:
org.apache.tools.ant.BuildException

setDynamicAttribute

public void setDynamicAttribute(java.lang.String name,
                                java.lang.String value)
                         throws org.apache.tools.ant.BuildException
Specified by:
setDynamicAttribute in interface org.apache.tools.ant.DynamicAttribute
Throws:
org.apache.tools.ant.BuildException