Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bind
Class ParsingBoundValue

java.lang.Object
  |
  +--oracle.cabo.ui.data.bind.ParsingBoundValue
All Implemented Interfaces:
BoundValue

public class ParsingBoundValue
extends java.lang.Object
implements BoundValue

A BoundValue implementation that wraps another and returns a the wrapped value parsed by the passed in formatter.


Constructor Summary
ParsingBoundValue(BoundValue wrapped, BoundValue formatter)
          Creates a ParsingBoundValue.
ParsingBoundValue(BoundValue wrapped, Formatter formatter)
          Creates a ParsingBoundValue.
 
Method Summary
 java.lang.Object getValue(RenderingContext context)
          Called to retrieve a value based on the current rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsingBoundValue

public ParsingBoundValue(BoundValue wrapped,
                         BoundValue formatter)
Creates a ParsingBoundValue.
Parameters:
wrapped - the BoundValue to pass to the Formatter.
formatter - a BoundValue pointing to the Formatter to use to parse the wrapped result

ParsingBoundValue

public ParsingBoundValue(BoundValue wrapped,
                         Formatter formatter)
Creates a ParsingBoundValue.
Parameters:
wrapped - the BoundValue to pass to the Formatter.
formatter - the Formatter to use to format the wrapped result
Method Detail

getValue

public java.lang.Object getValue(RenderingContext context)
Called to retrieve a value based on the current rendering context.
Specified by:
getValue in interface BoundValue
Parameters:
context - the rendering context
Throws:
oracle.bali.share.util.UnhandledException - containing a ParseException if throws by Formatter.parseString

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.