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
 java.util.Map<java.lang.String,java.lang.String> deserialize(java.lang.String parameters)
          Deserializes a String into a Map of parameters.
 java.lang.String serialize(java.util.Map<java.lang.String,java.lang.String> parameters)
          Serializes a map of parameters into a String.
 

Method Detail

serialize

java.lang.String serialize(java.util.Map<java.lang.String,java.lang.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

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

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.