org.opengis.util
Interface LocalName
-
- All Superinterfaces:
- java.lang.Comparable, GenericName
@UML(identifier="LocalName", specification=ISO_19103) public interface LocalName extends GenericName
Identifier within a name space for a local object. This could be the target object of theGenericName, or a pointer to another name space (with a newGenericName) one step closer to the target of the identifier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description LocalNameasLocalName()Returns a view of this object as a local name.java.util.List<LocalName>getParsedNames()Returns the sequence of local name for this generic name.GenericNamegetScope()Returns the scope (name space) of this generic name.java.lang.StringtoString()Returns a locale-independant string representation of this local name.-
Methods inherited from interface org.opengis.util.GenericName
asScopedName, toInternationalString
-
-
-
-
Method Detail
-
getScope
@UML(identifier="scope", obligation=OPTIONAL, specification=ISO_19103) GenericName getScope()
Returns the scope (name space) of this generic name. This method returns the same value than the one returned by the scoped version of this name. In other words, the following relation shall be respected:ScopedName.asLocalName().getScope() ==ScopedName.getScope()(a locale name) (a scoped name) - Specified by:
getScopein interfaceGenericName
-
getParsedNames
@UML(identifier="parsedName", obligation=MANDATORY, specification=ISO_19103) java.util.List<LocalName> getParsedNames()
Returns the sequence of local name for this generic name. Since this object is itself a locale name, this method always returns a singleton containing onlythis.- Specified by:
getParsedNamesin interfaceGenericName
-
asLocalName
@Extension LocalName asLocalName()
Returns a view of this object as a local name. Some implementations may returnsthissince this object is already a local name.- Specified by:
asLocalNamein interfaceGenericName
-
toString
@UML(identifier="aName", obligation=MANDATORY, specification=ISO_19103) java.lang.String toString()
Returns a locale-independant string representation of this local name. This string do not includes the scope, which is consistent with the parsed names definition.- Specified by:
toStringin interfaceGenericName- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG