org.apache.myfaces.trinidadinternal.style.util
Class StyleUtils

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.style.util.StyleUtils

public class StyleUtils
extends java.lang.Object

Generic style utilities.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/style/util/StyleUtils.java#0 $) $Date: 10-nov-2005.18:58:52 $
Author:
The Oracle ADF Faces Team

Field Summary
static java.lang.String LTR_CSS_SUFFIX
           
static java.lang.String RTL_CSS_SUFFIX
           
 
Constructor Summary
StyleUtils()
           
 
Method Summary
static java.lang.String convertToValidSelector(java.lang.String selector)
          Convert the characters that should not be in a selector e.g., the | that is in the namespace to an _ so the css class name is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RTL_CSS_SUFFIX

public static final java.lang.String RTL_CSS_SUFFIX
See Also:
Constant Field Values

LTR_CSS_SUFFIX

public static final java.lang.String LTR_CSS_SUFFIX
See Also:
Constant Field Values
Constructor Detail

StyleUtils

public StyleUtils()
Method Detail

convertToValidSelector

public static java.lang.String convertToValidSelector(java.lang.String selector)
Convert the characters that should not be in a selector e.g., the | that is in the namespace to an _ so the css class name is valid.

Parameters:
input - String to convert.
Returns:
the input string with all "|" converted to "_" and all "::" to "_"


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.