Interface Attribute


  • public interface Attribute
    An attribute. Returned by the Abdera XPath implementation when querying for Attribute nodes.
    • Method Detail

      • getQName

        javax.xml.namespace.QName getQName()
        Get the QName of the attribute
        Returns:
        The attribute QName
      • getText

        java.lang.String getText()
        Return the text value of the attribute
        Returns:
        The attribute value
      • setText

        Attribute setText​(java.lang.String text)
        Set the text value of the attribute. The value will be automatically escaped for proper serialization to XML
        Parameters:
        text - The attribute value
      • getFactory

        Factory getFactory()
        The Abdera Factory