public class JAXBResourceLocationAdapter extends XmlAdapter<String,ResourceLocation>
Constructor and Description |
---|
JAXBResourceLocationAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(ResourceLocation location) |
ResourceLocation |
unmarshal(String locationString) |
public ResourceLocation unmarshal(String locationString) throws Exception
unmarshal
in class XmlAdapter<String,ResourceLocation>
Exception
public String marshal(ResourceLocation location) throws Exception
marshal
in class XmlAdapter<String,ResourceLocation>
Exception
Copyright © 2021. All rights reserved.