Annotation Interface XSDMapping


@Target({FIELD,TYPE}) @Retention(RUNTIME) public @interface XSDMapping
Use this annotation on descendants of FeatureWrapper.

It can indicate how fields map to objects in a Feature but describing their name including name and namespace. At class-level you can set namespace and separator to serve as defaults for the fields within the class. At field-level you can specify the local name and the namespace and separator (the last two will be inherited from a class-level XSDMapping if one is present).

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The XML Local name that the field corresponds to.
    The XML namespace the field corresponds to.
    You can use path to set an XPATH-style expression to indicate where a particular field should be found in a complex feature.
    The separator used in the full XML name.
  • Element Details

    • local

      String local
      The XML Local name that the field corresponds to.
      Default:
      ""
    • namespace

      String namespace
      The XML namespace the field corresponds to. Define at class-level to set a default namespace for all contained fields.
      Default:
      ""
    • separator

      String separator
      The separator used in the full XML name. Define at class-level to set a default separator for all contained fields.
      Default:
      ""
    • path

      String path
      You can use path to set an XPATH-style expression to indicate where a particular field should be found in a complex feature.
      Default:
      ""