Constructor and Description |
---|
NameCoderWrapper(NameCoder inner)
Construct a new wrapper for a NameCoder.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public NameCoderWrapper(NameCoder inner)
inner
- the wrapped NameCoderpublic String decodeAttribute(String attributeName)
decodeAttribute
in interface NameCoder
attributeName
- the name of the attributepublic String decodeNode(String nodeName)
decodeNode
in interface NameCoder
nodeName
- the name of the nodepublic String encodeAttribute(String name)
encodeAttribute
in interface NameCoder
name
- the name of the meta-datapublic String encodeNode(String name)
encodeNode
in interface NameCoder
name
- the name of the object dataCopyright © 2004–2016 XStream. All rights reserved.