Uses of Class
org.apache.sis.xml.MarshalContext
Packages that use MarshalContext
Package
Description
Provides methods for marshalling and unmarshalling SIS objects in XML.
-
Uses of MarshalContext in org.apache.sis.xml
Methods in org.apache.sis.xml with parameters of type MarshalContextModifier and TypeMethodDescriptionReferenceResolver.anchor(MarshalContext context, Object value, CharSequence text) Returns the<gcx:Anchor>to use for the given text, ornullif none.<T> booleanReferenceResolver.canSubstituteByReference(MarshalContext context, Class<T> type, T object, String id) Returnstrueif the marshaller can use axlink:href="#id"reference to the given object instead of writing the full XML element.<T> booleanReferenceResolver.canSubstituteByReference(MarshalContext context, Class<T> type, T object, UUID uuid) Returnstrueif the marshaller can use a reference to the given object instead of writing the full XML element.<T> booleanReferenceResolver.canSubstituteByReference(MarshalContext context, Class<T> type, T object, XLink link) Returnstrueif the marshaller can use axlink:hrefreference to the given object instead of writing the full XML element.protected <T> booleanValueConverter.exceptionOccured(MarshalContext context, T value, Class<T> sourceType, Class<?> targetType, Exception exception) Invoked when an exception occurred in anytoXXX(…)method.<T> TReferenceResolver.newIdentifiedObject(MarshalContext context, Class<T> type, Identifier... identifiers) Returns an empty object of the given type having the given identifiers.<T> TReferenceResolver.resolve(MarshalContext context, Class<T> type, UUID uuid) Returns an object of the given type for the givenuuidattribute, ornullif none.<T> TReferenceResolver.resolve(MarshalContext context, Class<T> type, XLink link) Returns an object of the given type for the givenxlinkattribute, ornullif none.ValueConverter.toCharset(MarshalContext context, String value) Converts the given string to a character set.ValueConverter.toCharsetCode(MarshalContext context, Charset value) Converts the given character set to a code.ValueConverter.toCountryCode(MarshalContext context, Locale value) Converts the given locale to a country code.ValueConverter.toLanguageCode(MarshalContext context, Locale value) Converts the given locale to a language code.ValueConverter.toLocale(MarshalContext context, String value) Converts the given string to a locale.ValueConverter.toNilReason(MarshalContext context, String value) Converts the given string to aNilReason.Unit<?>ValueConverter.toUnit(MarshalContext context, String value) Converts the given string to a unit.ValueConverter.toURI(MarshalContext context, String value) Converts the given string to a URI.ValueConverter.toURI(MarshalContext context, URL value) Converts the given URL to a URI.ValueConverter.toURL(MarshalContext context, URI value) Converts the given URI to a URL.ValueConverter.toUUID(MarshalContext context, String value) Converts the given string to a Universal Unique Identifier.