|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.io.naming.NameCoderWrapper
public class NameCoderWrapper
A wrapper for another NameCoder.
Constructor Summary | |
---|---|
NameCoderWrapper(NameCoder inner)
Construct a new wrapper for a NameCoder. |
Method Summary | |
---|---|
String |
decodeAttribute(String attributeName)
Decode an attribute name to an object name. |
String |
decodeNode(String nodeName)
Decode a node name to an object name. |
String |
encodeAttribute(String name)
Encode a meta-data name for an attribute in the target format. |
String |
encodeNode(String name)
Encode an object name for a node in the target format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameCoderWrapper(NameCoder inner)
inner
- the wrapped NameCoderMethod Detail |
---|
public String decodeAttribute(String attributeName)
decodeAttribute
in interface NameCoder
attributeName
- the name of the attribute
public String decodeNode(String nodeName)
decodeNode
in interface NameCoder
nodeName
- the name of the node
public String encodeAttribute(String name)
encodeAttribute
in interface NameCoder
name
- the name of the meta-data
public String encodeNode(String name)
encodeNode
in interface NameCoder
name
- the name of the object data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |