Package org.xwiki.filter.xml.output
Class XMLOutputProperties
- java.lang.Object
-
- org.xwiki.filter.DefaultFilterStreamProperties
-
- org.xwiki.filter.xml.XMLProperties
-
- org.xwiki.filter.xml.output.XMLOutputProperties
-
- All Implemented Interfaces:
FilterStreamProperties
public class XMLOutputProperties extends XMLProperties
Base properties for XML based serializers.- Since:
- 6.2M1
- Version:
- $Id: d9776c15a0a8dcf911c99901a55a4803c0023492 $
-
-
Field Summary
-
Fields inherited from interface org.xwiki.filter.FilterStreamProperties
PROPNAME_VERBOSE
-
-
Constructor Summary
Constructors Constructor Description XMLOutputProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncoding()
OutputTarget
getTarget()
boolean
isFormat()
void
setEncoding(String encoding)
void
setFormat(boolean format)
void
setTarget(OutputTarget target)
-
Methods inherited from class org.xwiki.filter.DefaultFilterStreamProperties
isVerbose, setVerbose
-
-
-
-
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
-
-