Package org.apache.jackrabbit.core.xml
Class ClonedInputSource
- java.lang.Object
 - 
- org.xml.sax.InputSource
 - 
- org.apache.jackrabbit.core.xml.ClonedInputSource
 
 
 
- 
public class ClonedInputSource extends InputSource
Input source that clones existing input source. After cloning the existing input source should not be used anymore. To make more copies callcloneInputSource()method. 
- 
- 
Constructor Summary
Constructors Constructor Description ClonedInputSource(InputSource input)Clone existing input source. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClonedInputSourcecloneInputSource()Make a clone if this input source.byte[]getByteArray()char[]getCharacterArray()- 
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, isEmpty, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ClonedInputSource
public ClonedInputSource(InputSource input) throws RepositoryException
Clone existing input source.- Parameters:
 input-- Throws:
 RepositoryException
 
 - 
 
- 
Method Detail
- 
getCharacterArray
public char[] getCharacterArray()
 
- 
getByteArray
public byte[] getByteArray()
 
- 
cloneInputSource
public ClonedInputSource cloneInputSource()
Make a clone if this input source. The input source being cloned is still valid after cloning.- Returns:
 - input source clone.
 
 
 - 
 
 -