public class NamespaceImpl extends AttributeImpl implements Namespace
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
NamespaceImpl(java.lang.String namespaceURI,
java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getEventType() |
java.lang.String |
getNamespaceURI() |
java.lang.String |
getPrefix() |
boolean |
isDefaultNamespaceDeclaration() |
java.lang.String |
toString() |
getDTDType, getName, getValue, isSpecified, writeAsEncodedUnicode
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDTDType, getName, getValue, isSpecified
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public NamespaceImpl(java.lang.String namespaceURI, java.lang.String prefix)
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface Namespace
public boolean isDefaultNamespaceDeclaration()
isDefaultNamespaceDeclaration
in interface Namespace
public int getEventType()
getEventType
in interface XMLEvent
getEventType
in class AttributeImpl
public java.lang.String toString()
toString
in class AttributeImpl
public boolean equals(java.lang.Object o)
equals
in class AttributeImpl