KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > designer > model > DesignAttribute


1 /*
2  * (c) Rob Gordon 2005
3  */

4 package org.oddjob.designer.model;
5
6 /**
7  * A DesignAttribute can provide attribute information in
8  * a DesignDefintion. Simple attributes will only ever
9  * represent attribute information - these provide a null detail
10  * in the inherited DesignElement detail method. Those that
11  * do not provide a null detail can also provide the definition
12  * as inline elements instead of an attribute.
13  *
14  * @author Rob Gordon.
15  */

16 public interface DesignAttribute extends DesignElement {
17
18     /**
19      * Get the attribute text.
20      *
21      * @return The attribute text. Can be null.
22      */

23     public String JavaDoc attribute();
24     
25     /**
26      * Set the attribute text.
27      *
28      * @param attribute The attribute. May be null.
29      */

30     public void attribute(String JavaDoc attribute);
31     
32 }
33
Popular Tags