Package com.sun.msv.reader.xmlschema
Class DOMLSInputImpl
- java.lang.Object
-
- com.sun.msv.reader.xmlschema.DOMLSInputImpl
-
- All Implemented Interfaces:
DOMLSInput,org.w3c.dom.ls.LSInput
public class DOMLSInputImpl extends java.lang.Object implements org.w3c.dom.ls.LSInput, DOMLSInput
implementation class for an LSInput where the only data source is an existing DOM element.
-
-
Constructor Summary
Constructors Constructor Description DOMLSInputImpl(java.lang.String baseURI, java.lang.String systemId, org.w3c.dom.Element data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBaseURI()java.io.InputStreamgetByteStream()booleangetCertifiedText()java.io.ReadergetCharacterStream()org.w3c.dom.ElementgetElement()java.lang.StringgetEncoding()java.lang.StringgetPublicId()java.lang.StringgetStringData()java.lang.StringgetSystemId()voidsetBaseURI(java.lang.String baseURI)voidsetByteStream(java.io.InputStream byteStream)voidsetCertifiedText(boolean certifiedText)voidsetCharacterStream(java.io.Reader characterStream)voidsetEncoding(java.lang.String encoding)voidsetPublicId(java.lang.String publicId)voidsetStringData(java.lang.String stringData)voidsetSystemId(java.lang.String systemId)
-
-
-
Method Detail
-
getBaseURI
public java.lang.String getBaseURI()
- Specified by:
getBaseURIin interfaceorg.w3c.dom.ls.LSInput
-
getByteStream
public java.io.InputStream getByteStream()
- Specified by:
getByteStreamin interfaceorg.w3c.dom.ls.LSInput
-
getCertifiedText
public boolean getCertifiedText()
- Specified by:
getCertifiedTextin interfaceorg.w3c.dom.ls.LSInput
-
getCharacterStream
public java.io.Reader getCharacterStream()
- Specified by:
getCharacterStreamin interfaceorg.w3c.dom.ls.LSInput
-
getEncoding
public java.lang.String getEncoding()
- Specified by:
getEncodingin interfaceorg.w3c.dom.ls.LSInput
-
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicIdin interfaceorg.w3c.dom.ls.LSInput
-
getStringData
public java.lang.String getStringData()
- Specified by:
getStringDatain interfaceorg.w3c.dom.ls.LSInput
-
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemIdin interfaceorg.w3c.dom.ls.LSInput
-
setBaseURI
public void setBaseURI(java.lang.String baseURI)
- Specified by:
setBaseURIin interfaceorg.w3c.dom.ls.LSInput
-
setByteStream
public void setByteStream(java.io.InputStream byteStream)
- Specified by:
setByteStreamin interfaceorg.w3c.dom.ls.LSInput
-
setCertifiedText
public void setCertifiedText(boolean certifiedText)
- Specified by:
setCertifiedTextin interfaceorg.w3c.dom.ls.LSInput
-
setCharacterStream
public void setCharacterStream(java.io.Reader characterStream)
- Specified by:
setCharacterStreamin interfaceorg.w3c.dom.ls.LSInput
-
setEncoding
public void setEncoding(java.lang.String encoding)
- Specified by:
setEncodingin interfaceorg.w3c.dom.ls.LSInput
-
setPublicId
public void setPublicId(java.lang.String publicId)
- Specified by:
setPublicIdin interfaceorg.w3c.dom.ls.LSInput
-
setStringData
public void setStringData(java.lang.String stringData)
- Specified by:
setStringDatain interfaceorg.w3c.dom.ls.LSInput
-
setSystemId
public void setSystemId(java.lang.String systemId)
- Specified by:
setSystemIdin interfaceorg.w3c.dom.ls.LSInput
-
getElement
public org.w3c.dom.Element getElement()
- Specified by:
getElementin interfaceDOMLSInput
-
-