com.atlassian.confluence.content.render.xhtml.editor.macro
Interface MacroParameterSerializer

All Known Implementing Classes:
DefaultMacroParameterSerializer

public interface MacroParameterSerializer

Serializes and deserializes macro parameters.

Since:
4.0

Method Summary
 Map<String,String> deserialize(String parameters)
          Deserializes a String into a Map of parameters.
 String serialize(Map<String,String> parameters)
          Serializes a map of parameters into a String.
 

Method Detail

serialize

String serialize(Map<String,String> parameters)
Serializes a map of parameters into a String.

Parameters:
parameters - Map to encode. May be null or empty.
Returns:
the encoded String.

deserialize

Map<String,String> deserialize(String parameters)
Deserializes a String into a Map of parameters.

Parameters:
parameters - String to decode.
Returns:
the parameters.


Copyright © 2003-2012 Atlassian. All Rights Reserved.