com.kuka.roboticsAPI.persistenceModel.templateModel
Class FrameTemplateAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<FrameTemplate,FrameTemplate>
      extended by com.kuka.roboticsAPI.persistenceModel.templateModel.FrameTemplateAdapter

public class FrameTemplateAdapter
extends XmlAdapter<FrameTemplate,FrameTemplate>

XML Adapter for FrameTemplate. On unmarshalling it provides ID attribute if required.


Constructor Summary
FrameTemplateAdapter()
           
 
Method Summary
 FrameTemplate marshal(FrameTemplate v)
          
 FrameTemplate unmarshal(FrameTemplate v)
           Generates ID attribute value (UUID) of FrameTemplate if id is not set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameTemplateAdapter

public FrameTemplateAdapter()
Method Detail

unmarshal

public FrameTemplate unmarshal(FrameTemplate v)
                        throws Exception

Generates ID attribute value (UUID) of FrameTemplate if id is not set.

Specified by:
unmarshal in class XmlAdapter<FrameTemplate,FrameTemplate>
Throws:
Exception

marshal

public FrameTemplate marshal(FrameTemplate v)
                      throws Exception

Specified by:
marshal in class XmlAdapter<FrameTemplate,FrameTemplate>
Throws:
Exception


Copyright © 2019. All rights reserved.