|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.uibinder.attributeparsers.CssNameConverter
public class CssNameConverter
Converts css class names to a form safe to use as a Java identifier.
Nested Class Summary | |
---|---|
static class |
CssNameConverter.Failure
Thrown by convertSet(Set) on name collision. |
Constructor Summary | |
---|---|
CssNameConverter()
|
Method Summary | |
---|---|
java.lang.String |
convertName(java.lang.String className)
|
java.util.Map<java.lang.String,java.lang.String> |
convertSet(java.util.Set<java.lang.String> classNames)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CssNameConverter()
Method Detail |
---|
public java.lang.String convertName(java.lang.String className)
className
- a css class name
public java.util.Map<java.lang.String,java.lang.String> convertSet(java.util.Set<java.lang.String> classNames) throws CssNameConverter.Failure
classNames
- css class names to convert
CssNameConverter.Failure
- on collisions due to conversions
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |