@Target(value={FIELD,TYPE}) @Retention(value=RUNTIME) public @interface XSDMapping
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).
Modifier and Type | Optional Element and 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.
|
public abstract String local
public abstract String namespace
public abstract String separator
public abstract String path
Copyright © 1996–2019 Geotools. All rights reserved.