Class XMLSecAttributeImpl

  • All Implemented Interfaces:
    java.lang.Comparable<XMLSecAttribute>, javax.xml.stream.events.Attribute, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants, XMLSecAttribute, XMLSecEvent

    public class XMLSecAttributeImpl
    extends XMLSecEventBaseImpl
    implements XMLSecAttribute
    Class to let XML-Attributes be comparable how it is requested by C14N
    Version:
    $Revision: 1659901 $ $Date: 2015-02-15 10:11:24 +0100 (Sun, 15 Feb 2015) $
    Author:
    $Author: giger $
    • Constructor Detail

      • XMLSecAttributeImpl

        public XMLSecAttributeImpl​(javax.xml.namespace.QName name,
                                   java.lang.String value)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getName

        public javax.xml.namespace.QName getName()
        Specified by:
        getName in interface javax.xml.stream.events.Attribute
      • getValue

        public java.lang.String getValue()
        Specified by:
        getValue in interface javax.xml.stream.events.Attribute
      • getDTDType

        public java.lang.String getDTDType()
        Specified by:
        getDTDType in interface javax.xml.stream.events.Attribute
      • isSpecified

        public boolean isSpecified()
        Specified by:
        isSpecified in interface javax.xml.stream.events.Attribute
      • getEventType

        public int getEventType()
        Specified by:
        getEventType in interface javax.xml.stream.events.XMLEvent
      • isAttribute

        public boolean isAttribute()
        Specified by:
        isAttribute in interface javax.xml.stream.events.XMLEvent
        Overrides:
        isAttribute in class XMLSecEventBaseImpl
      • writeAsEncodedUnicode

        public void writeAsEncodedUnicode​(java.io.Writer writer)
                                   throws javax.xml.stream.XMLStreamException
        Specified by:
        writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEvent
        Overrides:
        writeAsEncodedUnicode in class XMLSecEventBaseImpl
        Throws:
        javax.xml.stream.XMLStreamException