Top Inners Fields Constructors Methods
com.vladsch.flexmark.util.misc

public Class TemplateUtil

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map, java.util.regex.Matcher, .Pattern

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static interface

Field Summary

Modifier and TypeField and Description
public static final TemplateUtil.Resolver

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NULL_RESOLVERback to summary
public static final TemplateUtil.Resolver NULL_RESOLVER

Constructor Detail

TemplateUtilback to summary
public TemplateUtil()

Method Detail

resolveRefsback to summary
public static String resolveRefs(CharSequence text, Pattern pattern, TemplateUtil.Resolver resolver)
com.vladsch.flexmark.util.misc back to summary

public Class TemplateUtil.MappedResolver

extends Object
implements Resolver
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.misc.TemplateUtil.Resolver

Field Summary

Modifier and TypeField and Description
protected final Map<String, String>

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Map<String, String>
public String
public TemplateUtil.MappedResolver
set(String name, String value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

resolvedback to summary
protected final Map<String, String> resolved

Constructor Detail

MappedResolverback to summary
public MappedResolver(Map<String, String> map)
MappedResolverback to summary
public MappedResolver()

Method Detail

getMMapback to summary
public Map<String, String> getMMap()
resolveback to summary
public String resolve(String[] groups)

Implements com.vladsch.flexmark.util.misc.TemplateUtil.Resolver.resolve.

Annotations
@Override
setback to summary
public TemplateUtil.MappedResolver set(String name, String value)
com.vladsch.flexmark.util.misc back to summary

public Interface TemplateUtil.Resolver

Known Direct Implementers
com.vladsch.flexmark.util.misc.TemplateUtil.MappedResolver

Method Summary

Modifier and TypeMethod and Description
public String
resolve(String[] groups)

Method Detail

resolveback to summary
public String resolve(String[] groups)