Uses of Class
org.apache.sis.internal.jaxb.Context
Packages that use Context
Package
Description
A set of helper classes for JAXB handling in the SIS implementation.
Base classes for code lists and enumerations.
Miscellaneous objects and adapters defined in the
"gco" namespace.Miscellaneous objects and adapters defined in the
"lan" namespace.A set of helper classes for XML handling in the SIS implementation.
-
Uses of Context in org.apache.sis.internal.jaxb
Methods in org.apache.sis.internal.jaxb that return ContextModifier and TypeMethodDescriptionstatic ContextContext.current()Returns the context of the XML (un)marshalling currently progressing in the current thread, ornullif none.Methods in org.apache.sis.internal.jaxb with parameters of type ContextModifier and TypeMethodDescriptionstatic ValueConverterReturns the value converter in use for the current marshalling or unmarshalling process.static ObjectContext.getObjectForID(Context context, String id) Returns the object for the givengml:id, ornullif none.static StringContext.getObjectID(Context context, Object object) If agml:idvalue has already been used for the given object in the current XML document, returns that identifier.static PropertyType<?, ?> Context.getWrapper(Context context) Returns the<gml:*PropertyType>which is wrapping the<gml:*Type>object to (un)marshal, ornullif this information is not provided.static booleanReturnstrueif the given flag is set.static booleanContext.isGMLVersion(Context context, Version version) Returnstrueif the GML version is equal or newer than the specified version.static ReferenceResolverReturns the reference resolver in use for the current marshalling or unmarshalling process.static StringBuilderReturns the base URL of ISO 19115-3 (or other standards) schemas.static booleanContext.setObjectForID(Context context, Object object, String id) Returnstrueif the given identifier is available, orfalseif it is used by another object.static voidContext.setWrapper(Context context, PropertyType<?, ?> wrapper) Invoked byPropertyTypeimplementations for declaring the<gml:*PropertyType>instance which is wrapping the<gml:*Type>object to (un)marshal.static voidContext.warningOccured(Context context, Class<?> classe, String method, Class<? extends IndexedResourceBundle> resources, short key, Object... arguments) static voidContext.warningOccured(Context context, Class<?> classe, String method, Exception cause, boolean isWarning) Convenience method for sending a warning for the given exception.static voidContext.warningOccured(Context context, Level level, Class<?> classe, String method, Throwable exception, Class<? extends IndexedResourceBundle> resources, short key, Object... arguments) Sends a warning to the warning listener if there is one, or logs the warning otherwise. -
Uses of Context in org.apache.sis.internal.jaxb.cat
Constructors in org.apache.sis.internal.jaxb.cat with parameters of type ContextModifierConstructorDescriptionBuilds a code list with the given attributes.CodeListUID(Context context, org.opengis.util.CodeList<?> code) Builds a value forCodeListAdapterelements. -
Uses of Context in org.apache.sis.internal.jaxb.gco
Methods in org.apache.sis.internal.jaxb.gco with parameters of type ContextModifier and TypeMethodDescriptionstatic CharSequenceSame asCharSequenceAdapter.wrap(Context, Object, String), but returns directly theGO_CharacterString.textvalue without wrapping in aGO_CharacterStringinstance.static GO_CharacterStringConverts the string representation of an object to be marshalled in a XML file or stream. -
Uses of Context in org.apache.sis.internal.jaxb.lan
Methods in org.apache.sis.internal.jaxb.lan with parameters of type ContextModifier and TypeMethodDescriptionstatic CountryCreates a new wrapper for the given locale.static LanguageCodeCreates a new wrapper for the given locale.static LocaleCountry.getLocale(Context context, LanguageCode language, Country country, Class<?> caller) Returns the locale for the given language and country (which may be null), ornullif none. -
Uses of Context in org.apache.sis.internal.xml
Methods in org.apache.sis.internal.xml with parameters of type ContextModifier and TypeMethodDescriptionstatic DateXmlUtilities.toDate(Context context, XMLGregorianCalendar xml) Converts the given XML Gregorian calendar to a date.static TemporalXmlUtilities.toTemporal(Context context, XMLGregorianCalendar xml) Converts the given XML Gregorian calendar to a temporal object.static XMLGregorianCalendarConverts the given temporal object to a XML Gregorian calendar.static XMLGregorianCalendarConverts the given date to a XML Gregorian calendar using the locale and timezone from the current marshalling context.