private String getWrapMode(Texture texVal, Texture.WrapAxis axis) {
        WrapMode mode = WrapMode.EdgeClamp;
        try {
            mode = texVal.getWrap(axis);
        } catch (IllegalArgumentException ex) {
            // this axis doesn't exist on the texture
            return "";
        }
        if (mode != WrapMode.EdgeClamp) {
            return "Wrap" + mode.name() + "_" + axis.name() + " ";
        }
        return "";
    }
Returns the material parameter value as it would appear in a J3M
file. E.g.
<pre>
MaterialParameters {
    ABC : 1 2 3 4
}
</pre>
Assuming "ABC" is a Vector4 parameter, then the value
"1 2 3 4" would be returned by this method.

@return material parameter value as it would appear in a J3M file.
jme3-core/src/main/java/com/jme3/material/MatParam.java