com.endeca.soleng.urlformatter.seo
Class UrlParamEncoder
java.lang.Object
com.endeca.soleng.urlformatter.seo.UrlParamEncoder
- Direct Known Subclasses:
- SeoNavStateEncoder
public class UrlParamEncoder
- extends Object
Specifies the encoding of a URL parameter, aggregated by an SeoUrlFormatter
in an UrlParamEncoder[] array.
Property Summary |
Property |
Type |
Default Value |
paramKey |
String |
false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlParamEncoder
public UrlParamEncoder()
getParamKey
public String getParamKey()
setParamKey
public void setParamKey(String pParamKey)
- Sets the key of the parameter to encode.
- Parameters:
pParamKey
- Parameter that will be encoded.
encodeValue
public String encodeValue(UrlState pUrlState,
UrlParam pUrlParam)
throws UrlFormatException
- Throws:
UrlFormatException
decodeValue
public String decodeValue(UrlState pUrlState,
String pValue)
throws UrlFormatException
- Throws:
UrlFormatException
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.