|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StyleParser
Name: StyleParser
Description: An interface for style attribute parsers.
| Method Summary | |
|---|---|
int |
parseStyle(Locator locator,
String styleDef,
Map supportedAttributeMap,
Map styleMap)
Scans the styles from the given string. |
void |
setAttributeHandler(AttributeHandler attributeHandler)
Sets the attribute handler. |
| Method Detail |
|---|
void setAttributeHandler(AttributeHandler attributeHandler)
attributeHandler - The attribute handler to set.
int parseStyle(Locator locator,
String styleDef,
Map supportedAttributeMap,
Map styleMap)
throws DocumentHandlerException
locator - The tag source locator.styleDef - The style definition
(eg 'background-color:#cccccc; text-align:center; font-size:12px;...')"),supportedAttributeMap - The map of supported attributes.styleMap - The map to fill the styles in.
DocumentHandlerException - In case the parsing failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||