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
Class to let XML-Namespaces be comparable how it is requested by C14N
-
Field Summary
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELementFields 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
Modifier and TypeMethodDescriptionintbooleanintstatic XMLSecNamespacegetInstance(String prefix, String uri) getName()getValue()inthashCode()booleanbooleanbooleantoString()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, setParentXMLSecStartElementMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isProcessingInstruction, isStartDocument, isStartElementMethods inherited from interface org.apache.xml.security.stax.ext.stax.XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
Method Details
-
getInstance
-
compareTo
- Specified by:
compareToin interfaceComparable<XMLSecNamespace>
-
equals
-
hashCode
public int hashCode() -
getName
-
getValue
-
getDTDType
- Specified by:
getDTDTypein interfaceAttribute
-
isSpecified
public boolean isSpecified()- Specified by:
isSpecifiedin interfaceAttribute
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNamespace
-
getPrefix
-
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
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-
toString
-