org.n52.security.common.xml
Class LSInputSourceAdapter

java.lang.Object
  extended by org.n52.security.common.xml.LSInputSourceAdapter
All Implemented Interfaces:
org.w3c.dom.ls.LSInput

public class LSInputSourceAdapter
extends java.lang.Object
implements org.w3c.dom.ls.LSInput

Class LSInputSourceAdapter adapts the LSInput interface to the 'old' InputSource interface.

Version:
$Revision: $
Author:
Marko Reiprecht Created on 23.03.2008

Constructor Summary
LSInputSourceAdapter(org.xml.sax.InputSource inputSource)
          Constructor creates a new instance.
LSInputSourceAdapter(org.xml.sax.InputSource inputSource, java.lang.String baseUri)
          Constructor creates a new instance.
LSInputSourceAdapter(org.xml.sax.InputSource inputSource, java.lang.String baseUri, boolean certifiedText)
          Constructor creates a new instance.
 
Method Summary
 java.lang.String getBaseURI()
          Method gets the baseURI.
 java.io.InputStream getByteStream()
          Method gets the byteStream.
 boolean getCertifiedText()
          Method gets the certifiedText.
 java.io.Reader getCharacterStream()
          Method gets the characterStream.
 java.lang.String getEncoding()
          Method gets the encoding.
 java.lang.String getPublicId()
          Method gets the publicId.
 java.lang.String getStringData()
          Method gets the stringData.
 java.lang.String getSystemId()
          Method gets the systemId.
 void setBaseURI(java.lang.String baseURI)
          Method sets the baseURI.
 void setByteStream(java.io.InputStream byteStream)
          Method sets the byteStream.
 void setCertifiedText(boolean certifiedText)
          Method sets the certifiedText.
 void setCharacterStream(java.io.Reader characterStream)
          Method sets the characterStream.
 void setEncoding(java.lang.String encoding)
          Method sets the encoding.
 void setPublicId(java.lang.String publicId)
          Method sets the publicId.
 void setStringData(java.lang.String stringData)
          Method sets the stringData.
 void setSystemId(java.lang.String systemId)
          Method sets the systemId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSInputSourceAdapter

public LSInputSourceAdapter(org.xml.sax.InputSource inputSource)
Constructor creates a new instance.

Parameters:
inputSource - the inputSource.

LSInputSourceAdapter

public LSInputSourceAdapter(org.xml.sax.InputSource inputSource,
                            java.lang.String baseUri)
Constructor creates a new instance.

Parameters:
inputSource - the inputSource.
baseUri - the baseUri.

LSInputSourceAdapter

public LSInputSourceAdapter(org.xml.sax.InputSource inputSource,
                            java.lang.String baseUri,
                            boolean certifiedText)
Constructor creates a new instance.

Parameters:
inputSource - the inputSource.
baseUri - the baseUri.
certifiedText - the certifiedText.
Method Detail

getBaseURI

public java.lang.String getBaseURI()
Method gets the baseURI.

Specified by:
getBaseURI in interface org.w3c.dom.ls.LSInput
Returns:
String.

setBaseURI

public void setBaseURI(java.lang.String baseURI)
Method sets the baseURI.

Specified by:
setBaseURI in interface org.w3c.dom.ls.LSInput
Parameters:
baseURI - the baseURI.

getByteStream

public java.io.InputStream getByteStream()
Method gets the byteStream.

Specified by:
getByteStream in interface org.w3c.dom.ls.LSInput
Returns:
InputStream.

setByteStream

public void setByteStream(java.io.InputStream byteStream)
Method sets the byteStream.

Specified by:
setByteStream in interface org.w3c.dom.ls.LSInput
Parameters:
byteStream - the byteStream.

getCertifiedText

public boolean getCertifiedText()
Method gets the certifiedText.

Specified by:
getCertifiedText in interface org.w3c.dom.ls.LSInput
Returns:
boolean.

setCertifiedText

public void setCertifiedText(boolean certifiedText)
Method sets the certifiedText.

Specified by:
setCertifiedText in interface org.w3c.dom.ls.LSInput
Parameters:
certifiedText - the certifiedText.

getCharacterStream

public java.io.Reader getCharacterStream()
Method gets the characterStream.

Specified by:
getCharacterStream in interface org.w3c.dom.ls.LSInput
Returns:
Reader.

setCharacterStream

public void setCharacterStream(java.io.Reader characterStream)
Method sets the characterStream.

Specified by:
setCharacterStream in interface org.w3c.dom.ls.LSInput
Parameters:
characterStream - the characterStream.

getEncoding

public java.lang.String getEncoding()
Method gets the encoding.

Specified by:
getEncoding in interface org.w3c.dom.ls.LSInput
Returns:
String.

setEncoding

public void setEncoding(java.lang.String encoding)
Method sets the encoding.

Specified by:
setEncoding in interface org.w3c.dom.ls.LSInput
Parameters:
encoding - the encoding.

getPublicId

public java.lang.String getPublicId()
Method gets the publicId.

Specified by:
getPublicId in interface org.w3c.dom.ls.LSInput
Returns:
String.

setPublicId

public void setPublicId(java.lang.String publicId)
Method sets the publicId.

Specified by:
setPublicId in interface org.w3c.dom.ls.LSInput
Parameters:
publicId - the publicId.

getStringData

public java.lang.String getStringData()
Method gets the stringData.

Specified by:
getStringData in interface org.w3c.dom.ls.LSInput
Returns:
String.

setStringData

public void setStringData(java.lang.String stringData)
Method sets the stringData.

Specified by:
setStringData in interface org.w3c.dom.ls.LSInput
Parameters:
stringData - the stringData.

getSystemId

public java.lang.String getSystemId()
Method gets the systemId.

Specified by:
getSystemId in interface org.w3c.dom.ls.LSInput
Returns:
String.

setSystemId

public void setSystemId(java.lang.String systemId)
Method sets the systemId.

Specified by:
setSystemId in interface org.w3c.dom.ls.LSInput
Parameters:
systemId - the systemId.


Copyright © 2004-2009 52north.org. All Rights Reserved.