Class GenericAttr

All Implemented Interfaces:
Serializable, NodeEventTarget, ExtendedNode, NodeXBL, XBLManagerData, Attr, EventTarget, Node

public class GenericAttr extends AbstractAttr
This class implements the Attr interface.
Version:
$Id: GenericAttr.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

    • readonly

      protected boolean readonly
      Is this attribute immutable?
  • Constructor Details

    • GenericAttr

      protected GenericAttr()
      Creates a new Attr object.
    • GenericAttr

      public GenericAttr(String name, AbstractDocument owner) throws DOMException
      Creates a new Attr object.
      Parameters:
      name - The attribute name for validation purposes.
      owner - The owner document.
      Throws:
      DOMException - INVALID_CHARACTER_ERR: if name contains invalid characters,
  • Method Details

    • isReadonly

      public boolean isReadonly()
      Tests whether this node is readonly.
    • setReadonly

      public void setReadonly(boolean v)
      Sets this node readonly attribute.
    • newNode

      protected Node newNode()
      Returns a new uninitialized instance of this object's class.
      Specified by:
      newNode in class AbstractNode