org.apache.jackrabbit.core.xml
Class ClonedInputSource
java.lang.Object
org.xml.sax.InputSource
org.apache.jackrabbit.core.xml.ClonedInputSource
public class ClonedInputSource
- extends org.xml.sax.InputSource
Input source that clones existing input source. After cloning the existing
input source should not be used anymore. To make more copies call
cloneInputSource() method.
|
Constructor Summary |
ClonedInputSource(org.xml.sax.InputSource input)
Clone existing input source. |
| Methods inherited from class org.xml.sax.InputSource |
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClonedInputSource
public ClonedInputSource(org.xml.sax.InputSource input)
throws javax.jcr.RepositoryException
- Clone existing input source.
- Parameters:
input -
- Throws:
javax.jcr.RepositoryException
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.
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.