Class ResolverLSInput

  • All Implemented Interfaces:
    org.w3c.dom.ls.LSInput

    public class ResolverLSInput
    extends java.lang.Object
    implements org.w3c.dom.ls.LSInput
    An LSInput with a resolvedURI.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.net.URI resolvedURI
      The underlying, resolved URI.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResolverLSInput​(ResolvedResource rsrc, java.lang.String publicId)
      Construct the LSInput while preserving the local URI.
      ResolverLSInput​(Resource rsrc, java.lang.String publicId, java.lang.String systemId)
      Construct the LSInput while preserving the local URI.
    • Field Detail

      • resolvedURI

        public final java.net.URI resolvedURI
        The underlying, resolved URI.
    • Constructor Detail

      • ResolverLSInput

        public ResolverLSInput​(Resource rsrc,
                               java.lang.String publicId,
                               java.lang.String systemId)
        Construct the LSInput while preserving the local URI.
        Parameters:
        rsrc - The resolver resource.
        publicId - The publicId.
        systemId - The systemId.
      • ResolverLSInput

        public ResolverLSInput​(ResolvedResource rsrc,
                               java.lang.String publicId)
        Construct the LSInput while preserving the local URI. If the resolved resource is available, we can get everything except the public identifier from that resolved resource.
        Parameters:
        rsrc - The resolved resource.
        publicId - The publicId.
    • Method Detail

      • getCharacterStream

        public java.io.Reader getCharacterStream()
        The LSInput API...
        Specified by:
        getCharacterStream in interface org.w3c.dom.ls.LSInput
      • setCharacterStream

        public void setCharacterStream​(java.io.Reader reader)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setCharacterStream in interface org.w3c.dom.ls.LSInput
      • getByteStream

        public java.io.InputStream getByteStream()
        The LSInput API...
        Specified by:
        getByteStream in interface org.w3c.dom.ls.LSInput
      • setByteStream

        public void setByteStream​(java.io.InputStream inputStream)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setByteStream in interface org.w3c.dom.ls.LSInput
      • getStringData

        public java.lang.String getStringData()
        The LSInput API...
        Specified by:
        getStringData in interface org.w3c.dom.ls.LSInput
      • setStringData

        public void setStringData​(java.lang.String string)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setStringData in interface org.w3c.dom.ls.LSInput
      • getSystemId

        public java.lang.String getSystemId()
        The LSInput API...
        Specified by:
        getSystemId in interface org.w3c.dom.ls.LSInput
      • setSystemId

        public void setSystemId​(java.lang.String string)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setSystemId in interface org.w3c.dom.ls.LSInput
      • getPublicId

        public java.lang.String getPublicId()
        The LSInput API...
        Specified by:
        getPublicId in interface org.w3c.dom.ls.LSInput
      • setPublicId

        public void setPublicId​(java.lang.String string)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setPublicId in interface org.w3c.dom.ls.LSInput
      • getBaseURI

        public java.lang.String getBaseURI()
        The LSInput API...
        Specified by:
        getBaseURI in interface org.w3c.dom.ls.LSInput
      • setBaseURI

        public void setBaseURI​(java.lang.String string)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setBaseURI in interface org.w3c.dom.ls.LSInput
      • getEncoding

        public java.lang.String getEncoding()
        The LSInput API...
        Specified by:
        getEncoding in interface org.w3c.dom.ls.LSInput
      • setEncoding

        public void setEncoding​(java.lang.String string)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setEncoding in interface org.w3c.dom.ls.LSInput
      • getCertifiedText

        public boolean getCertifiedText()
        The LSInput API...
        Specified by:
        getCertifiedText in interface org.w3c.dom.ls.LSInput
      • setCertifiedText

        public void setCertifiedText​(boolean b)
        The LSInput API... This method always throws an UnsupportedOperationException.
        Specified by:
        setCertifiedText in interface org.w3c.dom.ls.LSInput