All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.plugins.htmlviewer.html.Service Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.plugins.htmlviewer.html;

import java.io.PrintWriter;

import org.nakedobjects.plugins.htmlviewer.component.Component;
import org.nakedobjects.plugins.htmlviewer.component.ImageLookup;


public class Service implements Component {

    private final String id;
    private final String name;
    private final String iconName;

    public Service(final String id, final String name, final String iconName) {
        this.id = id;
        this.name = name;
        this.iconName = iconName;
    }

    public void write(final PrintWriter writer) {
        writer.print("
"); writer.print("\"service\""); writer.print(name); writer.print(""); writer.println("
"); } } // Copyright (c) Naked Objects Group Ltd.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy