Source Code Cross Referenced for MenuOptionImpl.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 MenuOptionImpl implements 
011:                org.jaffa.components.navigation.domain.MenuOption,
012:                com.sun.xml.bind.unmarshaller.UnmarshallableObject,
013:                com.sun.xml.bind.serializer.XMLSerializable,
014:                com.sun.xml.bind.validator.ValidatableObject {
015:
016:            protected org.jaffa.components.navigation.domain.SubMenu _SubMenu;
017:            protected org.jaffa.components.navigation.domain.DesktopMenu _DesktopMenu;
018:            protected org.jaffa.components.navigation.domain.UrlAction _UrlAction;
019:            protected java.lang.String _Label;
020:            protected org.jaffa.components.navigation.domain.ComponentAction _ComponentAction;
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\u0006\u00d7\u00c7\u00f5ppsr\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\u0000U\u00bb\u00aepp\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\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\u0014L\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\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xpq\u0000~\u0000\u0018q\u0000~\u0000\u0017sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0005labelt\u0000\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0006\u0082\fBppsq\u0000~\u0000%\u0004\u00e1\u00891ppsq\u0000~\u0000%\u0003A\u0006 ppsq\u0000~\u0000\u0006\u0001\u00a0\u0083\u000fpp\u0000sq\u0000~\u0000\u0006\u0001\u00a0\u0083\u0004pp\u0000sq\u0000~\u0000%\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\u00eeq\u0000~\u0000\u000fpsr\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\u0007xq\u0000~\u0000\u0003\u0001\u00a0\u0082\u00ebq\u0000~\u0000\u000fpsr\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\u000e\u0001q\u0000~\u00002sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000!sr\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~\u00003psq\u0000~\u0000 t\u00006org.jaffa.components.navigation.domain.ComponentActiont\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000 t\u0000\u0010component-actionq\u0000~\u0000$sq\u0000~\u0000\u0006\u0001\u00a0\u0083\u000fpp\u0000sq\u0000~\u0000\u0006\u0001\u00a0\u0083\u0004pp\u0000sq\u0000~\u0000%\u0001\u00a0\u0082\u00f9ppsq\u0000~\u0000,\u0001\u00a0\u0082\u00eeq\u0000~\u0000\u000fpsq\u0000~\u0000/\u0001\u00a0\u0082\u00ebq\u0000~\u0000\u000fpq\u0000~\u00002q\u0000~\u00005q\u0000~\u00007sq\u0000~\u0000 t\u00000org.jaffa.components.navigation.domain.UrlActionq\u0000~\u0000:sq\u0000~\u0000 t\u0000\nurl-actionq\u0000~\u0000$sq\u0000~\u0000\u0006\u0001\u00a0\u0083\u000fpp\u0000sq\u0000~\u0000\u0006\u0001\u00a0\u0083\u0004pp\u0000sq\u0000~\u0000%\u0001\u00a0\u0082\u00f9ppsq\u0000~\u0000,\u0001\u00a0\u0082\u00eeq\u0000~\u0000\u000fpsq\u0000~\u0000/\u0001\u00a0\u0082\u00ebq\u0000~\u0000\u000fpq\u0000~\u00002q\u0000~\u00005q\u0000~\u00007sq\u0000~\u0000 t\u0000.org.jaffa.components.navigation.domain.SubMenuq\u0000~\u0000:sq\u0000~\u0000 t\u0000\bsub-menuq\u0000~\u0000$sq\u0000~\u0000\u0006\u0001\u00a0\u0083\u000fpp\u0000sq\u0000~\u0000\u0006\u0001\u00a0\u0083\u0004pp\u0000sq\u0000~\u0000%\u0001\u00a0\u0082\u00f9ppsq\u0000~\u0000,\u0001\u00a0\u0082\u00eeq\u0000~\u0000\u000fpsq\u0000~\u0000/\u0001\u00a0\u0082\u00ebq\u0000~\u0000\u000fpq\u0000~\u00002q\u0000~\u00005q\u0000~\u00007sq\u0000~\u0000 t\u00002org.jaffa.components.navigation.domain.DesktopMenuq\u0000~\u0000:sq\u0000~\u0000 t\u0000\fdesktop-menuq\u0000~\u0000$sr\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~\u0000Y[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\f\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppq\u0000~\u0000&ppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\'ppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000(pppppppppppq\u0000~\u0000.q\u0000~\u0000@q\u0000~\u0000Iq\u0000~\u0000Rpppppppq\u0000~\u0000+q\u0000~\u0000?q\u0000~\u0000Hq\u0000~\u0000Qppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005pppppppppppppppppppppppppp");
023:
024:            private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
025:                return org.jaffa.components.navigation.domain.MenuOption.class;
026:            }
027:
028:            public org.jaffa.components.navigation.domain.SubMenu getSubMenu() {
029:                return _SubMenu;
030:            }
031:
032:            public void setSubMenu(
033:                    org.jaffa.components.navigation.domain.SubMenu value) {
034:                _SubMenu = value;
035:            }
036:
037:            public org.jaffa.components.navigation.domain.DesktopMenu getDesktopMenu() {
038:                return _DesktopMenu;
039:            }
040:
041:            public void setDesktopMenu(
042:                    org.jaffa.components.navigation.domain.DesktopMenu value) {
043:                _DesktopMenu = value;
044:            }
045:
046:            public org.jaffa.components.navigation.domain.UrlAction getUrlAction() {
047:                return _UrlAction;
048:            }
049:
050:            public void setUrlAction(
051:                    org.jaffa.components.navigation.domain.UrlAction value) {
052:                _UrlAction = value;
053:            }
054:
055:            public java.lang.String getLabel() {
056:                return _Label;
057:            }
058:
059:            public void setLabel(java.lang.String value) {
060:                _Label = value;
061:            }
062:
063:            public org.jaffa.components.navigation.domain.ComponentAction getComponentAction() {
064:                return _ComponentAction;
065:            }
066:
067:            public void setComponentAction(
068:                    org.jaffa.components.navigation.domain.ComponentAction value) {
069:                _ComponentAction = value;
070:            }
071:
072:            public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
073:                    com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
074:                return new org.jaffa.components.navigation.domain.impl.MenuOptionImpl.Unmarshaller(
075:                        context);
076:            }
077:
078:            public java.lang.Class getPrimaryInterfaceClass() {
079:                return PRIMARY_INTERFACE_CLASS();
080:            }
081:
082:            public void serializeElements(
083:                    com.sun.xml.bind.serializer.XMLSerializer context)
084:                    throws org.xml.sax.SAXException {
085:                context.startElement("", "label");
086:                context.endAttributes();
087:                try {
088:                    context.text(((java.lang.String) _Label));
089:                } catch (java.lang.Exception e) {
090:                    com.sun.xml.bind.marshaller.Util
091:                            .handlePrintConversionException(this , e, context);
092:                }
093:                context.endElement();
094:                if ((((_UrlAction == null) && (_DesktopMenu == null)) && (_SubMenu == null))
095:                        && (_ComponentAction != null)) {
096:                    if (_ComponentAction instanceof  javax.xml.bind.Element) {
097:                        context
098:                                .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _ComponentAction));
099:                    } else {
100:                        context.startElement("", "component-action");
101:                        context
102:                                .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _ComponentAction));
103:                        context.endAttributes();
104:                        context
105:                                .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _ComponentAction));
106:                        context.endElement();
107:                    }
108:                } else {
109:                    if ((((_UrlAction != null) && (_DesktopMenu == null)) && (_SubMenu == null))
110:                            && (_ComponentAction == null)) {
111:                        if (_UrlAction instanceof  javax.xml.bind.Element) {
112:                            context
113:                                    .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _UrlAction));
114:                        } else {
115:                            context.startElement("", "url-action");
116:                            context
117:                                    .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _UrlAction));
118:                            context.endAttributes();
119:                            context
120:                                    .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _UrlAction));
121:                            context.endElement();
122:                        }
123:                    } else {
124:                        if ((((_UrlAction == null) && (_DesktopMenu == null)) && (_SubMenu != null))
125:                                && (_ComponentAction == null)) {
126:                            if (_SubMenu instanceof  javax.xml.bind.Element) {
127:                                context
128:                                        .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _SubMenu));
129:                            } else {
130:                                context.startElement("", "sub-menu");
131:                                context
132:                                        .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _SubMenu));
133:                                context.endAttributes();
134:                                context
135:                                        .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _SubMenu));
136:                                context.endElement();
137:                            }
138:                        } else {
139:                            if ((((_UrlAction == null) && (_DesktopMenu != null)) && (_SubMenu == null))
140:                                    && (_ComponentAction == null)) {
141:                                if (_DesktopMenu instanceof  javax.xml.bind.Element) {
142:                                    context
143:                                            .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _DesktopMenu));
144:                                } else {
145:                                    context.startElement("", "desktop-menu");
146:                                    context
147:                                            .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _DesktopMenu));
148:                                    context.endAttributes();
149:                                    context
150:                                            .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _DesktopMenu));
151:                                    context.endElement();
152:                                }
153:                            }
154:                        }
155:                    }
156:                }
157:            }
158:
159:            public void serializeAttributes(
160:                    com.sun.xml.bind.serializer.XMLSerializer context)
161:                    throws org.xml.sax.SAXException {
162:            }
163:
164:            public void serializeAttributeBodies(
165:                    com.sun.xml.bind.serializer.XMLSerializer context)
166:                    throws org.xml.sax.SAXException {
167:            }
168:
169:            public java.lang.Class getPrimaryInterface() {
170:                return (org.jaffa.components.navigation.domain.MenuOption.class);
171:            }
172:
173:            public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
174:                return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
175:                        schemaFragment);
176:            }
177:
178:            public class Unmarshaller extends
179:                    com.sun.xml.bind.unmarshaller.ContentHandlerEx {
180:
181:                public Unmarshaller(
182:                        com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
183:                    super (context, "-------------");
184:                }
185:
186:                protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
187:                    return org.jaffa.components.navigation.domain.impl.MenuOptionImpl.this ;
188:                }
189:
190:                public void enterElement(java.lang.String ___uri,
191:                        java.lang.String ___local, org.xml.sax.Attributes __atts)
192:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
193:                    switch (state) {
194:                    case 0:
195:                        if (("" == ___uri) && ("label" == ___local)) {
196:                            context.pushAttributes(__atts);
197:                            state = 1;
198:                            return;
199:                        }
200:                        break;
201:                    case 4:
202:                        if (("" == ___uri) && ("url" == ___local)) {
203:                            _UrlAction = ((org.jaffa.components.navigation.domain.impl.UrlActionImpl) spawnChildFromEnterElement(
204:                                    (org.jaffa.components.navigation.domain.impl.UrlActionImpl.class),
205:                                    5, ___uri, ___local, __atts));
206:                            return;
207:                        }
208:                        break;
209:                    case 6:
210:                        revertToParentFromEnterElement(___uri, ___local, __atts);
211:                        return;
212:                    case 11:
213:                        if (("" == ___uri) && ("label" == ___local)) {
214:                            _DesktopMenu = ((org.jaffa.components.navigation.domain.impl.DesktopMenuImpl) spawnChildFromEnterElement(
215:                                    (org.jaffa.components.navigation.domain.impl.DesktopMenuImpl.class),
216:                                    12, ___uri, ___local, __atts));
217:                            return;
218:                        }
219:                        break;
220:                    case 9:
221:                        if (("" == ___uri) && ("component-name" == ___local)) {
222:                            _ComponentAction = ((org.jaffa.components.navigation.domain.impl.ComponentActionImpl) spawnChildFromEnterElement(
223:                                    (org.jaffa.components.navigation.domain.impl.ComponentActionImpl.class),
224:                                    10, ___uri, ___local, __atts));
225:                            return;
226:                        }
227:                        break;
228:                    case 3:
229:                        if (("" == ___uri) && ("component-action" == ___local)) {
230:                            context.pushAttributes(__atts);
231:                            state = 9;
232:                            return;
233:                        }
234:                        if (("" == ___uri) && ("desktop-menu" == ___local)) {
235:                            context.pushAttributes(__atts);
236:                            state = 11;
237:                            return;
238:                        }
239:                        if (("" == ___uri) && ("sub-menu" == ___local)) {
240:                            context.pushAttributes(__atts);
241:                            state = 7;
242:                            return;
243:                        }
244:                        if (("" == ___uri) && ("url-action" == ___local)) {
245:                            context.pushAttributes(__atts);
246:                            state = 4;
247:                            return;
248:                        }
249:                        break;
250:                    case 7:
251:                        if (("" == ___uri) && ("menu-option" == ___local)) {
252:                            _SubMenu = ((org.jaffa.components.navigation.domain.impl.SubMenuImpl) spawnChildFromEnterElement(
253:                                    (org.jaffa.components.navigation.domain.impl.SubMenuImpl.class),
254:                                    8, ___uri, ___local, __atts));
255:                            return;
256:                        }
257:                        break;
258:                    }
259:                    super .enterElement(___uri, ___local, __atts);
260:                }
261:
262:                public void leaveElement(java.lang.String ___uri,
263:                        java.lang.String ___local)
264:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
265:                    switch (state) {
266:                    case 8:
267:                        if (("" == ___uri) && ("sub-menu" == ___local)) {
268:                            context.popAttributes();
269:                            state = 6;
270:                            return;
271:                        }
272:                        break;
273:                    case 5:
274:                        if (("" == ___uri) && ("url-action" == ___local)) {
275:                            context.popAttributes();
276:                            state = 6;
277:                            return;
278:                        }
279:                        break;
280:                    case 6:
281:                        revertToParentFromLeaveElement(___uri, ___local);
282:                        return;
283:                    case 10:
284:                        if (("" == ___uri) && ("component-action" == ___local)) {
285:                            context.popAttributes();
286:                            state = 6;
287:                            return;
288:                        }
289:                        break;
290:                    case 12:
291:                        if (("" == ___uri) && ("desktop-menu" == ___local)) {
292:                            context.popAttributes();
293:                            state = 6;
294:                            return;
295:                        }
296:                        break;
297:                    case 2:
298:                        if (("" == ___uri) && ("label" == ___local)) {
299:                            context.popAttributes();
300:                            state = 3;
301:                            return;
302:                        }
303:                        break;
304:                    }
305:                    super .leaveElement(___uri, ___local);
306:                }
307:
308:                public void enterAttribute(java.lang.String ___uri,
309:                        java.lang.String ___local)
310:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
311:                    switch (state) {
312:                    case 6:
313:                        revertToParentFromEnterAttribute(___uri, ___local);
314:                        return;
315:                    }
316:                    super .enterAttribute(___uri, ___local);
317:                }
318:
319:                public void leaveAttribute(java.lang.String ___uri,
320:                        java.lang.String ___local)
321:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
322:                    switch (state) {
323:                    case 6:
324:                        revertToParentFromLeaveAttribute(___uri, ___local);
325:                        return;
326:                    }
327:                    super .leaveAttribute(___uri, ___local);
328:                }
329:
330:                public void text(java.lang.String value)
331:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
332:                    try {
333:                        switch (state) {
334:                        case 6:
335:                            revertToParentFromText(value);
336:                            return;
337:                        case 1:
338:                            try {
339:                                _Label = value;
340:                            } catch (java.lang.Exception e) {
341:                                handleParseConversionException(e);
342:                            }
343:                            state = 2;
344:                            return;
345:                        }
346:                    } catch (java.lang.RuntimeException e) {
347:                        handleUnexpectedTextException(value, e);
348:                    }
349:                }
350:
351:                public void leaveChild(int nextState)
352:                        throws com.sun.xml.bind.unmarshaller.UnreportedException {
353:                    switch (nextState) {
354:                    case 8:
355:                        state = 8;
356:                        return;
357:                    case 5:
358:                        state = 5;
359:                        return;
360:                    case 10:
361:                        state = 10;
362:                        return;
363:                    case 12:
364:                        state = 12;
365:                        return;
366:                    }
367:                    super.leaveChild(nextState);
368:                }
369:
370:            }
371:
372:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.