common-util

local.tomas.faces.el
Class StringConcatenator

java.lang.Object
  extended by local.tomas.faces.el.StringConcatenator

public class StringConcatenator
extends Object

JSF expression language string concatenation. The concatenator is used in JSF expressions as follows:

 concatenator.concat['item1'].comcat['item2'].value
 

Author:
tomas.teubner

Constructor Summary
StringConcatenator()
          Default constructor.
StringConcatenator(String base)
          Construct from base string.
 
Method Summary
 Map<String,StringConcatenator> getConcat()
          Fake getter to implement the concat component.
 String getValue()
          Getter for the final value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringConcatenator

public StringConcatenator(String base)
Construct from base string.

Parameters:
base - the first string in a concatenation chain.

StringConcatenator

public StringConcatenator()
Default constructor.

Method Detail

getConcat

public Map<String,StringConcatenator> getConcat()
Fake getter to implement the concat component.

Returns:
The map.

getValue

public String getValue()
Getter for the final value.

Returns:
The value.

common-util

Copyright © 2007 null. All Rights Reserved.