info.magnolia.beancoder
Class MgnlValue

java.lang.Object
  extended by info.magnolia.beancoder.MgnlValue
All Implemented Interfaces:
openwfe.org.jcr.Value

public class MgnlValue
extends java.lang.Object
implements openwfe.org.jcr.Value

Magnolia Wrapper for value.


Constructor Summary
MgnlValue(javax.jcr.Value v)
           
 
Method Summary
 long getLong()
           
 java.io.InputStream getStream()
           
 java.lang.String getString()
           
 int getType()
           
 java.lang.Object getValue()
           
 java.lang.Object getWrappedInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MgnlValue

public MgnlValue(javax.jcr.Value v)
Method Detail

getWrappedInstance

public java.lang.Object getWrappedInstance()
                                    throws openwfe.org.jcr.JcrException
Specified by:
getWrappedInstance in interface openwfe.org.jcr.Value
Throws:
openwfe.org.jcr.JcrException

getString

public java.lang.String getString()
                           throws openwfe.org.jcr.JcrException
Specified by:
getString in interface openwfe.org.jcr.Value
Throws:
openwfe.org.jcr.JcrException

getType

public int getType()
Specified by:
getType in interface openwfe.org.jcr.Value

getLong

public long getLong()
             throws openwfe.org.jcr.JcrException
Specified by:
getLong in interface openwfe.org.jcr.Value
Throws:
openwfe.org.jcr.JcrException

getValue

public java.lang.Object getValue()
                          throws openwfe.org.jcr.JcrException
Specified by:
getValue in interface openwfe.org.jcr.Value
Throws:
openwfe.org.jcr.JcrException

getStream

public java.io.InputStream getStream()
                              throws openwfe.org.jcr.JcrException
Specified by:
getStream in interface openwfe.org.jcr.Value
Throws:
openwfe.org.jcr.JcrException
See Also:
Value.getStream()


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.