Class XmlPatternAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,Pattern>
-
- org.apache.turbine.services.urlmapper.model.XmlPatternAdapter
-
public class XmlPatternAdapter extends XmlAdapter<String,Pattern>
Creates Regex Pattern objects.- Author:
- Thomas Vandahl
-
-
Constructor Summary
Constructors Constructor Description XmlPatternAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
marshal(Pattern pattern)
Pattern
unmarshal(String urlPattern)
-
-
-
Constructor Detail
-
XmlPatternAdapter
public XmlPatternAdapter()
-
-
Method Detail
-
unmarshal
public Pattern unmarshal(String urlPattern) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<String,Pattern>
- Throws:
Exception
- See Also:
XmlAdapter.unmarshal(java.lang.Object)
-
marshal
public String marshal(Pattern pattern) throws Exception
- Specified by:
marshal
in classXmlAdapter<String,Pattern>
- Throws:
Exception
- See Also:
XmlAdapter.marshal(java.lang.Object)
-
-