@Override
    public void write(JmeExporter ex) throws IOException {
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(name, "name", "");
        oc.write(type, "type", "");
        oc.write(prefix, "prefix", "");
        oc.write(nameSpace, "nameSpace", "");
        oc.write(condition, "condition", null);
        oc.write(shaderOutput, "shaderOutput", false);
        oc.write(multiplicity, "multiplicity", null);
        oc.write(defaultValue, "defaultValue", null);
    }
jme serialization (not used)

@param ex the exporter
@throws IOException from the exporter
jme3-core/src/main/java/com/jme3/shader/ShaderNodeVariable.java