Class Stax2URLSource

    • Field Detail

      • mURL

        final java.net.URL mURL
    • Constructor Detail

      • Stax2URLSource

        public Stax2URLSource​(java.net.URL url)
    • Method Detail

      • getReference

        public java.net.URL getReference()
        Specified by:
        getReference in class Stax2ReferentialSource
        Returns:
        URL that refers to the reference resource, for the purposes of resolving a relative reference from content read from the resource.
      • constructReader

        public java.io.Reader constructReader()
                                       throws java.io.IOException
        Description copied from class: Stax2Source
        This method creates a Reader via which underlying input source can be accessed. Note that caller is responsible for closing that Reader when it is done reading it.
        Specified by:
        constructReader in class Stax2ReferentialSource
        Throws:
        java.io.IOException
      • constructInputStream

        public java.io.InputStream constructInputStream()
                                                 throws java.io.IOException
        Description copied from class: Stax2Source
        This method creates an InputStream via which underlying input source can be accessed. Note that caller is responsible for closing that InputSource when it is done reading it
        Specified by:
        constructInputStream in class Stax2ReferentialSource
        Throws:
        java.io.IOException