|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.style.util.StyleUtils
Generic style utilities.
Constructor Summary | |
StyleUtils()
|
Method Summary | |
static java.util.Dictionary |
getShortStyleClasses(StyleContext context,
StyleProvider provider)
Returns a Dictionary which maps style class names to equivalent shorter names. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StyleUtils()
Method Detail |
public static java.util.Dictionary getShortStyleClasses(StyleContext context, StyleProvider provider)
Some StyleProvider implementations, such as the FileSystemStyleCache, automatically provide compressed versions style class names. The short style classes can be used instead of the full style class names to reduce the overall size of generated content.
Note: The returned Dictionary uses String keys to represent the full class names. However, the short style class values may not necessarily be type java.lang.String. Clients must avoid explicitly casting the values contained in the Dictionary to type String. Instead, such values should be passed directly to the OutputMethod API to be rendered. Or, if the String representation is required, toString() should be called on the value.
context
- The StyleContextprovider
- The StyleProvider
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |