Package org.geotools.data.complex.config
Class AppSchemaDataAccessConfigurator.ComplexNameImpl
-
- All Implemented Interfaces:
Serializable,Comparable<NameImpl>,Name
- Enclosing class:
- AppSchemaDataAccessConfigurator
public static class AppSchemaDataAccessConfigurator.ComplexNameImpl extends NameImpl
Name implementation capable of store more information about the attribute/element represented.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComplexNameImpl(String namespace, String local, boolean isNestedElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocalPart()Retrieve the "local" name.StringgetNamespaceURI()Returns the URI of the namespace for this name.booleanisNestedElement()Returns true if represented Name is a nested element instead an attribute.
-
-
-
Method Detail
-
getLocalPart
public String getLocalPart()
Description copied from interface:NameRetrieve the "local" name.This mechanism captures the following ISO 19103 concerns:
- GenericName.depth(): this concept is not interesting, we assume a namespace would be able to navigate through contained namespace on its own based on this local part.
- GenericName.asLocalName()
- GenericName.name()
- Specified by:
getLocalPartin interfaceName- Overrides:
getLocalPartin classNameImpl- Returns:
- local name (can be used in namespace lookup)
-
getNamespaceURI
public String getNamespaceURI()
Description copied from interface:NameReturns the URI of the namespace for this name.In ISO 19103 this is known as scope and containes a backpointer to the containing namespace. This solution is too heavy for our purposes, and we expect applications to provide their own lookup mechanism through which they can use this URI. The namespace URI does serve to make this name unique and is checked as part of the equals operation.
- Specified by:
getNamespaceURIin interfaceName- Overrides:
getNamespaceURIin classNameImpl
-
isNestedElement
public boolean isNestedElement()
Returns true if represented Name is a nested element instead an attribute.
-
-