01: /*
02: * Copyright (C) 2007, 2008 XStream Committers.
03: * All rights reserved.
04: *
05: * The software in this package is published under the terms of the BSD
06: * style license a copy of which has been included with this distribution in
07: * the LICENSE.txt file.
08: *
09: * Created on 26. September 2007 by Joerg Schaible
10: */
11: package com.thoughtworks.xstream.io.xml;
12:
13: /**
14: * An interface for a {@link com.thoughtworks.xstream.io.HierarchicalStreamReader} supporting XML-friendly names.
15: *
16: * @author Jörg Schaible
17: * @author Mauro Talevi
18: * @since 1.3
19: */
20: public interface XmlFriendlyReader {
21:
22: /**
23: * Unescapes XML-friendly name (node or attribute)
24: *
25: * @param name the escaped XML-friendly name
26: * @return An unescaped name with original characters
27: */
28: String unescapeXmlName(String name);
29:
30: }
|