public final class VlanIdAdapter extends XmlAdapter<String,org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId>
| Constructor and Description |
|---|
VlanIdAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId v)
Convert the given
VlanId instance into a string. |
org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId |
unmarshal(String v)
Convert the given string into a
VlanId instance. |
public String marshal(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId v)
VlanId instance into a string.marshal in class XmlAdapter<String,org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId>v - A VlanId instance to be converted.v is not null.
null if v is null.public org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId unmarshal(String v)
VlanId instance.unmarshal in class XmlAdapter<String,org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId>v - A string to be converted.VlanId instance if v is not null.
null if v is null.Copyright © 2018 OpenDaylight. All rights reserved.