com.caucho.xml.stream.events
Class NotationDeclarationImpl

java.lang.Object
  extended by com.caucho.xml.stream.events.XMLEventImpl
      extended by com.caucho.xml.stream.events.NotationDeclarationImpl
All Implemented Interfaces:
NotationDeclaration, XMLEvent, XMLStreamConstants

public class NotationDeclarationImpl
extends XMLEventImpl
implements NotationDeclaration


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
NotationDeclarationImpl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getEventType()
           
 java.lang.String getName()
           
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 void writeAsEncodedUnicode(java.io.Writer writer)
           
 
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, toString, 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
 

Constructor Detail

NotationDeclarationImpl

public NotationDeclarationImpl(java.lang.String name,
                               java.lang.String publicId,
                               java.lang.String systemId)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface NotationDeclaration

getPublicId

public java.lang.String getPublicId()
Specified by:
getPublicId in interface NotationDeclaration

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface NotationDeclaration

getEventType

public int getEventType()
Specified by:
getEventType in interface XMLEvent
Specified by:
getEventType in class XMLEventImpl

writeAsEncodedUnicode

public void writeAsEncodedUnicode(java.io.Writer writer)
                           throws XMLStreamException
Specified by:
writeAsEncodedUnicode in interface XMLEvent
Specified by:
writeAsEncodedUnicode in class XMLEventImpl
Throws:
XMLStreamException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object