Class UserDataElement

    • Constructor Detail

      • UserDataElement

        public UserDataElement​(String name)
      • UserDataElement

        public UserDataElement​(QName qname)
    • Method Detail

      • getData

        public Object getData()
        Description copied from interface: Element
        Accesses the data of this element which may implement data typing bindings such as XML Schema or Java Bean bindings or will return the same value as Element.getText()
        Specified by:
        getData in interface Element
        Overrides:
        getData in class AbstractElement
        Returns:
        DOCUMENT ME!
      • clone

        public Object clone()
        Description copied from interface: Node

        clone will return a deep clone or if this node is read-only then clone will return the same instance.

        Specified by:
        clone in interface Node
        Overrides:
        clone in class DefaultElement
        Returns:
        a deep clone of myself or myself if I am read only.
      • getCopyOfUserData

        protected Object getCopyOfUserData()
        If a deep copy of user data is required whenever the clone() or createCopy() methods are called on this element then this method should return a clone of the user data
        Returns:
        DOCUMENT ME!