Class RemoveIllegalXmlCharsWriter
- java.lang.Object
-
- com.thoughtworks.xstream.io.WriterWrapper
-
- com.levigo.jadice.server.core.util.RemoveIllegalXmlCharsWriter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter
,com.thoughtworks.xstream.io.HierarchicalStreamWriter
public class RemoveIllegalXmlCharsWriter extends com.thoughtworks.xstream.io.WriterWrapper
AHierarchicalStreamWriter
which removes any character which is not legal in XML- Since:
- jadice server 4.3.1.20
- See Also:
XMLChar.isValid(int)
-
-
Constructor Summary
Constructors Constructor Description RemoveIllegalXmlCharsWriter(com.thoughtworks.xstream.io.HierarchicalStreamWriter wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(String name, String value)
void
close()
void
endNode()
void
flush()
void
setValue(String text)
void
startNode(String name)
com.thoughtworks.xstream.io.HierarchicalStreamWriter
underlyingWriter()
-
-
-
Method Detail
-
addAttribute
public void addAttribute(String name, String value)
- Specified by:
addAttribute
in interfacecom.thoughtworks.xstream.io.HierarchicalStreamWriter
- Overrides:
addAttribute
in classcom.thoughtworks.xstream.io.WriterWrapper
-
close
public void close()
- Specified by:
close
in interfacecom.thoughtworks.xstream.io.HierarchicalStreamWriter
- Overrides:
close
in classcom.thoughtworks.xstream.io.WriterWrapper
-
endNode
public void endNode()
- Specified by:
endNode
in interfacecom.thoughtworks.xstream.io.HierarchicalStreamWriter
- Overrides:
endNode
in classcom.thoughtworks.xstream.io.WriterWrapper
-
flush
public void flush()
- Specified by:
flush
in interfacecom.thoughtworks.xstream.io.HierarchicalStreamWriter
- Overrides:
flush
in classcom.thoughtworks.xstream.io.WriterWrapper
-
setValue
public void setValue(String text)
- Specified by:
setValue
in interfacecom.thoughtworks.xstream.io.HierarchicalStreamWriter
- Overrides:
setValue
in classcom.thoughtworks.xstream.io.WriterWrapper
-
startNode
public void startNode(String name)
- Specified by:
startNode
in interfacecom.thoughtworks.xstream.io.HierarchicalStreamWriter
- Overrides:
startNode
in classcom.thoughtworks.xstream.io.WriterWrapper
-
underlyingWriter
public com.thoughtworks.xstream.io.HierarchicalStreamWriter underlyingWriter()
- Specified by:
underlyingWriter
in interfacecom.thoughtworks.xstream.io.HierarchicalStreamWriter
- Overrides:
underlyingWriter
in classcom.thoughtworks.xstream.io.WriterWrapper
-
-