Class 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:
    • http://xml.apache.org/xalan/features/optimize (true|false)
    • http://xml.apache.org/xalan/features/incremental (true|false)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name
      attribute name, mostly processor specific
      private java.lang.Object value
      attribute value, often a boolean string
    • Constructor Summary

      Constructors 
      Constructor Description
      Attribute()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • Attribute

        public 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