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 Object
implements openwfe.org.jcr.Value

Magnolia Wrapper for value.


Constructor Summary
MgnlValue(javax.jcr.Value v)
           
 
Method Summary
 long getLong()
           
 InputStream getStream()
           
 String getString()
           
 int getType()
           
 Object getValue()
           
 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 Object getWrappedInstance()
                          throws openwfe.org.jcr.JcrException
Specified by:
getWrappedInstance in interface openwfe.org.jcr.Value
Throws:
openwfe.org.jcr.JcrException

getString

public 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 Object getValue()
                throws openwfe.org.jcr.JcrException
Specified by:
getValue in interface openwfe.org.jcr.Value
Throws:
openwfe.org.jcr.JcrException

getStream

public 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–2014 Magnolia International Ltd.. All rights reserved.