Revision 477,
592 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[477] | 1 | package schedframe; |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * Interface of a container for descriptions included in external document, e.g. XML document |
---|
| 5 | * |
---|
| 6 | * @author Ariel |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | public interface DescriptionContainer<T> { |
---|
| 11 | |
---|
| 12 | /** |
---|
| 13 | * @return an object of a class that represents the description |
---|
| 14 | */ |
---|
| 15 | public T getDescription(); |
---|
| 16 | |
---|
| 17 | /** |
---|
| 18 | * Provides the description as an original document |
---|
| 19 | * @return string representation of the description |
---|
| 20 | */ |
---|
| 21 | public String getDocument() throws Exception; |
---|
| 22 | |
---|
| 23 | /** |
---|
| 24 | * Calls {@link #getDocument} method |
---|
| 25 | * @return string representation of the description |
---|
| 26 | */ |
---|
| 27 | public String toString(); |
---|
| 28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.