Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 2 (11.1.2.0.0)

E17480-01

oracle.adf.controller
Class DefaultUrlParameterConverter

java.lang.Object
  extended by oracle.adf.controller.DefaultUrlParameterConverter
All Implemented Interfaces:
UrlParameterConverter

public class DefaultUrlParameterConverter
extends java.lang.Object
implements UrlParameterConverter

Default implementation of the UrlParameterConverter interface. This implementation ensures that the String values are safe from Cross Site Scripting (XSS) attack.
Clients should extend this class as appropriate.


Field Summary
static java.lang.String ENCODING
           
 
Constructor Summary
DefaultUrlParameterConverter()
          Constructor.
 
Method Summary
 java.lang.Object getAsObject(java.lang.String value)
          Returns the input value.
 java.lang.String getAsString(java.lang.Object value)
          Returns the String representation of the input Object.
protected  java.lang.String verify(java.lang.Object in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCODING

public static final java.lang.String ENCODING
See Also:
Constant Field Values
Constructor Detail

DefaultUrlParameterConverter

public DefaultUrlParameterConverter()
Constructor.

Method Detail

getAsObject

public java.lang.Object getAsObject(java.lang.String value)
Returns the input value.
Throws exception if the input is invalid.

Specified by:
getAsObject in interface UrlParameterConverter
Parameters:
value - the input String
Returns:
the input value

getAsString

public java.lang.String getAsString(java.lang.Object value)
Returns the String representation of the input Object.
Throws exception if the value is invalid.

Specified by:
getAsString in interface UrlParameterConverter
Parameters:
value - the input object
Returns:
the String value, if valid.

verify

protected java.lang.String verify(java.lang.Object in)

Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 2 (11.1.2.0.0)

E17480-01

Copyright © 1997, 2011, Oracle. All rights reserved.