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.

    See Also:
    Serialized Form
    • Constructor Detail

      • UserDataAttribute

        public UserDataAttribute​(QName qname)
      • UserDataAttribute

        public UserDataAttribute​(QName qname,
                                 String text)