Class UserDataAttribute

All Implemented Interfaces:
Serializable, Cloneable, Attribute, Node

public class UserDataAttribute extends DefaultAttribute

UserDataAttribute support the adornment of a user data object on an Element or Attribute instance such that the methods getData() setData(Object)will get and set the values of a user data object. This can be useful for developers wishing to create XML trees and adorn the trees with user defined objects.

Version:
$Revision: 1.8 $
See Also:
  • Field Details

    • data

      private Object data
      The user data object
  • Constructor Details

    • UserDataAttribute

      public UserDataAttribute(QName qname)
    • UserDataAttribute

      public UserDataAttribute(QName qname, String text)
  • Method Details