public abstract class MarshalContext extends Object
Defined in the
|Modifier||Constructor and Description|
Creates a new (un)marshalling context.
|Modifier and Type||Method and Description|
Returns the locale to use for (un)marshalling, or
Returns the timezone to use for (un)marshalling, or
Returns the schema version of the XML document being (un)marshalled.
public abstract Locale getLocale()
nullif no locale were explicitly specified. The locale returned by this method can be used for choosing a language in an
Locale.ROOTis interpreted as a request for locale-neutral strings. The meaning of "locale-neutral" is implementation specific - this is usually very close to the English locale, but not necessarily. For examples dates are formatted according ISO standard instead than the rules of the English locale.
nullvalue means that the locale is unspecified. Callers are encouraged to use the root locale as the default value, but some flexibility is allowed.
public abstract TimeZone getTimeZone()
nullif none were explicitely specified.
nullvalue means that the timezone is unspecified. Callers are encouraged to use the UTC timezone as the default value, but some flexibility is allowed.
prefixargument can be any of the following values (case-sensitive):
|gml||Geographic Markup Language||
prefix- One of the above-cited prefix.
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.