|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.util.GenericName org.geotools.util.ScopedName
Fully qualified identifier for an object.
A contains a LocalName
as
head and a GenericName,
which may be a LocalName
or an other ScopedName
,
as tail.
NameFactory
,
Serialized FormField Summary |
Fields inherited from class org.geotools.util.GenericName |
DEFAULT_SEPARATOR |
Constructor Summary | |
ScopedName(org.opengis.util.GenericName scope,
char separator,
java.lang.CharSequence name)
Constructs a scoped name from the specified international string. |
|
ScopedName(org.opengis.util.GenericName scope,
java.lang.CharSequence name)
Constructs a scoped name from the specified international string. |
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. |
boolean |
equals(java.lang.Object object)
Compares this scoped 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 of this name. |
char |
getSeparator()
Returns the separator character. |
int |
hashCode()
Returns a hash code value for this generic name. |
Methods inherited from class org.geotools.util.GenericName |
compareTo, toInternationalString, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.util.ScopedName |
toString |
Methods inherited from interface org.opengis.util.GenericName |
toInternationalString |
Methods inherited from interface java.lang.Comparable |
compareTo |
Constructor Detail |
public ScopedName(org.opengis.util.GenericName scope, 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.
scope
- The scope (or "tail") of the variable.name
- The head (never ).public ScopedName(org.opengis.util.GenericName scope, char separator, 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.
scope
- The scope (or "tail") of the variable.separator
- The separator character (usually ':'
or '/'
).name
- The head (never ).Method Detail |
public org.opengis.util.GenericName getScope()
getScope
in interface org.opengis.util.ScopedName
getScope
in class GenericName
public char getSeparator()
public org.opengis.util.ScopedName asScopedName()
asScopedName
in interface org.opengis.util.GenericName
public org.opengis.util.LocalName asLocalName()
LocalName.toString()
will differs.
asLocalName
in interface org.opengis.util.ScopedName
public java.util.List getParsedNames()
getParsedNames
in interface org.opengis.util.GenericName
getParsedNames
in class GenericName
public boolean equals(java.lang.Object object)
equals
in class GenericName
public int hashCode()
hashCode
in class GenericName
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |