com.caucho.xml.stream.events
Class NamespaceImpl
java.lang.Object
com.caucho.xml.stream.events.XMLEventImpl
com.caucho.xml.stream.events.AttributeImpl
com.caucho.xml.stream.events.NamespaceImpl
- All Implemented Interfaces:
- Attribute, Namespace, XMLEvent, XMLStreamConstants
public class NamespaceImpl
- extends AttributeImpl
- implements Namespace
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 |
NamespaceImpl(java.lang.String namespaceURI,
java.lang.String prefix)
|
Methods inherited from class com.caucho.xml.stream.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
NamespaceImpl
public NamespaceImpl(java.lang.String namespaceURI,
java.lang.String prefix)
getNamespaceURI
public java.lang.String getNamespaceURI()
- Specified by:
getNamespaceURI
in interface Namespace
getPrefix
public java.lang.String getPrefix()
- Specified by:
getPrefix
in interface Namespace
isDefaultNamespaceDeclaration
public boolean isDefaultNamespaceDeclaration()
- Specified by:
isDefaultNamespaceDeclaration
in interface Namespace
getEventType
public int getEventType()
- Specified by:
getEventType
in interface XMLEvent
- Overrides:
getEventType
in class AttributeImpl
toString
public java.lang.String toString()
- Overrides:
toString
in class AttributeImpl
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class AttributeImpl