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: 1659901 $ $Date: 2015-02-15 10:11:24 +0100 (Sun, 15 Feb 2015) $
- Author:
- $Author: giger $
-
-
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 Constructor Description XMLSecAttributeImpl(QName name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(XMLSecAttribute o)booleanequals(Object obj)XMLSecNamespacegetAttributeNamespace()StringgetDTDType()intgetEventType()QNamegetName()StringgetValue()inthashCode()booleanisAttribute()booleanisSpecified()voidwriteAsEncodedUnicode(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
-
-
-
-
Method Detail
-
compareTo
public int compareTo(XMLSecAttribute o)
- Specified by:
compareToin interfaceComparable<XMLSecAttribute>
-
getAttributeNamespace
public XMLSecNamespace getAttributeNamespace()
- Specified by:
getAttributeNamespacein interfaceXMLSecAttribute
-
getDTDType
public String 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
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-
-