Package org.apache.sis.internal.feature
Class FeatureUtilities
java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.feature.FeatureUtilities
Non-public utility methods for Apache SIS internal usage.
- Since:
- 0.8
- Version:
- 1.1
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Do not allow instantiation of this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
getNames
(Collection<? extends AbstractIdentifiedType> properties) Gets the name of all given properties.static org.opengis.parameter.ParameterDescriptorGroup
parameters
(String name, org.opengis.parameter.ParameterDescriptor<?>... parameters) Creates a parameter descriptor in the Apache SIS namespace.
-
Constructor Details
-
FeatureUtilities
private FeatureUtilities()Do not allow instantiation of this class.
-
-
Method Details
-
parameters
public static org.opengis.parameter.ParameterDescriptorGroup parameters(String name, org.opengis.parameter.ParameterDescriptor<?>... parameters) Creates a parameter descriptor in the Apache SIS namespace. This convenience method shall not be in public API, because users should define operations in their own namespace.- Parameters:
name
- the parameter group name, typically the same as operation name.parameters
- the parameters, or an empty array if none.- Returns:
- description of the parameters group.
-
getNames
Gets the name of all given properties. If any property is null or has a null name, then the corresponding entry in the returned array will be null.- Parameters:
properties
- the properties for which to get the names, ornull
.- Returns:
- the name of all given properties, or
null
if the given list was null.
-