|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.util.GenericName
org.geotools.util.LocalName
Identifier within a name space for a local object. This could be the target object of the
GenericName, or a pointer to another name space (with a new GenericName)
one step closer to the target of the identifier.
NameFactory,
Serialized Form| Field Summary |
| Fields inherited from class org.geotools.util.GenericName |
DEFAULT_SEPARATOR |
| Constructor Summary | |
LocalName(java.lang.CharSequence name)
Constructs a local name from the specified string with no scope. |
|
| Method Summary | |
org.opengis.util.LocalName |
asLocalName()
Returns a view of this object as a local name. |
org.opengis.util.ScopedName |
asScopedName()
Returns a view of this object as a scoped name, or if this name has no scope. |
int |
compareTo(java.lang.Object object)
Compares this name with the specified object for order. |
boolean |
equals(java.lang.Object object)
Compares this local name with the specified object for equality. |
java.util.List |
getParsedNames()
Returns the sequence of local name for this generic name. |
org.opengis.util.GenericName |
getScope()
Returns the scope (name space) of this generic name. |
int |
hashCode()
Returns a hash code value for this local name. |
org.opengis.util.InternationalString |
toInternationalString()
Returns a local-dependent string representation of this locale name. |
java.lang.String |
toString()
Returns a locale-independant string representation of this local name. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LocalName(java.lang.CharSequence name)
InternationalString, then the
toString(null)
method will be used in order to fetch an unlocalized name. Otherwise, the
toString() method will be used.
name - The local name (never ).| Method Detail |
public org.opengis.util.GenericName getScope()
ScopedName.asLocalName()ScopedName(a locale name) (a scoped name)
getScope in interface org.opengis.util.LocalNamegetScope in class GenericNamepublic java.util.List getParsedNames()
getParsedNames in interface org.opengis.util.LocalNamegetParsedNames in class GenericNamepublic org.opengis.util.ScopedName asScopedName()
asScopedName in interface org.opengis.util.GenericNamepublic org.opengis.util.LocalName asLocalName()
asLocalName in interface org.opengis.util.LocalNamepublic java.lang.String toString()
toString in interface org.opengis.util.LocalNametoString in class GenericNamepublic org.opengis.util.InternationalString toInternationalString()
toInternationalString in interface org.opengis.util.GenericNametoInternationalString in class GenericNamepublic int compareTo(java.lang.Object object)
compareTo in interface java.lang.ComparablecompareTo in class GenericNamepublic boolean equals(java.lang.Object object)
equals in class GenericNamepublic int hashCode()
hashCode in class GenericName
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||