org.apache.tools.ant.taskdefs

Class XSLTProcess.Factory.Attribute

    • Constructor Detail

      • Attribute

        public Attribute()
    • Method Detail

      • getName

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

        public java.lang.Object getValue()
        Returns:
        the attribute value.
      • setDynamicAttribute

        public void setDynamicAttribute(java.lang.String name,
                                        java.lang.String value)
                                 throws BuildException
        Set an attribute. Only "name" and "value" are supported as names.
        Specified by:
        setDynamicAttribute in interface DynamicAttribute
        Parameters:
        name - the name of the attribute
        value - the value of the attribute
        Throws:
        BuildException - on error