com.endeca.soleng.urlformatter.seo
Class StringFormatterChain

java.lang.Object
  extended by com.endeca.soleng.urlformatter.seo.StringFormatterChain
All Implemented Interfaces:
StringFormatter

public class StringFormatterChain
extends Object
implements StringFormatter

A StringFormatter that aggregates an array of StringFormatter objects, which it uses to apply a series of operations on a string. May be used by any of several classes that aggregate StringFormatters. Implements StringFormatter.

Property Summary
Property Type Default Value
stringFormatters StringFormatter[] null


Constructor Summary
StringFormatterChain()
           
 
Method Summary
 String format(UrlState pUrlState, String pString)
           
 StringFormatter[] getStringFormatters()
           
 void setStringFormatters(StringFormatter[] pStringFormatters)
          Specifies an array of StringFormatters to be applied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringFormatterChain

public StringFormatterChain()
Method Detail

getStringFormatters

public StringFormatter[] getStringFormatters()

setStringFormatters

public void setStringFormatters(StringFormatter[] pStringFormatters)
Specifies an array of StringFormatters to be applied. For example, this array might consist of several RegExStringFormatters.


format

public String format(UrlState pUrlState,
                     String pString)
              throws UrlFormatException
Specified by:
format in interface StringFormatter
Throws:
UrlFormatException


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.