Class XMLSecAttributeImpl

    • Field Detail

      • name

        private final javax.xml.namespace.QName name
      • value

        private final java.lang.String value
    • 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
      • writeEncoded

        private void writeEncoded​(java.io.Writer writer,
                                  java.lang.String text)
                           throws java.io.IOException
        Throws:
        java.io.IOException