com.thoughtworks.xstream.io.xml
Interface XmlFriendlyWriter

All Known Implementing Classes:
AbstractDocumentWriter, AbstractXmlWriter, CompactWriter, Dom4JWriter, Dom4JXmlWriter, DomWriter, JDomWriter, PrettyPrintWriter, SaxWriter, StaxWriter, XomWriter, XppDomWriter

public interface XmlFriendlyWriter

An interface for a HierarchicalStreamWriter supporting XML-friendly names.

Since:
1.3
Author:
Jörg Schaible, Mauro Talevi

Method Summary
 java.lang.String escapeXmlName(java.lang.String name)
          Escapes XML name (node or attribute) to be XML-friendly
 

Method Detail

escapeXmlName

java.lang.String escapeXmlName(java.lang.String name)
Escapes XML name (node or attribute) to be XML-friendly

Parameters:
name - the unescaped XML name
Returns:
An escaped name with original characters replaced


Joe Walnes, http://xstream.codehaus.org/