@API(type=EXTENDABLE, src=PUBLIC) public interface StylesFilter extends Extension
Modifier and Type | Method and Description |
---|---|
Styles |
filter(Styles styles,
AuthorNode authorNode)
Filter the styles for the specified element.
|
getDescription
Styles filter(Styles styles, AuthorNode authorNode)
styles
- The original CSS styles associated with the specified
authorNode
. This object should only be used for the lifetime of
the method. It shouldn't be kept in a cache.authorNode
- The node to filter the CSS style for. If this node points to a processing
instruction, a CDATA or a comment then the real node can be obtained by
casting this object to ArtificialNode
and using ArtificialNode.getWrappedNode()
.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.