Package org.vast.ogc.xlink
Class XlinkUtils
java.lang.Object
org.vast.ogc.xlink.XlinkUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <R extends IXlinkReference<?>>
RreadLink(com.google.gson.JsonObject obj, R link) static <R extends IXlinkReference<?>>
RreadLink(com.google.gson.stream.JsonReader reader, R link) static voidreadXlinkAttributes(DOMHelper dom, Element propertyElt, IXlinkReference<?> refObj) static voidwriteLink(com.google.gson.stream.JsonWriter writer, IXlinkReference<?> link) Write link to JSON usingstatic voidwriteXlinkAttributes(DOMHelper dom, Element propertyElt, IXlinkReference<?> refObj)
-
Constructor Details
-
XlinkUtils
public XlinkUtils()
-
-
Method Details
-
readXlinkAttributes
public static void readXlinkAttributes(DOMHelper dom, Element propertyElt, IXlinkReference<?> refObj) -
writeXlinkAttributes
public static void writeXlinkAttributes(DOMHelper dom, Element propertyElt, IXlinkReference<?> refObj) -
writeLink
public static void writeLink(com.google.gson.stream.JsonWriter writer, IXlinkReference<?> link) throws IOException Write link to JSON using- Parameters:
writer-link-- Throws:
IOException
-
readLink
public static <R extends IXlinkReference<?>> R readLink(com.google.gson.stream.JsonReader reader, R link) throws IOException - Throws:
IOException
-
readLink
-