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>Exceptionpublic String marshal(ResourceLocation location) throws Exception
marshal in class XmlAdapter<String,ResourceLocation>ExceptionCopyright © 2020. All rights reserved.