org.apache.cocoon.components.validation.jaxp
Class JaxpInput
java.lang.Object
org.apache.cocoon.components.validation.jaxp.JaxpInput
- All Implemented Interfaces:
- LSInput
public class JaxpInput
- extends Object
- implements LSInput
An implementation of the LSInput
interface wrapping a nested
InputSource
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxpInput
public JaxpInput(InputSource input)
Create a new JaxpInput
instance.
- Parameters:
input
- a non-null InputSource
instance to wrap.
- Throws:
NullPointerException
- if the InputSource
was null.
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 stream)
- Specified by:
setByteStream
in interface LSInput
getStringData
public String getStringData()
- Specified by:
getStringData
in interface LSInput
setStringData
public void setStringData(String data)
- Specified by:
setStringData
in interface LSInput
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interface LSInput
setSystemId
public void setSystemId(String systemId)
- Specified by:
setSystemId
in interface LSInput
getPublicId
public String getPublicId()
- Specified by:
getPublicId
in interface LSInput
setPublicId
public void setPublicId(String publicId)
- Specified by:
setPublicId
in interface LSInput
getBaseURI
public String getBaseURI()
- Specified by:
getBaseURI
in interface LSInput
setBaseURI
public void setBaseURI(String base)
- Specified by:
setBaseURI
in interface LSInput
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interface LSInput
setEncoding
public void setEncoding(String encoding)
- Specified by:
setEncoding
in interface LSInput
getCertifiedText
public boolean getCertifiedText()
- Specified by:
getCertifiedText
in interface LSInput
setCertifiedText
public void setCertifiedText(boolean cert)
- Specified by:
setCertifiedText
in interface LSInput
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.