Package | Description |
---|---|
org.apache.sis.xml |
Provides methods for marshalling and unmarshalling SIS objects in XML.
|
Modifier and Type | Method and Description |
---|---|
XLink |
ReferenceResolver.anchor(MarshalContext context,
Object value,
CharSequence text)
Returns the
<gmx:Anchor> to use for the given text, or null if none. |
<T> boolean |
ReferenceResolver.canSubstituteByReference(MarshalContext context,
Class<T> type,
T object,
UUID uuid)
Returns
true if the marshaller can use a reference to the given metadata
instead than writing the full element. |
<T> boolean |
ReferenceResolver.canSubstituteByReference(MarshalContext context,
Class<T> type,
T object,
XLink link)
Returns
true if the marshaller can use a xlink:href reference to the given
metadata instead than writing the full element. |
protected <T> boolean |
ValueConverter.exceptionOccured(MarshalContext context,
T value,
Class<T> sourceType,
Class<?> targetType,
Exception exception)
Invoked when an exception occurred in any
toXXX(…) method. |
<T> T |
ReferenceResolver.newIdentifiedObject(MarshalContext context,
Class<T> type,
Identifier... identifiers)
Returns an empty object of the given type having the given identifiers.
|
<T> T |
ReferenceResolver.resolve(MarshalContext context,
Class<T> type,
UUID uuid)
Returns an object of the given type for the given
uuid attribute, or null
if none. |
<T> T |
ReferenceResolver.resolve(MarshalContext context,
Class<T> type,
XLink link)
Returns an object of the given type for the given
xlink attribute, or null
if none. |
String |
ValueConverter.toCountryCode(MarshalContext context,
Locale value)
Converts the given locale to a country code.
|
String |
ValueConverter.toLanguageCode(MarshalContext context,
Locale value)
Converts the given locale to a language code.
|
Locale |
ValueConverter.toLocale(MarshalContext context,
String value)
Converts the given string to a locale.
|
NilReason |
ValueConverter.toNilReason(MarshalContext context,
String value)
Converts the given string to a
NilReason . |
Unit<?> |
ValueConverter.toUnit(MarshalContext context,
String value)
Converts the given string to a unit.
|
URI |
ValueConverter.toURI(MarshalContext context,
String value)
Converts the given string to a URI.
|
URI |
ValueConverter.toURI(MarshalContext context,
URL value)
Converts the given URL to a URI.
|
URL |
ValueConverter.toURL(MarshalContext context,
URI value)
Converts the given URI to a URL.
|
UUID |
ValueConverter.toUUID(MarshalContext context,
String value)
Converts the given string to a Universal Unique Identifier.
|
Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.