Class Element


  • public class Element
    extends Object
    Provides an XML element data object.
    • Constructor Detail

      • Element

        public Element​(String uri,
                       String localName,
                       Map<String,​String> attributes)
        Creates a new Element.
        Parameters:
        uri - the namespace uri for the element
        localName - the local name for the element
        attributes - the attributes for the element
    • Method Detail

      • getUri

        public String getUri()
        Gets this element's namespace uri.
        Returns:
        returns this element's namespace uri
      • getLocalName

        public String getLocalName()
        Gets this elements local name.
        Returns:
        returns this element's local name
      • getAttributes

        public Map<String,​String> getAttributes()
        Gets this element's attributes.
        Returns:
        returns this element's attributes