org.apache.xml.security.stax.impl.stax
Class XMLSecAttributeImpl
java.lang.Object
org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
org.apache.xml.security.stax.impl.stax.XMLSecAttributeImpl
- All Implemented Interfaces:
- Comparable<XMLSecAttribute>, Attribute, XMLEvent, 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: 1399606 $ $Date: 2012-10-18 13:17:41 +0100 (Thu, 18 Oct 2012) $
- Author:
- $Author: giger $
| Fields inherited from interface javax.xml.stream.XMLStreamConstants |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
| Methods inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl |
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setParentXMLSecStartElement, writeAsEncodedUnicode |
| Methods inherited from interface javax.xml.stream.events.XMLEvent |
getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
XMLSecAttributeImpl
public XMLSecAttributeImpl(QName name,
String value)
compareTo
public int compareTo(XMLSecAttribute o)
- Specified by:
compareTo in interface Comparable<XMLSecAttribute>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getAttributeNamespace
public XMLSecNamespace getAttributeNamespace()
- Specified by:
getAttributeNamespace in interface XMLSecAttribute
getName
public QName getName()
- Specified by:
getName in interface Attribute
getValue
public String getValue()
- Specified by:
getValue in interface Attribute
getDTDType
public String getDTDType()
- Specified by:
getDTDType in interface Attribute
isSpecified
public boolean isSpecified()
- Specified by:
isSpecified in interface Attribute
getEventType
public int getEventType()
- Specified by:
getEventType in interface XMLEvent
isAttribute
public boolean isAttribute()
- Specified by:
isAttribute in interface XMLEvent- Overrides:
isAttribute in class XMLSecEventBaseImpl
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.