Package org.opentrafficsim.xml.bindings
Class ClassNameAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Class<?>>
org.opentrafficsim.xml.bindings.ClassNameAdapter
public class ClassNameAdapter extends XmlAdapter<String,Class<?>>
ClassNameAdapter converts between the XML String for a class name and the Class object.
Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors Constructor Description ClassNameAdapter() -
Method Summary
-
Constructor Details
-
ClassNameAdapter
public ClassNameAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshalin classXmlAdapter<String,Class<?>>- Throws:
IllegalArgumentException
-
marshal
- Specified by:
marshalin classXmlAdapter<String,Class<?>>- Throws:
IllegalArgumentException
-