01: package org.objectweb.celtix.tools.extensions.xmlformat;
02:
03: import java.io.Serializable;
04:
05: import javax.wsdl.extensions.ExtensibilityElement;
06: import javax.xml.namespace.QName;
07:
08: import org.w3c.dom.Element;
09:
10: public class XMLFormat implements ExtensibilityElement, Serializable {
11:
12: private boolean required;
13: private QName elementType;
14: private Element element;
15: private String documentBaseURI;
16:
17: private QName rootNode;
18:
19: public void setRequired(Boolean r) {
20: this .required = r;
21: }
22:
23: public Boolean getRequired() {
24: return required;
25: }
26:
27: public void setElementType(QName elemType) {
28: this .elementType = elemType;
29: }
30:
31: public QName getElementType() {
32: return elementType;
33: }
34:
35: public QName getRootNode() {
36: return rootNode;
37: }
38:
39: public void setRootNode(QName pRootNode) {
40: this .rootNode = pRootNode;
41: }
42:
43: public String getDocumentBaseURI() {
44: return documentBaseURI;
45: }
46:
47: public void setDocumentBaseURI(String pDocumentBaseURI) {
48: this .documentBaseURI = pDocumentBaseURI;
49: }
50:
51: public Element getElement() {
52: return element;
53: }
54:
55: public void setElement(Element pElement) {
56: this.element = pElement;
57: }
58:
59: }
|