org.xwiki.wikistream.xml.output
Class XMLOutputProperties

java.lang.Object
  extended by org.xwiki.wikistream.DefaultWikiStreamProperties
      extended by org.xwiki.wikistream.xml.XMLProperties
          extended by 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 $

Constructor Summary
XMLOutputProperties()
           
 
Method Summary
 String getEncoding()
           
 OutputTarget getTarget()
           
 boolean isFormat()
           
 void setEncoding(String encoding)
           
 void setFormat(boolean format)
           
 void setTarget(OutputTarget target)
           
 
Methods inherited from class org.xwiki.wikistream.DefaultWikiStreamProperties
isVerbose, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLOutputProperties

public XMLOutputProperties()
Method Detail

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.