Package org.apache.sis.internal.jaxb.gco
Class InternationalStringAdapter.Since2014
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<GO_CharacterString,org.opengis.util.InternationalString>
org.apache.sis.internal.jaxb.gco.InternationalStringAdapter
org.apache.sis.internal.jaxb.gco.InternationalStringAdapter.Since2014
- Enclosing class:
- InternationalStringAdapter
Wraps the value only if marshalling ISO 19115-3 element.
Otherwise (i.e. if marshalling a legacy ISO 19139:2007 document), omit the element.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.internal.jaxb.gco.InternationalStringAdapter
InternationalStringAdapter.Since2014
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(org.opengis.util.InternationalString value) Wraps the given value in an ISO 19115-3 element, unless we are marshalling an older document.Methods inherited from class org.apache.sis.internal.jaxb.gco.InternationalStringAdapter
unmarshal
-
Constructor Details
-
Since2014
public Since2014()Empty constructor used only by JAXB.
-
-
Method Details
-
marshal
Wraps the given value in an ISO 19115-3 element, unless we are marshalling an older document.- Overrides:
marshal
in classInternationalStringAdapter
- Parameters:
value
- the string value, ornull
.- Returns:
- a non-null value only if marshalling ISO 19115-3 or newer.
-