com.ctc.wstx.evt
Class WNotationDeclaration
java.lang.Object
org.codehaus.stax2.ri.evt.BaseEventImpl
org.codehaus.stax2.ri.evt.NotationDeclarationEventImpl
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
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 |
Method Summary |
String |
getBaseURI()
Empty base implementation: sub-classes should implement |
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 interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
WNotationDeclaration
public WNotationDeclaration(Location loc,
String name,
String pubId,
String sysId,
URL baseURL)
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