com.ctc.wstx.evt
Class WNotationDeclaration

java.lang.Object
  extended by org.codehaus.stax2.ri.evt.BaseEventImpl
      extended by org.codehaus.stax2.ri.evt.NotationDeclarationEventImpl
          extended by com.ctc.wstx.evt.WNotationDeclaration
All Implemented Interfaces:
NotationDeclaration, XMLEvent, XMLStreamConstants, NotationDeclaration2, XMLEvent2

public class WNotationDeclaration
extends NotationDeclarationEventImpl

Woodstox implementation of NotationDeclaration2. The only required addition is that of passing in the Base URI.

Since:
4.0.0
Author:
Tatu Saloranta

Field Summary
 
Fields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
mLocation
 
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
WNotationDeclaration(Location loc, String name, String pubId, String sysId, URL baseURL)
           
 
Method Summary
 String getBaseURI()
          Empty base implementation: sub-classes should implement
 
Methods inherited from class org.codehaus.stax2.ri.evt.NotationDeclarationEventImpl
equals, getEventType, getName, getPublicId, getSystemId, hashCode, writeAsEncodedUnicode, writeUsing
 
Methods inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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
 

Constructor Detail

WNotationDeclaration

public WNotationDeclaration(Location loc,
                            String name,
                            String pubId,
                            String sysId,
                            URL baseURL)
Method Detail

getBaseURI

public String getBaseURI()
Description copied from class: NotationDeclarationEventImpl
Empty base implementation: sub-classes should implement

Specified by:
getBaseURI in interface NotationDeclaration2
Overrides:
getBaseURI in class NotationDeclarationEventImpl