net.sf.mmm.util.xml.base.jaxb
Class XmlAdapterPattern
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Pattern>
net.sf.mmm.util.xml.base.jaxb.XmlAdapterPattern
- Direct Known Subclasses:
- XmlAdapterInfixPattern
public class XmlAdapterPattern
- extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Pattern>
This is an implementation of XmlAdapter for mapping Pattern.
- Since:
- 2.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlAdapterPattern
public XmlAdapterPattern()
- The constructor.
marshal
public String marshal(Pattern pattern)
throws Exception
-
- Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Pattern>
- Throws:
Exception
unmarshal
public Pattern unmarshal(String pattern)
throws Exception
-
- Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Pattern>
- Throws:
Exception
Copyright © 2001-2010 mmm-Team. All Rights Reserved.