Package org.apache.sis.internal.jaxb.gco
Class NameValue
java.lang.Object
org.apache.sis.internal.jaxb.gco.NameValue
- Direct Known Subclasses:
NameValue.Local
,NameValue.Scoped
A generalized type to be used for a term, keyword or name.
The following schema fragment specifies the expected content contained within this class.
NameValue
sĀ are used for:
org.opengis.util.GenericName
LocalName
ScopedName
NameValue
s are not used for MemberName
and TypeName
.
The two later use a quite different XML structure, with an aName
element instead of a XML value.- Since:
- 0.5
- Version:
- 0.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
TheNameValue
as agco:LocalName
.static final class
TheNameValue
as agco:ScopedName
. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
Constructor Details
-
NameValue
public NameValue()Invoked by reflection by JAXB on unmarshalling.
-
-
Method Details
-
setName
public final void setName(org.opengis.util.GenericName name) Sets the value from the given name.- Parameters:
name
- the name to marshal.
-
getName
public org.opengis.util.GenericName getName()Returns the name from the current value.- Returns:
- the unmarshalled name.
-