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
-
Nested Class Summary
Nested classes/interfaces inherited from class XMLSecEventBaseImpl
XMLSecEventBaseImpl.LocationImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate XMLSecNamespaceprivate final QNameprivate final StringFields inherited from class XMLSecEventBaseImpl
parentXMLSecStartELementFields inherited from interface 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 TypeMethodDescriptionintbooleanintgetName()getValue()inthashCode()booleanbooleanvoidwriteAsEncodedUnicode(Writer writer) private voidwriteEncoded(Writer writer, String text) Methods inherited from class XMLSecEventBaseImpl
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setParentXMLSecStartElementMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XMLEvent
getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElementMethods inherited from interface XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
Field Details
-
name
-
value
-
attributeNamespace
-
-
Constructor Details
-
XMLSecAttributeImpl
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<XMLSecAttribute>
-
equals
-
hashCode
-
getAttributeNamespace
- Specified by:
getAttributeNamespacein interfaceXMLSecAttribute
-
getName
-
getValue
-
getDTDType
- Specified by:
getDTDTypein interfaceAttribute
-
isSpecified
public boolean isSpecified()- Specified by:
isSpecifiedin interfaceAttribute
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent
-
isAttribute
public boolean isAttribute()- Specified by:
isAttributein interfaceXMLEvent- Overrides:
isAttributein classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-
writeEncoded
- Throws:
IOException
-