|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.util.GenericName
Base class for generic scoped and local name structure for type and attribute name in the context of name spaces.
Note: this class has a natural ordering that is inconsistent with equals. The natural ordering may be case-insensitive and ignore the character separator between name elements.
NameFactory
,
Serialized FormField Summary | |
static char |
DEFAULT_SEPARATOR
The default separator character. |
Constructor Summary | |
protected |
GenericName()
Creates a new instance of generic name. |
Method Summary | |
int |
compareTo(java.lang.Object object)
Compares this name with the specified object for order. |
boolean |
equals(java.lang.Object object)
Compares this generic name with the specified object for equality. |
abstract java.util.List |
getParsedNames()
Returns the sequence of local names making this generic name. |
abstract org.opengis.util.GenericName |
getScope()
Returns the scope (name space) of this generic name. |
int |
hashCode()
Returns a hash code value for this generic name. |
org.opengis.util.InternationalString |
toInternationalString()
Returns a local-dependent string representation of this generic name. |
java.lang.String |
toString()
Returns a string representation of this generic name. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.util.GenericName |
asLocalName, asScopedName |
Field Detail |
public static final char DEFAULT_SEPARATOR
Constructor Detail |
protected GenericName()
Method Detail |
public abstract org.opengis.util.GenericName getScope()
getScope
in interface org.opengis.util.GenericName
public abstract java.util.List getParsedNames()
getParsedNames
in interface org.opengis.util.GenericName
public java.lang.String toString()
getParsedNames()
separated by an arbitrary character (usually or ).
This rule implies that the method for a
scoped name will contains the scope, while the
method for the local version of
the same name will not contains the scope.
toString
in interface org.opengis.util.GenericName
public org.opengis.util.InternationalString 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.
toInternationalString
in interface org.opengis.util.GenericName
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object object)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |