Documentation of 'org.opengis.util.GenericName' Java class
GenericName
org.opengis.util

Interface GenericName

  • All Superinterfaces:
    java.lang.Comparable
    All Known Subinterfaces:
    LocalName, ScopedName


    @UML(identifier="GenericName",
         specification=ISO_19103)
    public interface GenericName
    extends java.lang.Comparable
    Base 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.

    Since:
    GeoAPI 1.0
    See Also:
    Name
    • Method Detail

      • asScopedName

        @Extension
        ScopedName asScopedName()
        Returns a view of this object as a scoped name, or null if this name has no scope.
      • asLocalName

        @Extension
        LocalName asLocalName()
        Returns a view of this object as a local name. The local name returned by this method will have the same scope than this generic name.
      • toString

        @Extension
        java.lang.String toString()
        Returns a string representation of this generic name. This string representation is local-independant. It contains all elements listed by 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.
        Overrides:
        toString in class java.lang.Object
      • toInternationalString

        @Extension
        InternationalString toInternationalString()
        Returns a local-dependent string representation of this generic name. This string is similar to the one returned by 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.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.