geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java
public void setFeatureStyle(String featureTable, long featureId,
                                GeometryType geometryType, FeatureStyle featureStyle) {
        if (featureStyle != null) {
            setStyle(featureTable, featureId, geometryType,
                    featureStyle.getStyle());
            setIcon(featureTable, featureId, geometryType,
                    featureStyle.getIcon());
        } else {
            deleteStyle(featureTable, featureId, geometryType);
            deleteIcon(featureTable, featureId, geometryType);
        }
    }
public void setFeatureStyle(String featureTable, long featureId,
                                GeometryType geometryType, FeatureStyle featureStyle) {
        if (featureStyle != null) {
            setStyle(featureTable, featureId, geometryType,
                    featureStyle.getStyle());
            setIcon(featureTable, featureId, geometryType,
                    featureStyle.getIcon());
        } else {
            deleteStyle(featureTable, featureId, geometryType);
            deleteIcon(featureTable, featureId, geometryType);
        }
    }
public void setFeatureStyle ( String featureTable , long featureId , GeometryType geometryType , FeatureStyle featureStyle ) { if ( featureStyle != null ) { setStyle ( featureTable , featureId , geometryType , featureStyle . getStyle ( ) ) ; setIcon ( featureTable , featureId , geometryType , featureStyle . getIcon ( ) ) ; } else { deleteStyle ( featureTable , featureId , geometryType ) ; deleteIcon ( featureTable , featureId , geometryType ) ; } }
Set the feature style (style and icon) of the feature

@param featureTable feature table
@param featureId    feature id
@param geometryType geometry type
@param featureStyle feature style
Set the feature style ( style and icon ) of the feature