public final class SalNodeAdapter extends XmlAdapter<String,SalNode>
| Constructor and Description |
|---|
SalNodeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(SalNode v)
Convert the given
SalNode instance into a string. |
SalNode |
unmarshal(String v)
Convert the given string into a
SalNode instance. |
public String marshal(SalNode v)
SalNode instance into a string.marshal in class XmlAdapter<String,SalNode>v - A SalNode instance to be converted.v is not null.
null if v is null.public SalNode unmarshal(String v)
SalNode instance.unmarshal in class XmlAdapter<String,SalNode>v - A string to be converted.SalNode instance if v is not null.
null if v is null.IllegalArgumentException - The given string could not be converted.Copyright © 2018 OpenDaylight. All rights reserved.