Class FormattedXmlOutput
java.lang.Object
net.officefloor.plugin.xml.marshall.output.FormattedXmlOutput
- All Implemented Interfaces:
XmlOutput
Provides formatting of the XML output to a delegate
XmlOutput.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FormattedXmlOutput
Initiate.- Parameters:
delegate- DelegateXmlOutputto send the formatted XML.indent- Indent to use in formatting the XML.
-
-
Method Details
-
write
Description copied from interface:XmlOutputWrites the XML snippet.- Specified by:
writein interfaceXmlOutput- Parameters:
xmlSnippet- XML snippet.- Throws:
IOException- If fail to write the XML snippet.
-