Enum Feature.FeatureType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Feature.FeatureType>
    Enclosing interface:
    Feature

    public static enum Feature.FeatureType
    extends java.lang.Enum<Feature.FeatureType>
    A list of valid feature types.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      COLLECTION
      For features that consist of one or more points or lines.
      LINE
      For features that consist of a single line (link or partial link).
      MULTI_LINE
      For features that consist of one or more lines.
      MULTI_POINT
      For features that consist of one or more points.
      MULTI_POINT_ON_LINK
      For features that consist of one or more points on link.
      MULTI_POINT_ON_NODE
      For features that consist of one or more points on node.
      POINT
      For features that consist of a single point.
      POINT_ON_LINK
      For features that consist of a single point on link.
      POINT_ON_NODE
      For features that consist of a single point on node.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Feature.FeatureType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Feature.FeatureType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • POINT_ON_NODE

        public static final Feature.FeatureType POINT_ON_NODE
        For features that consist of a single point on node.
      • POINT_ON_LINK

        public static final Feature.FeatureType POINT_ON_LINK
        For features that consist of a single point on link.
      • POINT

        public static final Feature.FeatureType POINT
        For features that consist of a single point.
      • LINE

        public static final Feature.FeatureType LINE
        For features that consist of a single line (link or partial link).
      • MULTI_POINT_ON_NODE

        public static final Feature.FeatureType MULTI_POINT_ON_NODE
        For features that consist of one or more points on node.
      • MULTI_POINT_ON_LINK

        public static final Feature.FeatureType MULTI_POINT_ON_LINK
        For features that consist of one or more points on link.
      • MULTI_POINT

        public static final Feature.FeatureType MULTI_POINT
        For features that consist of one or more points.
      • MULTI_LINE

        public static final Feature.FeatureType MULTI_LINE
        For features that consist of one or more lines.
      • COLLECTION

        public static final Feature.FeatureType COLLECTION
        For features that consist of one or more points or lines.
    • Method Detail

      • values

        public static Feature.FeatureType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Feature.FeatureType c : Feature.FeatureType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Feature.FeatureType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null