Class XMLSecNamespaceImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecNamespaceImpl
-
- All Implemented Interfaces:
Comparable<XMLSecNamespace>
,Attribute
,Namespace
,XMLEvent
,XMLStreamConstants
,XMLSecEvent
,XMLSecNamespace
public class XMLSecNamespaceImpl extends XMLSecEventBaseImpl implements XMLSecNamespace
Class to let XML-Namespaces be comparable how it is requested by C14N- Version:
- $Revision: 1680217 $ $Date: 2015-05-19 11:38:08 +0200 (Tue, 19 May 2015) $
- Author:
- $Author: coheigea $
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(XMLSecNamespace o)
boolean
equals(Object obj)
String
getDTDType()
int
getEventType()
static XMLSecNamespace
getInstance(String prefix, String uri)
QName
getName()
String
getNamespaceURI()
String
getPrefix()
String
getValue()
int
hashCode()
boolean
isDefaultNamespaceDeclaration()
boolean
isNamespace()
boolean
isSpecified()
String
toString()
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, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElement, setParentXMLSecStartElement
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.events.XMLEvent
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, 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
-
getInstance
public static XMLSecNamespace getInstance(String prefix, String uri)
-
compareTo
public int compareTo(XMLSecNamespace o)
- Specified by:
compareTo
in interfaceComparable<XMLSecNamespace>
-
getDTDType
public String getDTDType()
- Specified by:
getDTDType
in interfaceAttribute
-
isSpecified
public boolean isSpecified()
- Specified by:
isSpecified
in interfaceAttribute
-
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURI
in interfaceNamespace
-
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclaration
in interfaceNamespace
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfaceXMLEvent
-
isNamespace
public boolean isNamespace()
- Specified by:
isNamespace
in interfaceXMLEvent
- Overrides:
isNamespace
in classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
XMLStreamException
-
-