Package org.apache.axis2.datasource.jaxb
Class XMLStreamWriterRemoveIllegalChars
- java.lang.Object
-
- org.apache.axiom.om.impl.MTOMXMLStreamWriter
-
- org.apache.axis2.datasource.jaxb.XMLStreamWriterFilterBase
-
- org.apache.axis2.datasource.jaxb.XMLStreamWriterRemoveIllegalChars
-
- All Implemented Interfaces:
XMLStreamWriter
public class XMLStreamWriterRemoveIllegalChars extends XMLStreamWriterFilterBase
This is an MTOMXMLStreamWriter filter that removes illegal characters. Valid and invalid character ranges are defined by: http://www.w3.org/TR/2008/REC-xml-20081126/#NT-Char
-
-
Constructor Summary
Constructors Constructor Description XMLStreamWriterRemoveIllegalChars(MTOMXMLStreamWriter delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
xmlData(String value)
Derived classes extend the method.-
Methods inherited from class org.apache.axis2.datasource.jaxb.XMLStreamWriterFilterBase
close, flush, getCharSetEncoding, getNamespaceContext, getOutputFormat, getOutputStream, getPrefix, getProperty, isOptimized, prepareDataHandler, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement
-
-
-
-
Constructor Detail
-
XMLStreamWriterRemoveIllegalChars
public XMLStreamWriterRemoveIllegalChars(MTOMXMLStreamWriter delegate)
-
-
Method Detail
-
xmlData
protected String xmlData(String value)
Description copied from class:XMLStreamWriterFilterBase
Derived classes extend the method. A derived class may log or modify the xml data- Specified by:
xmlData
in classXMLStreamWriterFilterBase
- Returns:
- value
-
-