Package com.thoughtworks.xstream.io.xml
Class AbstractXmlReader
java.lang.Object
com.thoughtworks.xstream.io.AbstractReader
com.thoughtworks.xstream.io.xml.AbstractXmlReader
- All Implemented Interfaces:
ErrorReporter,ExtendedHierarchicalStreamReader,HierarchicalStreamReader
- Direct Known Subclasses:
AbstractDocumentReader,AbstractPullReader
Deprecated.
Abstract base implementation of HierarchicalStreamReader that provides common functionality
to all XML-based readers.
- Since:
- 1.2
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.protectedAbstractXmlReader(NameCoder nameCoder) Deprecated.protectedAbstractXmlReader(XmlFriendlyReplacer replacer) Deprecated.As of 1.4, useAbstractReaderinstead. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringescapeXmlName(String name) Deprecated.As of 1.4, useAbstractReaderinstead.unescapeXmlName(String name) Deprecated.As of 1.4, useAbstractReader.decodeNode(String)orAbstractReader.decodeAttribute(String)instead.Methods inherited from class com.thoughtworks.xstream.io.AbstractReader
decodeAttribute, decodeNode, encodeAttribute, encodeNode, peekNextChild, underlyingReaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.thoughtworks.xstream.io.HierarchicalStreamReader
appendErrors, close, getAttribute, getAttribute, getAttributeCount, getAttributeName, getAttributeNames, getNodeName, getValue, hasMoreChildren, moveDown, moveUp
-
Constructor Details
-
AbstractXmlReader
protected AbstractXmlReader()Deprecated. -
AbstractXmlReader
Deprecated.As of 1.4, useAbstractReaderinstead. -
AbstractXmlReader
Deprecated.
-
-
Method Details
-
unescapeXmlName
Deprecated.As of 1.4, useAbstractReader.decodeNode(String)orAbstractReader.decodeAttribute(String)instead.Unescapes XML-friendly name (node or attribute)- Parameters:
name- the escaped XML-friendly name- Returns:
- An unescaped name with original characters
-
escapeXmlName
Deprecated.As of 1.4, useAbstractReaderinstead.Escapes XML-unfriendly name (node or attribute)- Parameters:
name- the unescaped XML-unfriendly name- Returns:
- An escaped name with original characters
-
AbstractReaderinstead.