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
Class to let XML-Attributes be comparable how it is requested by C14N
-
Field Summary
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELement
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
getName()
getValue()
int
hashCode()
boolean
boolean
void
writeAsEncodedUnicode
(Writer writer) 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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.xml.stream.events.XMLEvent
getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
Methods inherited from interface org.apache.xml.security.stax.ext.stax.XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
Constructor Details
-
XMLSecAttributeImpl
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<XMLSecAttribute>
-
equals
-
hashCode
public int hashCode() -
getAttributeNamespace
- Specified by:
getAttributeNamespace
in interfaceXMLSecAttribute
-
getName
-
getValue
-
getDTDType
- Specified by:
getDTDType
in interfaceAttribute
-
isSpecified
public boolean isSpecified()- Specified by:
isSpecified
in interfaceAttribute
-
getEventType
public int getEventType()- Specified by:
getEventType
in interfaceXMLEvent
-
isAttribute
public boolean isAttribute()- Specified by:
isAttribute
in interfaceXMLEvent
- Overrides:
isAttribute
in classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
XMLStreamException
-