capsule.write(m_location.getProtocol(), "protocol", null); capsule.write(m_location.getHost(), "host", null); capsule.write(m_location.getFile(), "file", null);
if ( m_location != null ) { capsule.write(m_location.getProtocol(), "protocol", null); capsule.write(m_location.getHost(), "host", null); capsule.write(m_location.getFile(), "file", null); }
    public void write(JMEExporter e) throws IOException {        OutputCapsule capsule = e.getCapsule(this);        capsule.write(m_location.getProtocol(), "protocol", null);        capsule.write(m_location.getHost(), "host", null);        capsule.write(m_location.getFile(), "file", null);        capsule.write(m_minFilter, "minFilter", 0);        capsule.write(m_maxFilter, "maxFilter", 0);        capsule.write(m_anisoLevel, "anisoLevel", 0);        capsule.write(m_flipped, "flipped", false);        capsule.write(imageType, "imageType", Image.GUESS_FORMAT);        capsule.write(fileType, "fileType", null);    }