com.endeca.soleng.urlformatter.seo
Class UrlParamEncoder

java.lang.Object
  extended by 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


Constructor Summary
UrlParamEncoder()
           
 
Method Summary
 String decodeValue(UrlState pUrlState, String pValue)
           
 String encodeValue(UrlState pUrlState, UrlParam pUrlParam)
           
 String getParamKey()
           
 void setParamKey(String pParamKey)
          Sets the key of the parameter to encode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlParamEncoder

public UrlParamEncoder()
Method Detail

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.