1
2
3
4
5
6
7
8
9 package net.sf.jour.config.impl;
10
11 public class PointcutImpl
12 extends net.sf.jour.config.impl.PointcutTypeImpl
13 implements net.sf.jour.config.Pointcut, com.sun.xml.bind.RIElement, 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
14 {
15
16 public final static java.lang.Class version = (net.sf.jour.config.impl.JAXBVersion.class);
17 private static com.sun.msv.grammar.Grammar schemaFragment;
18
19 private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
20 return (net.sf.jour.config.Pointcut.class);
21 }
22
23 public java.lang.String ____jaxb_ri____getNamespaceURI() {
24 return "";
25 }
26
27 public java.lang.String ____jaxb_ri____getLocalName() {
28 return "pointcut";
29 }
30
31 public net.sf.jour.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(net.sf.jour.config.impl.runtime.UnmarshallingContext context) {
32 return new net.sf.jour.config.impl.PointcutImpl.Unmarshaller(context);
33 }
34
35 public void serializeBody(net.sf.jour.config.impl.runtime.XMLSerializer context)
36 throws org.xml.sax.SAXException
37 {
38 context.startElement("", "pointcut");
39 super.serializeURIs(context);
40 context.endNamespaceDecls();
41 super.serializeAttributes(context);
42 context.endAttributes();
43 super.serializeBody(context);
44 context.endElement();
45 }
46
47 public void serializeAttributes(net.sf.jour.config.impl.runtime.XMLSerializer context)
48 throws org.xml.sax.SAXException
49 {
50 }
51
52 public void serializeURIs(net.sf.jour.config.impl.runtime.XMLSerializer context)
53 throws org.xml.sax.SAXException
54 {
55 }
56
57 public java.lang.Class getPrimaryInterface() {
58 return (net.sf.jour.config.Pointcut.class);
59 }
60
61 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
62 if (schemaFragment == null) {
63 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
64 "\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
65 +"\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
66 +"grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
67 +"\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
68 +"msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
69 +"ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
70 +"mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
71 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000 com.sun.msv.g"
72 +"rammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq"
73 +"\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg"
74 +"/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/"
75 +"msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000#com.sun.msv.datatype.xsd.Str"
76 +"ingType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.x"
77 +"sd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd."
78 +"ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDataty"
79 +"peImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btype"
80 +"Nameq\u0000~\u0000\u0014L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpac"
81 +"eProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u0000"
82 +"5com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000"
83 +"\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
84 +"\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000"
85 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002"
86 +"L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xpq\u0000~\u0000\u0018q\u0000~\u0000\u0017sr\u0000#com.sun"
87 +".msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fn"
88 +"amespaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
89 +"xpt\u0000\u0004exprt\u0000\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~"
90 +"\u0000\bppsq\u0000~\u0000\nsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\f"
91 +"ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0011q\u0000~"
92 +"\u0000\u0017t\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$C"
93 +"ollapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001aq\u0000~\u0000\u001dsq\u0000~\u0000\u001eq\u0000~\u0000-q\u0000~\u0000\u0017sq\u0000~\u0000 t\u0000\u0004typet\u0000"
94 +")http://www.w3.org/2001/XMLSchema-instancesr\u00000com.sun.msv.gr"
95 +"ammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000(\u0001ps"
96 +"q\u0000~\u0000 t\u0000\bpointcutq\u0000~\u0000$sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000"
97 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$"
98 +"ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHa"
99 +"sh\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/ms"
100 +"v/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0002\u0001pq\u0000~\u0000&q\u0000~\u0000\tx"));
101 }
102 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
103 }
104
105 public class Unmarshaller
106 extends net.sf.jour.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl
107 {
108
109
110 public Unmarshaller(net.sf.jour.config.impl.runtime.UnmarshallingContext context) {
111 super(context, "----");
112 }
113
114 protected Unmarshaller(net.sf.jour.config.impl.runtime.UnmarshallingContext context, int startState) {
115 this(context);
116 state = startState;
117 }
118
119 public java.lang.Object owner() {
120 return net.sf.jour.config.impl.PointcutImpl.this;
121 }
122
123 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
124 throws org.xml.sax.SAXException
125 {
126 int attIdx;
127 outer:
128 while (true) {
129 switch (state) {
130 case 3 :
131 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
132 return ;
133 case 0 :
134 if (("pointcut" == ___local)&&("" == ___uri)) {
135 context.pushAttributes(__atts, false);
136 state = 1;
137 return ;
138 }
139 break;
140 case 1 :
141 attIdx = context.getAttribute("", "expr");
142 if (attIdx >= 0) {
143 context.consumeAttribute(attIdx);
144 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
145 return ;
146 }
147 break;
148 }
149 super.enterElement(___uri, ___local, ___qname, __atts);
150 break;
151 }
152 }
153
154 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
155 throws org.xml.sax.SAXException
156 {
157 int attIdx;
158 outer:
159 while (true) {
160 switch (state) {
161 case 3 :
162 revertToParentFromLeaveElement(___uri, ___local, ___qname);
163 return ;
164 case 1 :
165 attIdx = context.getAttribute("", "expr");
166 if (attIdx >= 0) {
167 context.consumeAttribute(attIdx);
168 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
169 return ;
170 }
171 break;
172 case 2 :
173 if (("pointcut" == ___local)&&("" == ___uri)) {
174 context.popAttributes();
175 state = 3;
176 return ;
177 }
178 break;
179 }
180 super.leaveElement(___uri, ___local, ___qname);
181 break;
182 }
183 }
184
185 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
186 throws org.xml.sax.SAXException
187 {
188 int attIdx;
189 outer:
190 while (true) {
191 switch (state) {
192 case 3 :
193 revertToParentFromEnterAttribute(___uri, ___local, ___qname);
194 return ;
195 case 1 :
196 if (("expr" == ___local)&&("" == ___uri)) {
197 spawnHandlerFromEnterAttribute((((net.sf.jour.config.impl.PointcutTypeImpl)net.sf.jour.config.impl.PointcutImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
198 return ;
199 }
200 break;
201 }
202 super.enterAttribute(___uri, ___local, ___qname);
203 break;
204 }
205 }
206
207 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
208 throws org.xml.sax.SAXException
209 {
210 int attIdx;
211 outer:
212 while (true) {
213 switch (state) {
214 case 3 :
215 revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
216 return ;
217 case 1 :
218 attIdx = context.getAttribute("", "expr");
219 if (attIdx >= 0) {
220 context.consumeAttribute(attIdx);
221 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
222 return ;
223 }
224 break;
225 }
226 super.leaveAttribute(___uri, ___local, ___qname);
227 break;
228 }
229 }
230
231 public void handleText(final java.lang.String value)
232 throws org.xml.sax.SAXException
233 {
234 int attIdx;
235 outer:
236 while (true) {
237 try {
238 switch (state) {
239 case 3 :
240 revertToParentFromText(value);
241 return ;
242 case 1 :
243 attIdx = context.getAttribute("", "expr");
244 if (attIdx >= 0) {
245 context.consumeAttribute(attIdx);
246 context.getCurrentHandler().text(value);
247 return ;
248 }
249 break;
250 }
251 } catch (java.lang.RuntimeException e) {
252 handleUnexpectedTextException(value, e);
253 }
254 break;
255 }
256 }
257
258 }
259
260 }