1
2
3
4
5
6
7
8
9 package net.sf.jour.config.impl;
10
11 public class PointcutTypeImpl implements net.sf.jour.config.PointcutType, com.sun.xml.bind.JAXBObject, net.sf.jour.config.impl.runtime.UnmarshallableObject, net.sf.jour.config.impl.runtime.XMLSerializable, net.sf.jour.config.impl.runtime.ValidatableObject
12 {
13
14 protected java.lang.String _Expr;
15 public final static java.lang.Class version = (net.sf.jour.config.impl.JAXBVersion.class);
16 private static com.sun.msv.grammar.Grammar schemaFragment;
17
18 private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
19 return (net.sf.jour.config.PointcutType.class);
20 }
21
22 public java.lang.String getExpr() {
23 return _Expr;
24 }
25
26 public void setExpr(java.lang.String value) {
27 _Expr = value;
28 }
29
30 public net.sf.jour.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(net.sf.jour.config.impl.runtime.UnmarshallingContext context) {
31 return new net.sf.jour.config.impl.PointcutTypeImpl.Unmarshaller(context);
32 }
33
34 public void serializeBody(net.sf.jour.config.impl.runtime.XMLSerializer context)
35 throws org.xml.sax.SAXException
36 {
37 }
38
39 public void serializeAttributes(net.sf.jour.config.impl.runtime.XMLSerializer context)
40 throws org.xml.sax.SAXException
41 {
42 context.startAttribute("", "expr");
43 try {
44 context.text(((java.lang.String) _Expr), "Expr");
45 } catch (java.lang.Exception e) {
46 net.sf.jour.config.impl.runtime.Util.handlePrintConversionException(this, e, context);
47 }
48 context.endAttribute();
49 }
50
51 public void serializeURIs(net.sf.jour.config.impl.runtime.XMLSerializer context)
52 throws org.xml.sax.SAXException
53 {
54 }
55
56 public java.lang.Class getPrimaryInterface() {
57 return (net.sf.jour.config.PointcutType.class);
58 }
59
60 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
61 if (schemaFragment == null) {
62 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
63 "\u00ac\u00ed\u0000\u0005sr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expt\u0000 "
64 +"Lcom/sun/msv/grammar/Expression;L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/"
65 +"grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O"
66 +"\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedEx"
67 +"pq\u0000~\u0000\u0001xpppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001f"
68 +"Lorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0001L\u0000\u0004namet\u0000\u001dLcom/"
69 +"sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000#com.sun.msv.datatype.xsd"
70 +".StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.dataty"
71 +"pe.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype."
72 +"xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDa"
73 +"tatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\b"
74 +"typeNameq\u0000~\u0000\u000eL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/White"
75 +"SpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006strin"
76 +"gsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000"
77 +"\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000"
78 +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpress"
79 +"ion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d"
80 +"\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u000eL\u0000\fnamespaceURIq\u0000~\u0000\u000expq\u0000~\u0000\u0012q\u0000~\u0000\u0011sr\u0000#com"
81 +".sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u000e"
82 +"L\u0000\fnamespaceURIq\u0000~\u0000\u000exr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
83 +"\u0001\u0002\u0000\u0000xpt\u0000\u0004exprt\u0000\u0000sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000"
84 +"\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Close"
85 +"dHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0"
86 +"N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/gra"
87 +"mmar/ExpressionPool;xp\u0000\u0000\u0000\u0000\u0001px"));
88 }
89 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
90 }
91
92 public class Unmarshaller
93 extends net.sf.jour.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl
94 {
95
96
97 public Unmarshaller(net.sf.jour.config.impl.runtime.UnmarshallingContext context) {
98 super(context, "----");
99 }
100
101 protected Unmarshaller(net.sf.jour.config.impl.runtime.UnmarshallingContext context, int startState) {
102 this(context);
103 state = startState;
104 }
105
106 public java.lang.Object owner() {
107 return net.sf.jour.config.impl.PointcutTypeImpl.this;
108 }
109
110 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
111 throws org.xml.sax.SAXException
112 {
113 int attIdx;
114 outer:
115 while (true) {
116 switch (state) {
117 case 0 :
118 attIdx = context.getAttribute("", "expr");
119 if (attIdx >= 0) {
120 final java.lang.String v = context.eatAttribute(attIdx);
121 eatText1(v);
122 state = 3;
123 continue outer;
124 }
125 break;
126 case 3 :
127 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
128 return ;
129 }
130 super.enterElement(___uri, ___local, ___qname, __atts);
131 break;
132 }
133 }
134
135 private void eatText1(final java.lang.String value)
136 throws org.xml.sax.SAXException
137 {
138 try {
139 _Expr = value;
140 } catch (java.lang.Exception e) {
141 handleParseConversionException(e);
142 }
143 }
144
145 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
146 throws org.xml.sax.SAXException
147 {
148 int attIdx;
149 outer:
150 while (true) {
151 switch (state) {
152 case 0 :
153 attIdx = context.getAttribute("", "expr");
154 if (attIdx >= 0) {
155 final java.lang.String v = context.eatAttribute(attIdx);
156 eatText1(v);
157 state = 3;
158 continue outer;
159 }
160 break;
161 case 3 :
162 revertToParentFromLeaveElement(___uri, ___local, ___qname);
163 return ;
164 }
165 super.leaveElement(___uri, ___local, ___qname);
166 break;
167 }
168 }
169
170 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
171 throws org.xml.sax.SAXException
172 {
173 int attIdx;
174 outer:
175 while (true) {
176 switch (state) {
177 case 0 :
178 if (("expr" == ___local)&&("" == ___uri)) {
179 state = 1;
180 return ;
181 }
182 break;
183 case 3 :
184 revertToParentFromEnterAttribute(___uri, ___local, ___qname);
185 return ;
186 }
187 super.enterAttribute(___uri, ___local, ___qname);
188 break;
189 }
190 }
191
192 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
193 throws org.xml.sax.SAXException
194 {
195 int attIdx;
196 outer:
197 while (true) {
198 switch (state) {
199 case 0 :
200 attIdx = context.getAttribute("", "expr");
201 if (attIdx >= 0) {
202 final java.lang.String v = context.eatAttribute(attIdx);
203 eatText1(v);
204 state = 3;
205 continue outer;
206 }
207 break;
208 case 3 :
209 revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
210 return ;
211 case 2 :
212 if (("expr" == ___local)&&("" == ___uri)) {
213 state = 3;
214 return ;
215 }
216 break;
217 }
218 super.leaveAttribute(___uri, ___local, ___qname);
219 break;
220 }
221 }
222
223 public void handleText(final java.lang.String value)
224 throws org.xml.sax.SAXException
225 {
226 int attIdx;
227 outer:
228 while (true) {
229 try {
230 switch (state) {
231 case 0 :
232 attIdx = context.getAttribute("", "expr");
233 if (attIdx >= 0) {
234 final java.lang.String v = context.eatAttribute(attIdx);
235 eatText1(v);
236 state = 3;
237 continue outer;
238 }
239 break;
240 case 3 :
241 revertToParentFromText(value);
242 return ;
243 case 1 :
244 eatText1(value);
245 state = 2;
246 return ;
247 }
248 } catch (java.lang.RuntimeException e) {
249 handleUnexpectedTextException(value, e);
250 }
251 break;
252 }
253 }
254
255 }
256
257 }