Class JAXBResourceLocationAdapter


  • public class JAXBResourceLocationAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​ResourceLocation>
    • Constructor Detail

      • JAXBResourceLocationAdapter

        public JAXBResourceLocationAdapter()
    • Method Detail

      • unmarshal

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

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