Class XAlternateTextResolveHandler
- java.lang.Object
-
- org.jfree.layouting.layouter.style.resolver.computed.content.XAlternateTextResolveHandler
-
- All Implemented Interfaces:
ResolveHandler
public class XAlternateTextResolveHandler extends java.lang.Object implements ResolveHandler
-
-
Constructor Summary
Constructors Constructor Description XAlternateTextResolveHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StyleKey[]getRequiredStyles()This indirectly defines the resolve order.voidresolve(LayoutProcess 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:
getRequiredStylesin interfaceResolveHandler- Returns:
- the array of required style keys.
-
resolve
public void resolve(LayoutProcess 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:
resolvein interfaceResolveHandler- Parameters:
currentNode-style-
-
-