org.apache.jackrabbit.jcr2spi.xml
Interface Importer.TextValue

Enclosing interface:
Importer

public static interface Importer.TextValue

TextValue represents a serialized property value read from a System or Document View XML document.


Method Summary
 long length()
          Returns the length of the serialized value.
 java.io.Reader reader()
          Returns a Reader for reading the serialized value.
 java.lang.String retrieve()
          Retrieves the serialized value.
 

Method Detail

length

long length()
            throws java.io.IOException
Returns the length of the serialized value.

Returns:
the length of the serialized value
Throws:
java.io.IOException - if an I/O error occurs

retrieve

java.lang.String retrieve()
                          throws java.io.IOException
Retrieves the serialized value.

Returns:
the serialized value
Throws:
java.io.IOException - if an I/O error occurs

reader

java.io.Reader reader()
                      throws java.io.IOException
Returns a Reader for reading the serialized value.

Returns:
a Reader for reading the serialized value.
Throws:
java.io.IOException - if an I/O error occurs


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.