# Uses of Class
org.apache.sis.xml.XLink

Packages that use XLink
Package
Description
org.apache.sis.xml
Provides methods for marshalling and unmarshalling SIS objects in XML.

- ## Uses of XLink in org.apache.sis.xml

  Fields in org.apache.sis.xml with type parameters of type XLink
  Modifier and Type
  Field
  Description
  `static final IdentifierSpace<XLink>`
  IdentifierSpace.`XLINK`
  Any XML attributes defined by OGC in the xlink schema.
  Methods in org.apache.sis.xml that return XLink
  Modifier and Type
  Method
  Description
  `XLink`
  ReferenceResolver.`anchor(MarshalContext context, Object value, CharSequence text)`
  Returns the `<gcx:Anchor>` to use for the given text, or `null` if none.
  Methods in org.apache.sis.xml with parameters of type XLink
  Modifier and Type
  Method
  Description
  `<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 object instead of writing the full XML element.
  `<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.
  Constructors in org.apache.sis.xml with parameters of type XLink
  Modifier
  Constructor
  Description
  ``
  `XLink(XLink link)`
  Creates a new link as a copy of the given link.