Class XmlStreamAdapter

  • All Implemented Interfaces:
    javax.xml.stream.XMLResolver

    public class XmlStreamAdapter
    extends java.lang.Object
    implements javax.xml.stream.XMLResolver
    This class implements the XMLResolver API.

    It's a separate class in order to avoid a compile-time dependency on the StAX API for users of XMLResolver who don't use it.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object resolveEntity​(java.lang.String publicID, java.lang.String systemID, java.lang.String baseURI, java.lang.String namespace)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlStreamAdapter

        public XmlStreamAdapter​(XMLResolver resolver)
    • Method Detail

      • resolveEntity

        public java.lang.Object resolveEntity​(java.lang.String publicID,
                                              java.lang.String systemID,
                                              java.lang.String baseURI,
                                              java.lang.String namespace)
                                       throws javax.xml.stream.XMLStreamException
        Specified by:
        resolveEntity in interface javax.xml.stream.XMLResolver
        Throws:
        javax.xml.stream.XMLStreamException