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 ComponentActionImpl implements
011: org.jaffa.components.navigation.domain.ComponentAction,
012: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
013: com.sun.xml.bind.serializer.XMLSerializable,
014: com.sun.xml.bind.validator.ValidatableObject {
015:
016: protected java.lang.String _ComponentName;
017: protected java.lang.String _UrlSuffix;
018: protected com.sun.xml.bind.util.ListImpl _Param = new com.sun.xml.bind.util.ListImpl(
019: new java.util.ArrayList());
020: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
021: .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\u008eppsq\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\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\u0015L\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\u0015L\u0000\fnamespaceURIq\u0000~\u0000\u0015xpq\u0000~\u0000\u0019q\u0000~\u0000\u0018sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0015L\u0000\fnamespaceURIq\u0000~\u0000\u0015xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u000ecomponent-namet\u0000\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0001\u00a0\u0083\u001dppsr\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\u0083\u0012q\u0000~\u0000\u0010psq\u0000~\u0000\u0007\u0001\u00a0\u0083\u000fq\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\u0007\u0001\u00a0\u0083\u0004pp\u0000sq\u0000~\u0000&\u0001\u00a0\u0082\u00f9ppsq\u0000~\u0000(\u0001\u00a0\u0082\u00eeq\u0000~\u0000\u0010psr\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\u0010psr\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\u000f\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\u0000@org.jaffa.components.navigation.domain.ComponentAction.ParamTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000!t\u0000\u0005paramq\u0000~\u0000%q\u0000~\u00007sq\u0000~\u0000&\u0000U\u00bb\u00b9ppsq\u0000~\u0000\u0007\u0000U\u00bb\u00aeq\u0000~\u0000\u0010p\u0000q\u0000~\u0000\u000esq\u0000~\u0000!t\u0000\nurl-suffixq\u0000~\u0000%q\u0000~\u00007sr\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~\u0000B[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0007\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005pppppppppppppq\u0000~\u0000.ppppppppppq\u0000~\u0000-q\u0000~\u0000\u0006pppppppppppppppppppppppq\u0000~\u0000*ppppppppppq\u0000~\u0000\'ppq\u0000~\u0000=ppppppppppppppppppppppppppppp");
022:
023: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
024: return org.jaffa.components.navigation.domain.ComponentAction.class;
025: }
026:
027: public java.lang.String getComponentName() {
028: return _ComponentName;
029: }
030:
031: public void setComponentName(java.lang.String value) {
032: _ComponentName = value;
033: }
034:
035: public java.lang.String getUrlSuffix() {
036: return _UrlSuffix;
037: }
038:
039: public void setUrlSuffix(java.lang.String value) {
040: _UrlSuffix = value;
041: }
042:
043: public java.util.List getParam() {
044: return _Param;
045: }
046:
047: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
048: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
049: return new org.jaffa.components.navigation.domain.impl.ComponentActionImpl.Unmarshaller(
050: context);
051: }
052:
053: public java.lang.Class getPrimaryInterfaceClass() {
054: return PRIMARY_INTERFACE_CLASS();
055: }
056:
057: public void serializeElements(
058: com.sun.xml.bind.serializer.XMLSerializer context)
059: throws org.xml.sax.SAXException {
060: int idx3 = 0;
061: final int len3 = _Param.size();
062: context.startElement("", "component-name");
063: context.endAttributes();
064: try {
065: context.text(((java.lang.String) _ComponentName));
066: } catch (java.lang.Exception e) {
067: com.sun.xml.bind.marshaller.Util
068: .handlePrintConversionException(this , e, context);
069: }
070: context.endElement();
071: while (idx3 != len3) {
072: if (_Param.get(idx3) instanceof javax.xml.bind.Element) {
073: context
074: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _Param
075: .get(idx3++)));
076: } else {
077: context.startElement("", "param");
078: int idx_1 = idx3;
079: context
080: .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _Param
081: .get(idx_1++)));
082: context.endAttributes();
083: context
084: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _Param
085: .get(idx3++)));
086: context.endElement();
087: }
088: }
089: if (_UrlSuffix != null) {
090: context.startElement("", "url-suffix");
091: context.endAttributes();
092: try {
093: context.text(((java.lang.String) _UrlSuffix));
094: } catch (java.lang.Exception e) {
095: com.sun.xml.bind.marshaller.Util
096: .handlePrintConversionException(this , e,
097: context);
098: }
099: context.endElement();
100: }
101: }
102:
103: public void serializeAttributes(
104: com.sun.xml.bind.serializer.XMLSerializer context)
105: throws org.xml.sax.SAXException {
106: int idx3 = 0;
107: final int len3 = _Param.size();
108: }
109:
110: public void serializeAttributeBodies(
111: com.sun.xml.bind.serializer.XMLSerializer context)
112: throws org.xml.sax.SAXException {
113: int idx3 = 0;
114: final int len3 = _Param.size();
115: }
116:
117: public java.lang.Class getPrimaryInterface() {
118: return (org.jaffa.components.navigation.domain.ComponentAction.class);
119: }
120:
121: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
122: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
123: schemaFragment);
124: }
125:
126: public static class ParamTypeImpl
127: implements
128: org.jaffa.components.navigation.domain.ComponentAction.ParamType,
129: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
130: com.sun.xml.bind.serializer.XMLSerializable,
131: com.sun.xml.bind.validator.ValidatableObject {
132:
133: protected java.lang.String _Value;
134: protected java.lang.String _Name;
135: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
136: .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\u0001I:\u00e6ppsr\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\u0000n\u00b0\u00c3ppsr\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\u0013L\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\u0013L\u0000\fnamespaceURIq\u0000~\u0000\u0013xpq\u0000~\u0000\u0017q\u0000~\u0000\u0016sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0013L\u0000\fnamespaceURIq\u0000~\u0000\u0013xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0005valuet\u0000\u0000sq\u0000~\u0000\u0006\u0000\u00da\u008a\u001eppq\u0000~\u0000\fsq\u0000~\u0000\u001ft\u0000\u0004nameq\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~\u0000([\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0001\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
137:
138: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
139: return org.jaffa.components.navigation.domain.ComponentAction.ParamType.class;
140: }
141:
142: public java.lang.String getValue() {
143: return _Value;
144: }
145:
146: public void setValue(java.lang.String value) {
147: _Value = value;
148: }
149:
150: public java.lang.String getName() {
151: return _Name;
152: }
153:
154: public void setName(java.lang.String value) {
155: _Name = value;
156: }
157:
158: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
159: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
160: return new org.jaffa.components.navigation.domain.impl.ComponentActionImpl.ParamTypeImpl.Unmarshaller(
161: context);
162: }
163:
164: public java.lang.Class getPrimaryInterfaceClass() {
165: return PRIMARY_INTERFACE_CLASS();
166: }
167:
168: public void serializeElements(
169: com.sun.xml.bind.serializer.XMLSerializer context)
170: throws org.xml.sax.SAXException {
171: }
172:
173: public void serializeAttributes(
174: com.sun.xml.bind.serializer.XMLSerializer context)
175: throws org.xml.sax.SAXException {
176: context.startAttribute("", "value");
177: try {
178: context.text(((java.lang.String) _Value));
179: } catch (java.lang.Exception e) {
180: com.sun.xml.bind.marshaller.Util
181: .handlePrintConversionException(this , e,
182: context);
183: }
184: context.endAttribute();
185: context.startAttribute("", "name");
186: try {
187: context.text(((java.lang.String) _Name));
188: } catch (java.lang.Exception e) {
189: com.sun.xml.bind.marshaller.Util
190: .handlePrintConversionException(this , e,
191: context);
192: }
193: context.endAttribute();
194: }
195:
196: public void serializeAttributeBodies(
197: com.sun.xml.bind.serializer.XMLSerializer context)
198: throws org.xml.sax.SAXException {
199: }
200:
201: public java.lang.Class getPrimaryInterface() {
202: return (org.jaffa.components.navigation.domain.ComponentAction.ParamType.class);
203: }
204:
205: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
206: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
207: schemaFragment);
208: }
209:
210: public class Unmarshaller extends
211: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
212:
213: public Unmarshaller(
214: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
215: super (context, "-----");
216: }
217:
218: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
219: return org.jaffa.components.navigation.domain.impl.ComponentActionImpl.ParamTypeImpl.this ;
220: }
221:
222: public void enterElement(java.lang.String ___uri,
223: java.lang.String ___local,
224: org.xml.sax.Attributes __atts)
225: throws com.sun.xml.bind.unmarshaller.UnreportedException {
226: switch (state) {
227: case 0:
228: revertToParentFromEnterElement(___uri, ___local,
229: __atts);
230: return;
231: }
232: super .enterElement(___uri, ___local, __atts);
233: }
234:
235: public void leaveElement(java.lang.String ___uri,
236: java.lang.String ___local)
237: throws com.sun.xml.bind.unmarshaller.UnreportedException {
238: switch (state) {
239: case 0:
240: revertToParentFromLeaveElement(___uri, ___local);
241: return;
242: }
243: super .leaveElement(___uri, ___local);
244: }
245:
246: public void enterAttribute(java.lang.String ___uri,
247: java.lang.String ___local)
248: throws com.sun.xml.bind.unmarshaller.UnreportedException {
249: switch (state) {
250: case 0:
251: if (("" == ___uri) && ("name" == ___local)) {
252: state = 1;
253: return;
254: }
255: if (("" == ___uri) && ("value" == ___local)) {
256: state = 3;
257: return;
258: }
259: revertToParentFromEnterAttribute(___uri, ___local);
260: return;
261: }
262: super .enterAttribute(___uri, ___local);
263: }
264:
265: public void leaveAttribute(java.lang.String ___uri,
266: java.lang.String ___local)
267: throws com.sun.xml.bind.unmarshaller.UnreportedException {
268: switch (state) {
269: case 2:
270: if (("" == ___uri) && ("name" == ___local)) {
271: goto0();
272: return;
273: }
274: break;
275: case 0:
276: revertToParentFromLeaveAttribute(___uri, ___local);
277: return;
278: case 4:
279: if (("" == ___uri) && ("value" == ___local)) {
280: goto0();
281: return;
282: }
283: break;
284: }
285: super .leaveAttribute(___uri, ___local);
286: }
287:
288: public void text(java.lang.String value)
289: throws com.sun.xml.bind.unmarshaller.UnreportedException {
290: try {
291: switch (state) {
292: case 0:
293: revertToParentFromText(value);
294: return;
295: case 3:
296: try {
297: _Value = value;
298: } catch (java.lang.Exception e) {
299: handleParseConversionException(e);
300: }
301: state = 4;
302: return;
303: case 1:
304: try {
305: _Name = value;
306: } catch (java.lang.Exception e) {
307: handleParseConversionException(e);
308: }
309: state = 2;
310: return;
311: }
312: } catch (java.lang.RuntimeException e) {
313: handleUnexpectedTextException(value, e);
314: }
315: }
316:
317: private void goto0()
318: throws com.sun.xml.bind.unmarshaller.UnreportedException {
319: int idx;
320: state = 0;
321: idx = context.getAttribute("", "value");
322: if (idx >= 0) {
323: context.consumeAttribute(idx);
324: return;
325: }
326: idx = context.getAttribute("", "name");
327: if (idx >= 0) {
328: context.consumeAttribute(idx);
329: return;
330: }
331: }
332:
333: }
334:
335: }
336:
337: public class Unmarshaller extends
338: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
339:
340: public Unmarshaller(
341: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
342: super (context, "--------");
343: }
344:
345: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
346: return org.jaffa.components.navigation.domain.impl.ComponentActionImpl.this ;
347: }
348:
349: public void enterElement(java.lang.String ___uri,
350: java.lang.String ___local, org.xml.sax.Attributes __atts)
351: throws com.sun.xml.bind.unmarshaller.UnreportedException {
352: switch (state) {
353: case 0:
354: if (("" == ___uri) && ("component-name" == ___local)) {
355: context.pushAttributes(__atts);
356: state = 1;
357: return;
358: }
359: break;
360: case 3:
361: if (("" == ___uri) && ("url-suffix" == ___local)) {
362: context.pushAttributes(__atts);
363: state = 6;
364: return;
365: }
366: if (("" == ___uri) && ("param" == ___local)) {
367: context.pushAttributes(__atts);
368: goto4();
369: return;
370: }
371: revertToParentFromEnterElement(___uri, ___local, __atts);
372: return;
373: }
374: super .enterElement(___uri, ___local, __atts);
375: }
376:
377: public void leaveElement(java.lang.String ___uri,
378: java.lang.String ___local)
379: throws com.sun.xml.bind.unmarshaller.UnreportedException {
380: switch (state) {
381: case 7:
382: if (("" == ___uri) && ("url-suffix" == ___local)) {
383: context.popAttributes();
384: state = 3;
385: return;
386: }
387: break;
388: case 5:
389: if (("" == ___uri) && ("param" == ___local)) {
390: context.popAttributes();
391: state = 3;
392: return;
393: }
394: break;
395: case 2:
396: if (("" == ___uri) && ("component-name" == ___local)) {
397: context.popAttributes();
398: state = 3;
399: return;
400: }
401: break;
402: case 3:
403: revertToParentFromLeaveElement(___uri, ___local);
404: return;
405: }
406: super .leaveElement(___uri, ___local);
407: }
408:
409: public void enterAttribute(java.lang.String ___uri,
410: java.lang.String ___local)
411: throws com.sun.xml.bind.unmarshaller.UnreportedException {
412: switch (state) {
413: case 3:
414: revertToParentFromEnterAttribute(___uri, ___local);
415: return;
416: case 4:
417: if (("" == ___uri) && ("name" == ___local)) {
418: _Param
419: .add(((org.jaffa.components.navigation.domain.impl.ComponentActionImpl.ParamTypeImpl) spawnChildFromEnterAttribute(
420: (org.jaffa.components.navigation.domain.impl.ComponentActionImpl.ParamTypeImpl.class),
421: 5, ___uri, ___local)));
422: return;
423: }
424: if (("" == ___uri) && ("value" == ___local)) {
425: _Param
426: .add(((org.jaffa.components.navigation.domain.impl.ComponentActionImpl.ParamTypeImpl) spawnChildFromEnterAttribute(
427: (org.jaffa.components.navigation.domain.impl.ComponentActionImpl.ParamTypeImpl.class),
428: 5, ___uri, ___local)));
429: return;
430: }
431: break;
432: }
433: super .enterAttribute(___uri, ___local);
434: }
435:
436: public void leaveAttribute(java.lang.String ___uri,
437: java.lang.String ___local)
438: throws com.sun.xml.bind.unmarshaller.UnreportedException {
439: switch (state) {
440: case 3:
441: revertToParentFromLeaveAttribute(___uri, ___local);
442: return;
443: }
444: super .leaveAttribute(___uri, ___local);
445: }
446:
447: public void text(java.lang.String value)
448: throws com.sun.xml.bind.unmarshaller.UnreportedException {
449: try {
450: switch (state) {
451: case 1:
452: try {
453: _ComponentName = value;
454: } catch (java.lang.Exception e) {
455: handleParseConversionException(e);
456: }
457: state = 2;
458: return;
459: case 6:
460: try {
461: _UrlSuffix = value;
462: } catch (java.lang.Exception e) {
463: handleParseConversionException(e);
464: }
465: state = 7;
466: return;
467: case 3:
468: revertToParentFromText(value);
469: return;
470: }
471: } catch (java.lang.RuntimeException e) {
472: handleUnexpectedTextException(value, e);
473: }
474: }
475:
476: public void leaveChild(int nextState)
477: throws com.sun.xml.bind.unmarshaller.UnreportedException {
478: switch (nextState) {
479: case 5:
480: state = 5;
481: return;
482: }
483: super .leaveChild(nextState);
484: }
485:
486: private void goto4()
487: throws com.sun.xml.bind.unmarshaller.UnreportedException {
488: int idx;
489: state = 4;
490: idx = context.getAttribute("", "value");
491: if (idx >= 0) {
492: context.consumeAttribute(idx);
493: return;
494: }
495: idx = context.getAttribute("", "name");
496: if (idx >= 0) {
497: context.consumeAttribute(idx);
498: return;
499: }
500: }
501:
502: }
503:
504: }
|