org.xwiki.wikistream.xml.output
Class XMLOutputProperties
java.lang.Object
org.xwiki.wikistream.DefaultWikiStreamProperties
org.xwiki.wikistream.xml.XMLProperties
org.xwiki.wikistream.xml.output.XMLOutputProperties
- All Implemented Interfaces:
- WikiStreamProperties
@Unstable
public class XMLOutputProperties
- extends XMLProperties
Base properties for XML based serializers.
- Since:
- 5.3RC1
- Version:
- $Id: ae8935967b22602aaa322dfc30530a5752cdc603 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLOutputProperties
public XMLOutputProperties()
isFormat
public boolean isFormat()
- Returns:
- true if the output XML should be formated
setFormat
public void setFormat(boolean format)
- Parameters:
format - Indicate if the output XML should be formated
getEncoding
public String getEncoding()
- Returns:
- The encoding to use when serializing XML
setEncoding
public void setEncoding(String encoding)
- Parameters:
encoding - The encoding to use when serializing XML
getTarget
public OutputTarget getTarget()
- Returns:
- The target where to save the content
setTarget
public void setTarget(OutputTarget target)
- Parameters:
target - The target where to save the content
Copyright © 2004–2014 XWiki. All rights reserved.