public class ProductConfigurationXmlAdapter extends XmlAdapter<String,ProductConfiguration>
ProductConfiguration instances.
When marshaling/unmarshaling a configurable policy component (and thus a
ProductConfiguration), the respective product component is preserved in XML by the
means of the product component ID.
| Constructor and Description |
|---|
ProductConfigurationXmlAdapter(IRuntimeRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(ProductConfiguration config)
Returns the ID for the specified product component.
|
ProductConfiguration |
unmarshal(String id)
Returns the product component for the specified ID.
|
public ProductConfigurationXmlAdapter(IRuntimeRepository repository)
public String marshal(ProductConfiguration config) throws Exception
marshal in class XmlAdapter<String,ProductConfiguration>Exceptionpublic ProductConfiguration unmarshal(String id) throws Exception
unmarshal in class XmlAdapter<String,ProductConfiguration>ExceptionCopyright © 2014. All rights reserved.