public interface MacroParameterTypeParser
Modifier and Type | Method and Description |
---|---|
Object |
parseMacroParameter(String macroName,
String parameterName,
String untypedValue,
Map<String,String> untypedParameters,
ConversionContext conversionContext) |
Map<String,Object> |
parseMacroParameters(String macroName,
Map<String,String> untypedParameters,
ConversionContext conversionContext)
Given raw macro parameter types, this converts them to the appropriate kind of object.
|
Map<String,Object> parseMacroParameters(String macroName, Map<String,String> untypedParameters, ConversionContext conversionContext) throws InvalidMacroParameterException
macroName
- The name of the macro whose parameters are to be parsed. Corresponds to the xhtml-macro name attributeuntypedParameters
- A map of macro parameters as stringsMacroParameterType
InvalidMacroParameterException
Object parseMacroParameter(String macroName, String parameterName, String untypedValue, Map<String,String> untypedParameters, ConversionContext conversionContext) throws InvalidMacroParameterException
InvalidMacroParameterException
Copyright © 2003–2020 Atlassian. All rights reserved.