1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.ws.commons.schema;
18
19 import javax.xml.namespace.QName;
20
21
22
23
24
25
26
27
28 public class XmlSchemaSimpleContentRestriction extends XmlSchemaContent {
29
30
31
32
33 public XmlSchemaSimpleContentRestriction() {
34 facets = new XmlSchemaObjectCollection();
35 attributes = new XmlSchemaObjectCollection();
36 }
37
38
39 XmlSchemaAnyAttribute anyAttribute;
40
41 public void setAnyAttribute(XmlSchemaAnyAttribute anyAttribute) {
42 this.anyAttribute = anyAttribute;
43 }
44
45 public XmlSchemaAnyAttribute getAnyAttribute() {
46 return this.anyAttribute;
47 }
48
49
50 XmlSchemaObjectCollection attributes;
51
52 public XmlSchemaObjectCollection getAttributes() {
53 return this.attributes;
54 }
55
56
57 XmlSchemaSimpleType baseType;
58
59 public void setBaseType(XmlSchemaSimpleType baseType) {
60 this.baseType = baseType;
61 }
62
63 public XmlSchemaSimpleType getBaseType() {
64 return this.baseType;
65 }
66
67
68 QName baseTypeName;
69
70 public void setBaseTypeName(QName baseTypeName) {
71 this.baseTypeName = baseTypeName;
72 }
73
74 public QName getBaseTypeName() {
75 return this.baseTypeName;
76 }
77
78
79 XmlSchemaObjectCollection facets;
80
81 public XmlSchemaObjectCollection getFacets() {
82 return this.facets;
83 }
84
85 }
86