Annotation Type 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
      String local
      The XML Local name that the field corresponds to.
      String namespace
      The XML namespace the field corresponds to.
      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.
      String separator
      The separator used in the full XML name.
    • Element Detail

      • 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:
        ""