Class XSDLSInput

  • All Implemented Interfaces:
    org.w3c.dom.ls.LSInput
    Direct Known Subclasses:
    XSDLSInput

    public class XSDLSInput
    extends java.lang.Object
    implements org.w3c.dom.ls.LSInput
    XSD Input implementation of a LSInput Interface used when resolving references inside XSD schema to avoid external look-ups.
    • Constructor Detail

      • XSDLSInput

        public XSDLSInput​(java.lang.String publicId,
                          java.lang.String systemId,
                          java.lang.String content)
        Default constructor.
        Parameters:
        publicId - the publicId of the schema.
        systemId - the systemId of the schema
        content - the schema data.
      • XSDLSInput

        public XSDLSInput​(java.lang.String publicId,
                          java.lang.String systemId,
                          java.io.InputStream resourceAsStream)
                   throws MessageProcessingException
        Alternate contructor with input stream of the schema as argument.
        Parameters:
        publicId - the publicId of the schema.
        systemId - the systemId of the schema
        resourceAsStream - the input stream containing schema data.
        Throws:
        MessageProcessingException - if problems occurred reading the schema from class path
    • Method Detail

      • getBaseURI

        public java.lang.String getBaseURI()
        Specified by:
        getBaseURI in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getBaseURI()
      • getByteStream

        public java.io.InputStream getByteStream()
        Specified by:
        getByteStream in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getByteStream()
      • getCertifiedText

        public boolean getCertifiedText()
        Specified by:
        getCertifiedText in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getCertifiedText()
      • getCharacterStream

        public java.io.Reader getCharacterStream()
        Specified by:
        getCharacterStream in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getCharacterStream()
      • getEncoding

        public java.lang.String getEncoding()
        Specified by:
        getEncoding in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getEncoding()
      • getPublicId

        public java.lang.String getPublicId()
        Specified by:
        getPublicId in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getPublicId()
      • getStringData

        public java.lang.String getStringData()
        Specified by:
        getStringData in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getStringData()
      • getSystemId

        public java.lang.String getSystemId()
        Specified by:
        getSystemId in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.getSystemId()
      • setBaseURI

        public void setBaseURI​(java.lang.String baseURI)
        Specified by:
        setBaseURI in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setBaseURI(java.lang.String)
      • setByteStream

        public void setByteStream​(java.io.InputStream byteStream)
        Specified by:
        setByteStream in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setByteStream(java.io.InputStream)
      • setCertifiedText

        public void setCertifiedText​(boolean certifiedText)
        Specified by:
        setCertifiedText in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setCertifiedText(boolean)
      • setCharacterStream

        public void setCharacterStream​(java.io.Reader characterStream)
        Specified by:
        setCharacterStream in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setCharacterStream(java.io.Reader)
      • setEncoding

        public void setEncoding​(java.lang.String encoding)
        Specified by:
        setEncoding in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setEncoding(java.lang.String)
      • setPublicId

        public void setPublicId​(java.lang.String publicId)
        Specified by:
        setPublicId in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setPublicId(java.lang.String)
      • setStringData

        public void setStringData​(java.lang.String stringData)
        Specified by:
        setStringData in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setStringData(java.lang.String)
      • setSystemId

        public void setSystemId​(java.lang.String systemId)
        Specified by:
        setSystemId in interface org.w3c.dom.ls.LSInput
        See Also:
        LSInput.setSystemId(java.lang.String)