com.bea.content.el.support
Class ValueWrapperImpl

java.lang.Object
  extended by com.bea.content.el.support.ValueWrapperImpl
All Implemented Interfaces
Serializable

public class ValueWrapperImpl
extends Object
implements Serializable

This EL wrapper class implementation adds functionality around the Value class.

Here are some common examples:

     ${myNode.propertyMap['myBinaryPropertyName'].value.stringValue}
 

See Also
Property, VersionServiceImpl, PropertyWrapperImpl, UrlServiceImpl, Serialized Form

Method Summary
 Object clone()
          See Value.clone()
 int compareTo(Object obj)
          See Value.compareTo(Object)
 boolean equals(Object obj)
          See Value.equals(Object)
 Value getAsValue()
          This returns the actual value so that the resolver mechanism can be circumvented if necessary.
 BinaryValue getBinaryValue()
          See Value.getBinaryValue()
 boolean getBooleanValue()
          See Value.getBooleanValue()
 Calendar getCalendarValue()
          See Value.getCalendarValue()
 Double getDoubleValue()
          See Value.getDoubleValue()
 ID getLinkValue()
          See Value.getLinkValue()
 long getLongValue()
          See Value.getLongValue()
 PropertyWrapperImpl[] getNestedValue()
          Overridden to provide property wrapper classes.
 int getOrderedPosition()
          See Value.getOrderedPosition()
 String getStringValue()
          See Value.getStringValue()
 Object getValue()
          See Value.getValue()
 Object getValueByType(int type)
          See Value.getValueByType(int)
 int hashCode()
          See Value.hashCode()
 void setOrderedPosition(int position)
          See Value.setOrderedPosition(int)
 String toString()
          See Value.toString()
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAsValue

public Value getAsValue()
This returns the actual value so that the resolver mechanism can be circumvented if necessary.

This will allow retrieval of "real" values rather than the wrappers.

Returns
The actual node.

clone

public Object clone()
             throws CloneNotSupportedException
See Value.clone()

Overrides:
clone in class Object
Throws
CloneNotSupportedException
See Also
Value.clone()

compareTo

public int compareTo(Object obj)
See Value.compareTo(Object)

See Also
Value.compareTo(Object)

equals

public boolean equals(Object obj)
See Value.equals(Object)

Overrides:
equals in class Object
See Also
Value.equals(Object)

getBinaryValue

public BinaryValue getBinaryValue()
See Value.getBinaryValue()

See Also
Value.getBinaryValue()

getBooleanValue

public boolean getBooleanValue()
See Value.getBooleanValue()

See Also
Value.getBooleanValue()

getCalendarValue

public Calendar getCalendarValue()
See Value.getCalendarValue()

See Also
Value.getCalendarValue()

getDoubleValue

public Double getDoubleValue()
See Value.getDoubleValue()

See Also
Value.getDoubleValue()

getLinkValue

public ID getLinkValue()
See Value.getLinkValue()

See Also
Value.getLinkValue()

getLongValue

public long getLongValue()
See Value.getLongValue()

See Also
Value.getLongValue()

getNestedValue

public PropertyWrapperImpl[] getNestedValue()
Overridden to provide property wrapper classes. See Value.getNestedValue()

See Also
Value.getNestedValue()

getOrderedPosition

public int getOrderedPosition()
See Value.getOrderedPosition()

See Also
Value.getOrderedPosition()

getStringValue

public String getStringValue()
See Value.getStringValue()

See Also
Value.getStringValue()

getValue

public Object getValue()
See Value.getValue()

See Also
Value.getValue()

getValueByType

public Object getValueByType(int type)
See Value.getValueByType(int)

See Also
Value.getValueByType(int)

hashCode

public int hashCode()
See Value.hashCode()

Overrides:
hashCode in class Object
See Also
Value.hashCode()

setOrderedPosition

public void setOrderedPosition(int position)
See Value.setOrderedPosition(int)

See Also
Value.setOrderedPosition(int)

toString

public String toString()
See Value.toString()

Overrides:
toString in class Object
See Also
Value.toString()


Copyright © 2011, Oracle. All rights reserved.