KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > convert > xml > WebResourceCollection


1 /**
2  * This class was generated from a set of XML constraints
3  * by the Enhydra Zeus XML Data Binding Framework. All
4  * source code in this file is constructed specifically
5  * to work with other Zeus-generated classes. If you
6  * modify this file by hand, you run the risk of breaking
7  * this interoperation, as well as introducing errors in
8  * source code compilation.
9  *
10  * * * * * MODIFY THIS FILE AT YOUR OWN RISK * * * * *
11  *
12  * To find out more about the Enhydra Zeus framework, you
13  * can point your browser at <http://zeus.enhydra.org>
14  * where you can download releases, join and discuss Zeus
15  * on user and developer mailing lists, and access source
16  * code. Please report any bugs through that website.
17  */

18 package org.enhydra.convert.xml;
19
20 // Global Interface Import Statements
21
import java.io.File JavaDoc;
22 import java.io.IOException JavaDoc;
23 import java.io.OutputStream JavaDoc;
24 import java.io.Writer JavaDoc;
25
26 // Local Interface Import Statements
27
import java.util.List JavaDoc;
28 import java.io.Serializable JavaDoc;
29
30 public interface WebResourceCollection extends Serializable JavaDoc {
31
32     public static final String JavaDoc ZEUS_XML_NAME = "web-resource-collection";
33     public static final String JavaDoc[] ZEUS_ATTRIBUTES = {"id"};
34     public static final String JavaDoc[] ZEUS_ELEMENTS = {"web-resource-name", "description", "url-pattern", "http-method"};
35
36     public WebResourceName getWebResourceName();
37
38     public void setWebResourceName(WebResourceName webResourceName);
39
40     public Description getDescription();
41
42     public void setDescription(Description description);
43
44     public List JavaDoc getUrlPatternList();
45
46     public void setUrlPatternList(List JavaDoc urlPatternList);
47
48     public void addUrlPattern(UrlPattern urlPattern);
49
50     public void removeUrlPattern(UrlPattern urlPattern);
51
52     public List JavaDoc getHttpMethodList();
53
54     public void setHttpMethodList(List JavaDoc httpMethodList);
55
56     public void addHttpMethod(HttpMethod httpMethod);
57
58     public void removeHttpMethod(HttpMethod httpMethod);
59
60     public String JavaDoc getId();
61
62     public void setId(String JavaDoc id);
63
64     public void marshal(File JavaDoc file) throws IOException JavaDoc;
65
66     public void marshal(OutputStream JavaDoc outputStream) throws IOException JavaDoc;
67
68     public void marshal(Writer JavaDoc writer) throws IOException JavaDoc;
69
70     public void setDocType(String JavaDoc name, String JavaDoc publicID, String JavaDoc systemID);
71
72     public void setOutputEncoding(String JavaDoc outputEncoding);
73
74 }
75
Popular Tags