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 intcompareTo(XMLSecNamespace o)booleanequals(Object obj)StringgetDTDType()intgetEventType()static XMLSecNamespacegetInstance(String prefix, String uri)QNamegetName()StringgetNamespaceURI()StringgetPrefix()StringgetValue()inthashCode()booleanisDefaultNamespaceDeclaration()booleanisNamespace()booleanisSpecified()StringtoString()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, 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:
compareToin interfaceComparable<XMLSecNamespace>
-
getDTDType
public String getDTDType()
- Specified by:
getDTDTypein interfaceAttribute
-
isSpecified
public boolean isSpecified()
- Specified by:
isSpecifiedin interfaceAttribute
-
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURIin interfaceNamespace
-
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclarationin interfaceNamespace
-
getEventType
public int getEventType()
- Specified by:
getEventTypein interfaceXMLEvent
-
isNamespace
public boolean isNamespace()
- Specified by:
isNamespacein interfaceXMLEvent- Overrides:
isNamespacein classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-
-