Class ESRIFileUtil.NullFactory

    • Constructor Detail

      • NullFactory

        NullFactory()
        Constructor.
    • Method Detail

      • createPolyline

        public Object createPolyline​(AttributeCollection provider,
                                     int shapeIndex,
                                     int[] parts,
                                     ESRIPoint[] points,
                                     boolean hasZ)
        Description copied from interface: ElementFactory
        Create a polyline.
        Specified by:
        createPolyline in interface ElementFactory<Object>
        Parameters:
        provider - is the attribute provider which must be used by the new map element.
        shapeIndex - is the index of the element in the shape file.
        parts - is the list of the parts, ie the index of the first point in the parts.
        points - is the list of the points.
        hasZ - indicates if the z-coordinates were set.
        Returns:
        an object representing the creating element, depending of your implementation. This value will be passed to ElementFactory.postEntryReadingStage(Object).
      • createPolygon

        public Object createPolygon​(AttributeCollection provider,
                                    int shapeIndex,
                                    int[] parts,
                                    ESRIPoint[] points,
                                    boolean hasZ)
        Description copied from interface: ElementFactory
        Create a polygon.
        Specified by:
        createPolygon in interface ElementFactory<Object>
        Parameters:
        provider - is the attribute provider which must be used by the new element.
        shapeIndex - is the index of the element in the shape file.
        parts - is the list of the parts, ie the index of the first point in the parts.
        points - is the list of the points.
        hasZ - indicates if the z-coordinates were set.
        Returns:
        an object representing the creating element, depending of your implementation. This value will be passed to ElementFactory.postEntryReadingStage(Object).
      • createMultiPoint

        public Object createMultiPoint​(AttributeCollection provider,
                                       int shapeIndex,
                                       ESRIPoint[] points,
                                       boolean hasZ)
        Description copied from interface: ElementFactory
        Create a multipoint.
        Specified by:
        createMultiPoint in interface ElementFactory<Object>
        Parameters:
        provider - is the attribute provider which must be used by the new element.
        shapeIndex - is the index of the element in the shape file.
        points - is the list of the points.
        hasZ - indicates if the z-coordinates were set.
        Returns:
        an object representing the creating element, depending of your implementation. This value will be passed to ElementFactory.postEntryReadingStage(Object).
      • createMultiPatch

        public Object createMultiPatch​(AttributeCollection provider,
                                       int shapeIndex,
                                       int[] parts,
                                       ShapeMultiPatchType[] partTypes,
                                       ESRIPoint[] points)
        Description copied from interface: ElementFactory
        Create a multipatch.

        A MultiPatch consists of a number of surface patches. Each surface patch describes a surface. The surface patches of a MultiPatch are referred to as its parts, and the type of part controls how the order of vertices of an MultiPatch part is interpreted.

        A single Triangle Strip, or Triangle Fan, represents a single surface patch.

        A sequence of parts that are rings can describe a polygonal surface patch with holes. The sequence typically consists of an Outer Ring, representing the outer boundary of the patch, followed by a number of Inner Rings representing holes. When the individual types of rings in a collection of rings representing a polygonal patch with holes are unknown, the sequence must start with First Ring, followed by a number of Rings. A sequence of Rings not preceded by an First Ring is treated as a sequence of Outer Rings without holes.

        Specified by:
        createMultiPatch in interface ElementFactory<Object>
        Parameters:
        provider - is the attribute provider which must be used by the new element.
        shapeIndex - is the index of the element in the shape file.
        parts - is the list of the parts, ie the index of the first point in the parts.
        partTypes - is the list of the types of the parts.
        points - is the list of the points.
        Returns:
        an object representing the creating multipatch, depending of your implementation. This value will be passed to ElementFactory.postShapeReadingStage(Object).