Source Code Cross Referenced for UrlActionImpl.java in  » J2EE » Jaffa » org » jaffa » components » navigation » domain » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » Jaffa » org.jaffa.components.navigation.domain.impl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        //
002:        // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0 
003:        // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004:        // Any modifications to this file will be lost upon recompilation of the source schema. 
005:        // Generated on: 2003.12.18 at 12:29:17 PST 
006:        //
007:
008:        package org.jaffa.components.navigation.domain.impl;
009:
010:        public class UrlActionImpl implements 
011:                org.jaffa.components.navigation.domain.UrlAction,
012:                com.sun.xml.bind.unmarshaller.UnmarshallableObject,
013:                com.sun.xml.bind.serializer.XMLSerializable,
014:                com.sun.xml.bind.validator.ValidatableObject {
015:
016:            protected com.sun.xml.bind.util.ListImpl _RequiresComponentAccess = new com.sun.xml.bind.util.ListImpl(
017:                    new java.util.ArrayList());
018:            protected com.sun.xml.bind.util.ListImpl _RequiresFunctionAccess = new com.sun.xml.bind.util.ListImpl(
019:                    new java.util.ArrayList());
020:            protected org.jaffa.components.navigation.domain.UrlAction.UrlType _Url;
021:            private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
022:                    .deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0002K\u00fa\u0091ppsq\u0000~\u0000\u0000\u0001\u00f6>\u00d0ppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0001\u00a0\u0083\u000fpp\u0000sq\u0000~\u0000\u0007\u0001\u00a0\u0083\u0004pp\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0001\u00a0\u0082\u00f9ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0001\u00a0\u0082\u00eesr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\bxq\u0000~\u0000\u0003\u0001\u00a0\u0082\u00ebq\u0000~\u0000\u0012psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bsq\u0000~\u0000\u0011\u0001q\u0000~\u0000\u0016sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tq\u0000~\u0000\u0017psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001exq\u0000~\u0000\u0019t\u00008org.jaffa.components.navigation.domain.UrlAction.UrlTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u001dt\u0000\u0003urlt\u0000\u0000sq\u0000~\u0000\f\u0000U\u00bb\u00bcppsq\u0000~\u0000\u000e\u0000U\u00bb\u00b1q\u0000~\u0000\u0012psq\u0000~\u0000\u0007\u0000U\u00bb\u00aeq\u0000~\u0000\u0012p\u0000sr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0000U\u00bb\u00a3q\u0000~\u0000\u0012psr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001eL\u0000\btypeNameq\u0000~\u0000\u001eL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$1\u0013JMoI\u00db\u00a4G\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001eL\u0000\fnamespaceURIq\u0000~\u0000\u001expq\u0000~\u00003q\u0000~\u00002sq\u0000~\u0000\u001dt\u0000\u0019requires-component-accessq\u0000~\u0000$q\u0000~\u0000\u001csq\u0000~\u0000\f\u0000U\u00bb\u00bcppsq\u0000~\u0000\u000e\u0000U\u00bb\u00b1q\u0000~\u0000\u0012psq\u0000~\u0000\u0007\u0000U\u00bb\u00aeq\u0000~\u0000\u0012p\u0000q\u0000~\u0000+sq\u0000~\u0000\u001dt\u0000\u0018requires-function-accessq\u0000~\u0000$q\u0000~\u0000\u001csr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000C[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\b\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005ppppppppppq\u0000~\u0000\u0010ppppppppppq\u0000~\u0000\rq\u0000~\u0000\u0006pppppppppppppppppppppppppppppq\u0000~\u0000&q\u0000~\u0000>pppppppppq\u0000~\u0000%q\u0000~\u0000=ppppppppppppppppppppppppp");
023:
024:            private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
025:                return org.jaffa.components.navigation.domain.UrlAction.class;
026:            }
027:
028:            public java.util.List getRequiresComponentAccess() {
029:                return _RequiresComponentAccess;
030:            }
031:
032:            public java.util.List getRequiresFunctionAccess() {
033:                return _RequiresFunctionAccess;
034:            }
035:
036:            public org.jaffa.components.navigation.domain.UrlAction.UrlType getUrl() {
037:                return _Url;
038:            }
039:
040:            public void setUrl(
041:                    org.jaffa.components.navigation.domain.UrlAction.UrlType value) {
042:                _Url = value;
043:            }
044:
045:            public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
046:                    com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
047:                return new org.jaffa.components.navigation.domain.impl.UrlActionImpl.Unmarshaller(
048:                        context);
049:            }
050:
051:            public java.lang.Class getPrimaryInterfaceClass() {
052:                return PRIMARY_INTERFACE_CLASS();
053:            }
054:
055:            public void serializeElements(
056:                    com.sun.xml.bind.serializer.XMLSerializer context)
057:                    throws org.xml.sax.SAXException {
058:                int idx1 = 0;
059:                final int len1 = _RequiresComponentAccess.size();
060:                int idx2 = 0;
061:                final int len2 = _RequiresFunctionAccess.size();
062:                if (_Url instanceof  javax.xml.bind.Element) {
063:                    context
064:                            .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _Url));
065:                } else {
066:                    context.startElement("", "url");
067:                    context
068:                            .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _Url));
069:                    context.endAttributes();
070:                    context
071:                            .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _Url));
072:                    context.endElement();
073:                }
074:                while (idx1 != len1) {
075:                    context.startElement("", "requires-component-access");
076:                    int idx_1 = idx1;
077:                    try {
078:                        idx_1 += 1;
079:                    } catch (java.lang.Exception e) {
080:                        com.sun.xml.bind.marshaller.Util
081:                                .handlePrintConversionException(this , e,
082:                                        context);
083:                    }
084:                    context.endAttributes();
085:                    try {
086:                        context
087:                                .text(((java.lang.String) _RequiresComponentAccess
088:                                        .get(idx1++)));
089:                    } catch (java.lang.Exception e) {
090:                        com.sun.xml.bind.marshaller.Util
091:                                .handlePrintConversionException(this , e,
092:                                        context);
093:                    }
094:                    context.endElement();
095:                }
096:                while (idx2 != len2) {
097:                    context.startElement("", "requires-function-access");
098:                    int idx_2 = idx2;
099:                    try {
100:                        idx_2 += 1;
101:                    } catch (java.lang.Exception e) {
102:                        com.sun.xml.bind.marshaller.Util
103:                                .handlePrintConversionException(this , e,
104:                                        context);
105:                    }
106:                    context.endAttributes();
107:                    try {
108:                        context
109:                                .text(((java.lang.String) _RequiresFunctionAccess
110:                                        .get(idx2++)));
111:                    } catch (java.lang.Exception e) {
112:                        com.sun.xml.bind.marshaller.Util
113:                                .handlePrintConversionException(this , e,
114:                                        context);
115:                    }
116:                    context.endElement();
117:                }
118:            }
119:
120:            public void serializeAttributes(
121:                    com.sun.xml.bind.serializer.XMLSerializer context)
122:                    throws org.xml.sax.SAXException {
123:                int idx1 = 0;
124:                final int len1 = _RequiresComponentAccess.size();
125:                int idx2 = 0;
126:                final int len2 = _RequiresFunctionAccess.size();
127:            }
128:
129:            public void serializeAttributeBodies(
130:                    com.sun.xml.bind.serializer.XMLSerializer context)
131:                    throws org.xml.sax.SAXException {
132:                int idx1 = 0;
133:                final int len1 = _RequiresComponentAccess.size();
134:                int idx2 = 0;
135:                final int len2 = _RequiresFunctionAccess.size();
136:            }
137:
138:            public java.lang.Class getPrimaryInterface() {
139:                return (org.jaffa.components.navigation.domain.UrlAction.class);
140:            }
141:
142:            public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
143:                return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
144:                        schemaFragment);
145:            }
146:
147:            public class Unmarshaller extends
148:                    com.sun.xml.bind.unmarshaller.ContentHandlerEx {
149:
150:                public Unmarshaller(
151:                        com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
152:                    super (context, "--------");
153:                }
154:
155:                protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
156:                    return org.jaffa.components.navigation.domain.impl.UrlActionImpl.this ;
157:                }
158:
159:                public void enterElement(java.lang.String ___uri,
160:                        java.lang.String ___local, org.xml.sax.Attributes __atts)
161:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
162:                    switch (state) {
163:                    case 0:
164:                        if (("" == ___uri) && ("url" == ___local)) {
165:                            context.pushAttributes(__atts);
166:                            goto1();
167:                            return;
168:                        }
169:                        break;
170:                    case 3:
171:                        if (("" == ___uri)
172:                                && ("requires-function-access" == ___local)) {
173:                            context.pushAttributes(__atts);
174:                            state = 4;
175:                            return;
176:                        }
177:                        if (("" == ___uri)
178:                                && ("requires-component-access" == ___local)) {
179:                            context.pushAttributes(__atts);
180:                            state = 6;
181:                            return;
182:                        }
183:                        revertToParentFromEnterElement(___uri, ___local, __atts);
184:                        return;
185:                    }
186:                    super .enterElement(___uri, ___local, __atts);
187:                }
188:
189:                public void leaveElement(java.lang.String ___uri,
190:                        java.lang.String ___local)
191:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
192:                    switch (state) {
193:                    case 2:
194:                        if (("" == ___uri) && ("url" == ___local)) {
195:                            context.popAttributes();
196:                            state = 3;
197:                            return;
198:                        }
199:                        break;
200:                    case 7:
201:                        if (("" == ___uri)
202:                                && ("requires-component-access" == ___local)) {
203:                            context.popAttributes();
204:                            state = 3;
205:                            return;
206:                        }
207:                        break;
208:                    case 3:
209:                        revertToParentFromLeaveElement(___uri, ___local);
210:                        return;
211:                    case 5:
212:                        if (("" == ___uri)
213:                                && ("requires-function-access" == ___local)) {
214:                            context.popAttributes();
215:                            state = 3;
216:                            return;
217:                        }
218:                        break;
219:                    }
220:                    super .leaveElement(___uri, ___local);
221:                }
222:
223:                public void enterAttribute(java.lang.String ___uri,
224:                        java.lang.String ___local)
225:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
226:                    switch (state) {
227:                    case 3:
228:                        revertToParentFromEnterAttribute(___uri, ___local);
229:                        return;
230:                    case 1:
231:                        if (("" == ___uri) && ("append-final" == ___local)) {
232:                            _Url = ((org.jaffa.components.navigation.domain.impl.UrlActionImpl.UrlTypeImpl) spawnChildFromEnterAttribute(
233:                                    (org.jaffa.components.navigation.domain.impl.UrlActionImpl.UrlTypeImpl.class),
234:                                    2, ___uri, ___local));
235:                            return;
236:                        }
237:                        break;
238:                    }
239:                    super .enterAttribute(___uri, ___local);
240:                }
241:
242:                public void leaveAttribute(java.lang.String ___uri,
243:                        java.lang.String ___local)
244:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
245:                    switch (state) {
246:                    case 3:
247:                        revertToParentFromLeaveAttribute(___uri, ___local);
248:                        return;
249:                    }
250:                    super .leaveAttribute(___uri, ___local);
251:                }
252:
253:                public void text(java.lang.String value)
254:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
255:                    try {
256:                        switch (state) {
257:                        case 4:
258:                            try {
259:                                _RequiresFunctionAccess.add(value);
260:                            } catch (java.lang.Exception e) {
261:                                handleParseConversionException(e);
262:                            }
263:                            state = 5;
264:                            return;
265:                        case 3:
266:                            revertToParentFromText(value);
267:                            return;
268:                        case 6:
269:                            try {
270:                                _RequiresComponentAccess.add(value);
271:                            } catch (java.lang.Exception e) {
272:                                handleParseConversionException(e);
273:                            }
274:                            state = 7;
275:                            return;
276:                        case 1:
277:                            _Url = ((org.jaffa.components.navigation.domain.impl.UrlActionImpl.UrlTypeImpl) spawnChildFromText(
278:                                    (org.jaffa.components.navigation.domain.impl.UrlActionImpl.UrlTypeImpl.class),
279:                                    2, value));
280:                            return;
281:                        }
282:                    } catch (java.lang.RuntimeException e) {
283:                        handleUnexpectedTextException(value, e);
284:                    }
285:                }
286:
287:                public void leaveChild(int nextState)
288:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
289:                    switch (nextState) {
290:                    case 2:
291:                        state = 2;
292:                        return;
293:                    }
294:                    super .leaveChild(nextState);
295:                }
296:
297:                private void goto1()
298:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
299:                    int idx;
300:                    state = 1;
301:                    idx = context.getAttribute("", "append-final");
302:                    if (idx >= 0) {
303:                        context.consumeAttribute(idx);
304:                        return;
305:                    }
306:                }
307:
308:            }
309:
310:            public static class UrlTypeImpl implements 
311:                    org.jaffa.components.navigation.domain.UrlAction.UrlType,
312:                    com.sun.xml.bind.unmarshaller.UnmarshallableObject,
313:                    com.sun.xml.bind.serializer.XMLSerializable,
314:                    com.sun.xml.bind.validator.ValidatableObject {
315:
316:                protected java.lang.String _Value;
317:                protected boolean has_AppendFinal;
318:                protected boolean _AppendFinal;
319:                private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
320:                        .deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0001\u008e\u00ae9ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0000U\u00bb\u00a3sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0010L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$1\u0013JMoI\u00db\u00a4G\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0010L\u0000\fnamespaceURIq\u0000~\u0000\u0010xpq\u0000~\u0000\u0014q\u0000~\u0000\u0013sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u00018\u00f2\u0091ppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xq\u0000~\u0000\u0003\u00018\u00f2\u0086q\u0000~\u0000\u000bpsq\u0000~\u0000\u0006\u0000)\u000f\u00ccppsr\u0000$com.sun.msv.datatype.xsd.BooleanType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\rq\u0000~\u0000\u0013t\u0000\u0007booleansr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$2\u0087z9\u00ee\u00f8,N\u0005\u0002\u0000\u0000xq\u0000~\u0000\u0016q\u0000~\u0000\u0019sq\u0000~\u0000\u001aq\u0000~\u0000$q\u0000~\u0000\u0013sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0010L\u0000\fnamespaceURIq\u0000~\u0000\u0010xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\fappend-finalt\u0000\u0000sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000\n\u0001psr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u00001[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0002\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005ppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u001dppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
321:
322:                private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
323:                    return org.jaffa.components.navigation.domain.UrlAction.UrlType.class;
324:                }
325:
326:                public java.lang.String getValue() {
327:                    return _Value;
328:                }
329:
330:                public void setValue(java.lang.String value) {
331:                    _Value = value;
332:                }
333:
334:                public boolean isAppendFinal() {
335:                    if (!has_AppendFinal) {
336:                        return javax.xml.bind.DatatypeConverter
337:                                .parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor
338:                                        .collapse(com.sun.xml.bind.DatatypeConverterImpl
339:                                                .installHook("false")));
340:                    } else {
341:                        return _AppendFinal;
342:                    }
343:                }
344:
345:                public void setAppendFinal(boolean value) {
346:                    _AppendFinal = value;
347:                    has_AppendFinal = true;
348:                }
349:
350:                public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
351:                        com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
352:                    return new org.jaffa.components.navigation.domain.impl.UrlActionImpl.UrlTypeImpl.Unmarshaller(
353:                            context);
354:                }
355:
356:                public java.lang.Class getPrimaryInterfaceClass() {
357:                    return PRIMARY_INTERFACE_CLASS();
358:                }
359:
360:                public void serializeElements(
361:                        com.sun.xml.bind.serializer.XMLSerializer context)
362:                        throws org.xml.sax.SAXException {
363:                    try {
364:                        context.text(((java.lang.String) _Value));
365:                    } catch (java.lang.Exception e) {
366:                        com.sun.xml.bind.marshaller.Util
367:                                .handlePrintConversionException(this , e,
368:                                        context);
369:                    }
370:                }
371:
372:                public void serializeAttributes(
373:                        com.sun.xml.bind.serializer.XMLSerializer context)
374:                        throws org.xml.sax.SAXException {
375:                    if (has_AppendFinal) {
376:                        context.startAttribute("", "append-final");
377:                        try {
378:                            context.text(javax.xml.bind.DatatypeConverter
379:                                    .printBoolean(((boolean) _AppendFinal)));
380:                        } catch (java.lang.Exception e) {
381:                            com.sun.xml.bind.marshaller.Util
382:                                    .handlePrintConversionException(this , e,
383:                                            context);
384:                        }
385:                        context.endAttribute();
386:                    }
387:                }
388:
389:                public void serializeAttributeBodies(
390:                        com.sun.xml.bind.serializer.XMLSerializer context)
391:                        throws org.xml.sax.SAXException {
392:                    try {
393:                        context.text(((java.lang.String) _Value));
394:                    } catch (java.lang.Exception e) {
395:                        com.sun.xml.bind.marshaller.Util
396:                                .handlePrintConversionException(this , e,
397:                                        context);
398:                    }
399:                }
400:
401:                public java.lang.Class getPrimaryInterface() {
402:                    return (org.jaffa.components.navigation.domain.UrlAction.UrlType.class);
403:                }
404:
405:                public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
406:                    return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
407:                            schemaFragment);
408:                }
409:
410:                public class Unmarshaller extends
411:                        com.sun.xml.bind.unmarshaller.ContentHandlerEx {
412:
413:                    public Unmarshaller(
414:                            com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
415:                        super (context, "----");
416:                    }
417:
418:                    protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
419:                        return org.jaffa.components.navigation.domain.impl.UrlActionImpl.UrlTypeImpl.this ;
420:                    }
421:
422:                    public void enterElement(java.lang.String ___uri,
423:                            java.lang.String ___local,
424:                            org.xml.sax.Attributes __atts)
425:                            throws com.sun.xml.bind.unmarshaller.UnreportedException {
426:                        switch (state) {
427:                        case 1:
428:                            revertToParentFromEnterElement(___uri, ___local,
429:                                    __atts);
430:                            return;
431:                        }
432:                        super .enterElement(___uri, ___local, __atts);
433:                    }
434:
435:                    public void leaveElement(java.lang.String ___uri,
436:                            java.lang.String ___local)
437:                            throws com.sun.xml.bind.unmarshaller.UnreportedException {
438:                        switch (state) {
439:                        case 1:
440:                            revertToParentFromLeaveElement(___uri, ___local);
441:                            return;
442:                        }
443:                        super .leaveElement(___uri, ___local);
444:                    }
445:
446:                    public void enterAttribute(java.lang.String ___uri,
447:                            java.lang.String ___local)
448:                            throws com.sun.xml.bind.unmarshaller.UnreportedException {
449:                        switch (state) {
450:                        case 1:
451:                            revertToParentFromEnterAttribute(___uri, ___local);
452:                            return;
453:                        case 0:
454:                            if (("" == ___uri) && ("append-final" == ___local)) {
455:                                state = 2;
456:                                return;
457:                            }
458:                            break;
459:                        }
460:                        super .enterAttribute(___uri, ___local);
461:                    }
462:
463:                    public void leaveAttribute(java.lang.String ___uri,
464:                            java.lang.String ___local)
465:                            throws com.sun.xml.bind.unmarshaller.UnreportedException {
466:                        switch (state) {
467:                        case 1:
468:                            revertToParentFromLeaveAttribute(___uri, ___local);
469:                            return;
470:                        case 3:
471:                            if (("" == ___uri) && ("append-final" == ___local)) {
472:                                goto0();
473:                                return;
474:                            }
475:                            break;
476:                        }
477:                        super .leaveAttribute(___uri, ___local);
478:                    }
479:
480:                    public void text(java.lang.String value)
481:                            throws com.sun.xml.bind.unmarshaller.UnreportedException {
482:                        try {
483:                            switch (state) {
484:                            case 1:
485:                                revertToParentFromText(value);
486:                                return;
487:                            case 0:
488:                                try {
489:                                    _Value = value;
490:                                } catch (java.lang.Exception e) {
491:                                    handleParseConversionException(e);
492:                                }
493:                                state = 1;
494:                                return;
495:                            case 2:
496:                                try {
497:                                    _AppendFinal = javax.xml.bind.DatatypeConverter
498:                                            .parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor
499:                                                    .collapse(value));
500:                                    has_AppendFinal = true;
501:                                } catch (java.lang.Exception e) {
502:                                    handleParseConversionException(e);
503:                                }
504:                                state = 3;
505:                                return;
506:                            }
507:                        } catch (java.lang.RuntimeException e) {
508:                            handleUnexpectedTextException(value, e);
509:                        }
510:                    }
511:
512:                    private void goto0()
513:                            throws com.sun.xml.bind.unmarshaller.UnreportedException {
514:                        int idx;
515:                        state = 0;
516:                        idx = context.getAttribute("", "append-final");
517:                        if (idx >= 0) {
518:                            context.consumeAttribute(idx);
519:                            return;
520:                        }
521:                    }
522:
523:                }
524:
525:            }
526:
527:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.