Skip navigation links
oracle.adf.controller
Class DefaultUrlParameterConverter
java.lang.Object
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
|
| 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 |
ENCODING
public static final java.lang.String ENCODING
-
- See Also:
- Constant Field Values
DefaultUrlParameterConverter
public DefaultUrlParameterConverter()
- Constructor.
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)
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.