org.jboss.xb.binding.sunday.unmarshalling
Class LSInputAdaptor

java.lang.Object
  extended by org.jboss.xb.binding.sunday.unmarshalling.LSInputAdaptor
All Implemented Interfaces:
org.w3c.dom.ls.LSInput

public class LSInputAdaptor
extends Object
implements org.w3c.dom.ls.LSInput

A simple implementation of the dom3 LSInput

Version:
$Revision: 1.2.2.1 $
Author:
Scott.Stark@jboss.org

Constructor Summary
LSInputAdaptor(InputStream is, String encoding, String baseURI)
           
LSInputAdaptor(Reader charStream, String encoding, String baseURI)
           
LSInputAdaptor(String data, String encoding)
           
LSInputAdaptor(String publicId, String systemId, String baseURI)
           
 
Method Summary
 String getBaseURI()
           
 InputStream getByteStream()
           
 boolean getCertifiedText()
           
 Reader getCharacterStream()
           
 String getEncoding()
           
 String getPublicId()
           
 String getStringData()
           
 String getSystemId()
           
 void setBaseURI(String baseURI)
           
 void setByteStream(InputStream is)
           
 void setCertifiedText(boolean flag)
           
 void setCharacterStream(Reader reader)
           
 void setEncoding(String encoding)
           
 void setPublicId(String publicId)
           
 void setStringData(String stringData)
           
 void setSystemId(String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSInputAdaptor

public LSInputAdaptor(String publicId,
                      String systemId,
                      String baseURI)

LSInputAdaptor

public LSInputAdaptor(InputStream is,
                      String encoding,
                      String baseURI)

LSInputAdaptor

public LSInputAdaptor(Reader charStream,
                      String encoding,
                      String baseURI)

LSInputAdaptor

public LSInputAdaptor(String data,
                      String encoding)
Method Detail

getBaseURI

public String getBaseURI()
Specified by:
getBaseURI in interface org.w3c.dom.ls.LSInput

setBaseURI

public void setBaseURI(String baseURI)
Specified by:
setBaseURI in interface org.w3c.dom.ls.LSInput

getPublicId

public String getPublicId()
Specified by:
getPublicId in interface org.w3c.dom.ls.LSInput

setPublicId

public void setPublicId(String publicId)
Specified by:
setPublicId in interface org.w3c.dom.ls.LSInput

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface org.w3c.dom.ls.LSInput

setSystemId

public void setSystemId(String systemId)
Specified by:
setSystemId in interface org.w3c.dom.ls.LSInput

getByteStream

public InputStream getByteStream()
Specified by:
getByteStream in interface org.w3c.dom.ls.LSInput

setByteStream

public void setByteStream(InputStream is)
Specified by:
setByteStream in interface org.w3c.dom.ls.LSInput

getCharacterStream

public Reader getCharacterStream()
Specified by:
getCharacterStream in interface org.w3c.dom.ls.LSInput

setCharacterStream

public void setCharacterStream(Reader reader)
Specified by:
setCharacterStream in interface org.w3c.dom.ls.LSInput

getStringData

public String getStringData()
Specified by:
getStringData in interface org.w3c.dom.ls.LSInput

setStringData

public void setStringData(String stringData)
Specified by:
setStringData in interface org.w3c.dom.ls.LSInput

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface org.w3c.dom.ls.LSInput

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface org.w3c.dom.ls.LSInput

getCertifiedText

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

setCertifiedText

public void setCertifiedText(boolean flag)
Specified by:
setCertifiedText in interface org.w3c.dom.ls.LSInput


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.