Package org.jooq.conf

Class RegexAdapter


  • public class RegexAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.regex.Pattern>
    Author:
    Lukas Eder
    • Constructor Summary

      Constructors 
      Constructor Description
      RegexAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(java.util.regex.Pattern v)  
      java.util.regex.Pattern unmarshal​(java.lang.String v)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegexAdapter

        public RegexAdapter()
    • Method Detail

      • unmarshal

        public java.util.regex.Pattern unmarshal​(java.lang.String v)
                                          throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.regex.Pattern>
        Throws:
        java.lang.Exception
      • marshal

        public java.lang.String marshal​(java.util.regex.Pattern v)
                                 throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.regex.Pattern>
        Throws:
        java.lang.Exception