|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.util.NameFactory
A factory for GenericName objects.
| Method Summary | |
static org.opengis.util.GenericName |
create(java.lang.CharSequence[] names)
Constructs a generic name from an array of local names and the default separator character. |
static org.opengis.util.GenericName |
create(java.lang.CharSequence[] names,
char separator)
Constructs a generic name from an array of local names and the specified separator character. |
static org.opengis.util.GenericName |
create(java.lang.String name)
Constructs a generic name from a fully qualified name and the default separator character. |
static org.opengis.util.GenericName |
create(java.lang.String name,
char separator)
Constructs a generic name from a fully qualified name and the specified separator character. |
static org.opengis.util.GenericName[] |
toArray(java.lang.Object value)
Returns the specified name in an array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static org.opengis.util.GenericName create(java.lang.String name)
name - The fully qualified name.
public static org.opengis.util.GenericName create(java.lang.String name,
char separator)
name - The fully qualified name.separator - The separator character.public static org.opengis.util.GenericName create(java.lang.CharSequence[] names)
InternationalString, then the
toString(null)
method will be used in order to fetch an unlocalized name. Otherwise, the
toString() method will be used.
names - The local names as an array of strings or international strings.
This array must contains at least one element.
public static org.opengis.util.GenericName create(java.lang.CharSequence[] names,
char separator)
InternationalString, then the
toString(null)
method will be used in order to fetch an unlocalized name. Otherwise, the
toString() method will be used.
names - The local names as an array of strings.
This array must contains at least one element.separator - The separator character to use.
public static org.opengis.util.GenericName[] toArray(java.lang.Object value)
throws java.lang.ClassCastException
String,
, GenericName or . This method is used in
AbstractIdentifiedObject constructors.
value - The object to cast into an array of generic names.
java.lang.ClassCastException - if can't be cast.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||