Class StringSetResolveHandler

    • Constructor Detail

      • StringSetResolveHandler

        public StringSetResolveHandler()
    • 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 interface ResolveHandler
        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:
        resolve in interface ResolveHandler
        Parameters:
        currentNode -
        style -