public class DefaultStorageMacroBodyParser extends Object implements StorageMacroBodyParser
| Constructor and Description |
|---|
DefaultStorageMacroBodyParser(MacroBodyTransformationCondition condition,
TableStyleRemovingElementTransformer tableStyleRemovingElementTransformer,
XmlOutputFactory xmlOutputFactory) |
| Modifier and Type | Method and Description |
|---|---|
MacroBody |
getMacroBody(String macroName,
XMLEventReader bodyReader,
ConversionContext context,
FragmentTransformer transformer)
Extract the MacroBody from the current position in the XMLEventReader.
|
public DefaultStorageMacroBodyParser(MacroBodyTransformationCondition condition, TableStyleRemovingElementTransformer tableStyleRemovingElementTransformer, XmlOutputFactory xmlOutputFactory)
public MacroBody getMacroBody(String macroName, XMLEventReader bodyReader, ConversionContext context, FragmentTransformer transformer) throws XMLStreamException, XhtmlException
StorageMacroBodyParsergetMacroBody in interface StorageMacroBodyParsermacroName - the name of the macro being parsedbodyReader - the xml event reader at the position of the macro being parsedcontext - the conversion contexttransformer - the transformer that will be used to transform the xml events, may be nullXMLStreamExceptionXhtmlExceptionCopyright © 2003–2015 Atlassian. All rights reserved.