Class ElementAttribute


  • public class ElementAttribute
    extends java.lang.Object
    Represents an ElementAttribute which has a name and a value.
    Version:
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementAttribute​(javax.xml.namespace.QName name, java.lang.String value)
      Construct an ElementAttribute using a QName and value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.namespace.QName getName()
      Return the QName of this ElementAttribute.
      java.lang.String getValue()
      Returns the value of this ElementAttribute as a String.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ElementAttribute

        public ElementAttribute​(javax.xml.namespace.QName name,
                                java.lang.String value)
        Construct an ElementAttribute using a QName and value.
        Parameters:
        name - the name of the ElementAttribute in the form ogf a QName object.
        value - the string value of the ElementAttribute.
    • Method Detail

      • getName

        public javax.xml.namespace.QName getName()
        Return the QName of this ElementAttribute.
        Returns:
        the QName of this ElementAttribute.
      • getValue

        public java.lang.String getValue()
        Returns the value of this ElementAttribute as a String.
        Returns:
        the value of this ElementAttribute as a String.