com.caucho.xml.stream.events
Class NamespaceImpl

java.lang.Object
  extended by com.caucho.xml.stream.events.XMLEventImpl
      extended by com.caucho.xml.stream.events.AttributeImpl
          extended by com.caucho.xml.stream.events.NamespaceImpl
All Implemented Interfaces:
Attribute, Namespace, XMLEvent, XMLStreamConstants

public class NamespaceImpl
extends AttributeImpl
implements Namespace


Field Summary
 
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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getEventType()
           
 java.lang.String getNamespaceURI()
           
 java.lang.String getPrefix()
           
 boolean isDefaultNamespaceDeclaration()
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.xml.stream.events.AttributeImpl
getDTDType, getName, getValue, isSpecified, writeAsEncodedUnicode
 
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.Attribute
getDTDType, getName, getValue, isSpecified
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
 

Constructor Detail

NamespaceImpl

public NamespaceImpl(java.lang.String namespaceURI,
                     java.lang.String prefix)
Method Detail

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