Class WNotationDeclaration

  • All Implemented Interfaces:
    javax.xml.stream.events.NotationDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants, org.codehaus.stax2.evt.NotationDeclaration2, org.codehaus.stax2.evt.XMLEvent2

    public class WNotationDeclaration
    extends org.codehaus.stax2.ri.evt.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 
      Modifier and Type Field Description
      (package private) java.net.URL _baseURL
      Base URL that can be used to resolve the notation reference if necessary.
      • 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

      Constructors 
      Constructor Description
      WNotationDeclaration​(javax.xml.stream.Location loc, java.lang.String name, java.lang.String pubId, java.lang.String sysId, java.net.URL baseURL)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBaseURI()  
      • 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
    • Field Detail

      • _baseURL

        final java.net.URL _baseURL
        Base URL that can be used to resolve the notation reference if necessary.
    • Constructor Detail

      • WNotationDeclaration

        public WNotationDeclaration​(javax.xml.stream.Location loc,
                                    java.lang.String name,
                                    java.lang.String pubId,
                                    java.lang.String sysId,
                                    java.net.URL baseURL)
    • Method Detail

      • getBaseURI

        public java.lang.String getBaseURI()
        Specified by:
        getBaseURI in interface org.codehaus.stax2.evt.NotationDeclaration2
        Overrides:
        getBaseURI in class org.codehaus.stax2.ri.evt.NotationDeclarationEventImpl