Class AttributeModifier

  • All Implemented Interfaces:
    java.lang.Runnable

    public class AttributeModifier
    extends java.lang.Object
    implements java.lang.Runnable
    Runnable wrapper for modifying XML-Attributes.
    Since:
    0.3
    Author:
    Remigius Wojdanowski
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String attribute
      The name of the attribute to be modified.
      private org.w3c.dom.Element e
      Provides the attribute to be modified.
      private java.lang.String newValue
      The new value of the attribute.
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeModifier​(org.w3c.dom.Element e, java.lang.String attribute, java.lang.String newValue)
      Trivial constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • e

        private org.w3c.dom.Element e
        Provides the attribute to be modified.
      • attribute

        private java.lang.String attribute
        The name of the attribute to be modified.
      • newValue

        private java.lang.String newValue
        The new value of the attribute.
    • Constructor Detail

      • AttributeModifier

        public AttributeModifier​(org.w3c.dom.Element e,
                                 java.lang.String attribute,
                                 java.lang.String newValue)
        Trivial constructor.
        Parameters:
        e - provides the attribute to be modified.
        attribute - the name of the attribute to be modified.
        newValue - the new value of the attribute.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable