Class ParsedExtEntity

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

    public class ParsedExtEntity
    extends ExtEntity
    • Constructor Detail

      • ParsedExtEntity

        public ParsedExtEntity​(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 java.lang.String getNotationName()
        Specified by:
        getNotationName in interface javax.xml.stream.events.EntityDeclaration
        Specified by:
        getNotationName in class ExtEntity
      • writeEnc

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

        public 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 ExtEntity
        Throws:
        java.io.IOException
        javax.xml.stream.XMLStreamException