Class ExtEntity

  • All Implemented Interfaces:
    javax.xml.stream.events.EntityDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants, org.codehaus.stax2.evt.XMLEvent2
    Direct Known Subclasses:
    ParsedExtEntity, UnparsedExtEntity

    public abstract class ExtEntity
    extends EntityDecl
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String mPublicId  
      (package private) java.lang.String mSystemId  
      • 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
      ExtEntity​(javax.xml.stream.Location loc, java.lang.String name, java.net.URL ctxt, java.lang.String pubId, java.lang.String sysId)  
    • Field Detail

      • mPublicId

        final java.lang.String mPublicId
      • mSystemId

        final java.lang.String mSystemId
    • Constructor Detail

      • ExtEntity

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

      • getNotationName

        public abstract java.lang.String getNotationName()
        Specified by:
        getNotationName in interface javax.xml.stream.events.EntityDeclaration
        Specified by:
        getNotationName in class EntityDecl
      • getPublicId

        public java.lang.String getPublicId()
        Specified by:
        getPublicId in interface javax.xml.stream.events.EntityDeclaration
        Specified by:
        getPublicId in class EntityDecl
      • getReplacementText

        public java.lang.String getReplacementText()
        Specified by:
        getReplacementText in interface javax.xml.stream.events.EntityDeclaration
        Specified by:
        getReplacementText in class EntityDecl
      • getSystemId

        public java.lang.String getSystemId()
        Specified by:
        getSystemId in interface javax.xml.stream.events.EntityDeclaration
        Specified by:
        getSystemId in class EntityDecl
      • writeEnc

        public abstract void writeEnc​(java.io.Writer w)
                               throws java.io.IOException
        Specified by:
        writeEnc in class EntityDecl
        Throws:
        java.io.IOException
      • isParsed

        public abstract boolean isParsed()
        Specified by:
        isParsed in class EntityDecl
      • expand

        public abstract WstxInputSource expand​(WstxInputSource parent,
                                               javax.xml.stream.XMLResolver res,
                                               ReaderConfig cfg,
                                               int xmlVersion)
                                        throws java.io.IOException,
                                               javax.xml.stream.XMLStreamException
        Description copied from class: EntityDecl
        Method called to create the new input source through which expansion value of the entity can be read.
        Specified by:
        expand in class EntityDecl
        Throws:
        java.io.IOException
        javax.xml.stream.XMLStreamException