01: /**
02: * This class was generated from a set of XML constraints
03: * by the Enhydra Zeus XML Data Binding Framework. All
04: * source code in this file is constructed specifically
05: * to work with other Zeus-generated classes. If you
06: * modify this file by hand, you run the risk of breaking
07: * this interoperation, as well as introducing errors in
08: * source code compilation.
09: *
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: */package org.enhydra.convert.xml;
18:
19: // Global Interface Import Statements
20: import java.io.File;
21: import java.io.IOException;
22: import java.io.OutputStream;
23: import java.io.Writer;
24:
25: // Local Interface Import Statements
26: import java.util.List;
27: import java.io.Serializable;
28:
29: public interface SecurityConstraint extends Serializable {
30:
31: public static final String ZEUS_XML_NAME = "security-constraint";
32: public static final String[] ZEUS_ATTRIBUTES = { "id" };
33: public static final String[] ZEUS_ELEMENTS = { "display-name",
34: "web-resource-collection", "auth-constraint",
35: "user-data-constraint" };
36:
37: public DisplayName getDisplayName();
38:
39: public void setDisplayName(DisplayName displayName);
40:
41: public List getWebResourceCollectionList();
42:
43: public void setWebResourceCollectionList(
44: List webResourceCollectionList);
45:
46: public void addWebResourceCollection(
47: WebResourceCollection webResourceCollection);
48:
49: public void removeWebResourceCollection(
50: WebResourceCollection webResourceCollection);
51:
52: public AuthConstraint getAuthConstraint();
53:
54: public void setAuthConstraint(AuthConstraint authConstraint);
55:
56: public UserDataConstraint getUserDataConstraint();
57:
58: public void setUserDataConstraint(
59: UserDataConstraint userDataConstraint);
60:
61: public String getId();
62:
63: public void setId(String id);
64:
65: public void marshal(File file) throws IOException;
66:
67: public void marshal(OutputStream outputStream) throws IOException;
68:
69: public void marshal(Writer writer) throws IOException;
70:
71: public void setDocType(String name, String publicID, String systemID);
72:
73: public void setOutputEncoding(String outputEncoding);
74:
75: }
|