Class FeatureCollectionEncoderDelegate

    • Field Detail

      • encodeGeometryIds

        protected boolean encodeGeometryIds
    • Method Detail

      • encode

        public void encode​(ContentHandler handler)
                    throws Exception
        Description copied from interface: EncoderDelegate
        Encodes content to an output stream.
        Specified by:
        encode in interface EncoderDelegate
        Throws:
        Exception
      • getPropertyAttributes

        protected Attributes getPropertyAttributes​(QualifiedName name,
                                                   FeatureType featureType,
                                                   AttributeDescriptor attribute,
                                                   Object value)
        Allows subclasses to generate a list of attributes for the property being encoded. The default implementation just returns null
        Parameters:
        attribute - The attribute being encoded
        value - The attribute value
        Returns:
        A Attributes, or null if no attributes are desired