Class StringSetResolveHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.resolver.values.computed.content.StringSetResolveHandler
-
- All Implemented Interfaces:
ResolveHandler
public class StringSetResolveHandler extends Object implements ResolveHandler
-
-
Constructor Summary
Constructors Constructor Description StringSetResolveHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StyleKey[]
getRequiredStyles()
This indirectly defines the resolve order.void
resolve(DocumentContext process, LayoutElement element, StyleKey key)
Resolves a String.
-
-
-
Method Detail
-
getRequiredStyles
public StyleKey[] getRequiredStyles()
This indirectly defines the resolve order. The higher the order, the more dependent is the resolver on other resolvers to be complete.- Specified by:
getRequiredStyles
in interfaceResolveHandler
- Returns:
- the array of required style keys.
-
resolve
public void resolve(DocumentContext process, LayoutElement element, StyleKey key)
Resolves a String. As the string may contain the 'contents' property, it is not resolvable here. The ContentNormalizer needs to handle this property instead. (But this code prepares everything ..)- Specified by:
resolve
in interfaceResolveHandler
- Parameters:
process
- the current layout process controlling everytingelement
- the current layout element that is processedkey
- the style key that is computed.
-
-