public enum MacroDefinitionMarshallingStrategy extends Enum<MacroDefinitionMarshallingStrategy>
| Enum Constant and Description | 
|---|
| DISCARD_MACRODiscard the macro now that we're done with it. | 
| MARSHALL_MACROMarshall the macro, to allow its use later on. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Streamable | marshal(MacroDefinition macroDefinition,
       ConversionContext conversionContext,
       Marshaller<MacroDefinition> macroDefinitionMarshaller)Convert the MacroDefinition to a string. | 
| static MacroDefinitionMarshallingStrategy | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static MacroDefinitionMarshallingStrategy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MacroDefinitionMarshallingStrategy DISCARD_MACRO
public static final MacroDefinitionMarshallingStrategy MARSHALL_MACRO
public static MacroDefinitionMarshallingStrategy[] values()
for (MacroDefinitionMarshallingStrategy c : MacroDefinitionMarshallingStrategy.values()) System.out.println(c);
public static MacroDefinitionMarshallingStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract Streamable marshal(MacroDefinition macroDefinition, ConversionContext conversionContext, Marshaller<MacroDefinition> macroDefinitionMarshaller) throws XhtmlException
macroDefinition - the macro to convertconversionContext - the context for converting the macromacroDefinitionMarshaller - a marshaller capable of converting the macroXhtmlExceptionCopyright © 2003–2022 Atlassian. All rights reserved.