org.milyn.xml
Class StreamSourceLSInput

java.lang.Object
  extended by org.milyn.xml.StreamSourceLSInput
All Implemented Interfaces:
LSInput

public class StreamSourceLSInput
extends Object
implements LSInput

StreamSource based LSInput.

Author:
tom.fennelly@gmail.com

Constructor Summary
StreamSourceLSInput(StreamSource input)
           
 
Method Summary
 String getBaseURI()
           
 InputStream getByteStream()
           
 boolean getCertifiedText()
           
 Reader getCharacterStream()
           
 String getEncoding()
           
 String getPublicId()
           
 String getStringData()
           
 String getSystemId()
           
 void setBaseURI(String s)
           
 void setByteStream(InputStream inputStream)
           
 void setCertifiedText(boolean b)
           
 void setCharacterStream(Reader reader)
           
 void setEncoding(String s)
           
 void setPublicId(String s)
           
 void setStringData(String s)
           
 void setSystemId(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamSourceLSInput

public StreamSourceLSInput(StreamSource input)
Method Detail

getCharacterStream

public Reader getCharacterStream()
Specified by:
getCharacterStream in interface LSInput

setCharacterStream

public void setCharacterStream(Reader reader)
Specified by:
setCharacterStream in interface LSInput

getByteStream

public InputStream getByteStream()
Specified by:
getByteStream in interface LSInput

setByteStream

public void setByteStream(InputStream inputStream)
Specified by:
setByteStream in interface LSInput

getStringData

public String getStringData()
Specified by:
getStringData in interface LSInput

setStringData

public void setStringData(String s)
Specified by:
setStringData in interface LSInput

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface LSInput

setSystemId

public void setSystemId(String s)
Specified by:
setSystemId in interface LSInput

getPublicId

public String getPublicId()
Specified by:
getPublicId in interface LSInput

setPublicId

public void setPublicId(String s)
Specified by:
setPublicId in interface LSInput

getBaseURI

public String getBaseURI()
Specified by:
getBaseURI in interface LSInput

setBaseURI

public void setBaseURI(String s)
Specified by:
setBaseURI in interface LSInput

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface LSInput

setEncoding

public void setEncoding(String s)
Specified by:
setEncoding in interface LSInput

getCertifiedText

public boolean getCertifiedText()
Specified by:
getCertifiedText in interface LSInput

setCertifiedText

public void setCertifiedText(boolean b)
Specified by:
setCertifiedText in interface LSInput


Copyright © 2018. All rights reserved.