Package org.opennms.core.xml
Class StringTrimAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.String>
-
- org.opennms.core.xml.StringTrimAdapter
-
public class StringTrimAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description StringTrimAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(java.lang.String value)
java.lang.String
unmarshal(java.lang.String value)
-
-
-
Method Detail
-
marshal
public java.lang.String marshal(java.lang.String value) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.String>
- Throws:
java.lang.Exception
-
unmarshal
public java.lang.String unmarshal(java.lang.String value) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.String>
- Throws:
java.lang.Exception
-
-