|
GeoAPI 2.0 Build 2005-06-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UML(identifier="GenericName",
specification=ISO_19103)
public interface GenericNameBase interface for generic scoped and local name structure for type and attribute name in the context of name spaces.
The natural ordering for generic names is implementation dependent. A recommended practice is to compare lexicographically each element in the list of parsed names. Specific attributes of the name, such as how it treats case, may affect the ordering. In general, two names of different classes may not be compared.
Name| Method Summary | |
|---|---|
LocalName |
asLocalName()
Returns a view of this object as a local name. |
ScopedName |
asScopedName()
Returns a view of this object as a scoped name, or null if this name has no scope. |
List<LocalName> |
getParsedNames()
Returns the sequence of local names making this generic name. |
GenericName |
getScope()
Returns the scope (name space) of this generic name. |
InternationalString |
toInternationalString()
Returns a local-dependent string representation of this generic name. |
String |
toString()
Returns a string representation of this generic name. |
| Methods inherited from interface Comparable |
|---|
compareTo |
| Method Detail |
|---|
@UML(identifier="scope",
obligation=OPTIONAL,
specification=ISO_19103)
GenericName getScope()
null.
@UML(identifier="parsedName",
obligation=MANDATORY,
specification=ISO_19103)
List<LocalName> getParsedNames()
ScopedName asScopedName()
null if this name has no scope.
LocalName asLocalName()
String toString()
getParsedNames()
separated by an arbitrary character (usually : or /).
This rule implies that the toString() method for a
scoped name will contains the scope, while the
toString() method for the local version of
the same name will not contains the scope.
toString in class ObjectInternationalString toInternationalString()
toString() except that each element has
been localized in the specified locale. If no international string is available, then this method should
returns an implementation mapping to toString() for all locales.
|
GeoAPI 2.0 Build 2005-06-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
Symbols, terms and definitions | Copyright OpenGIS® Consortium |