Package org.opennms.core.xml
Class XmlHandler<U>
- java.lang.Object
-
- org.opennms.core.xml.XmlHandler<U>
-
public class XmlHandler<U> extends java.lang.Object
Fast XML marshaling and unmarshaling. This class attempts to perform as much of the initialization as possible when constructed, in order to make the calls tomarshal(Object)
andunmarshal(String)
as quick as possible. Instances of theses objects are not thread safe.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description XmlHandler(java.lang.Class<U> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(U obj)
U
unmarshal(java.lang.String xml)
-