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.10.22 at 04:07:37 PDT
006: //
007:
008: package org.jaffa.tools.patternmetaengine.domain.impl;
009:
010: public class ApplicationBuilderImpl
011: extends
012: org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderTypeImpl
013: implements
014: org.jaffa.tools.patternmetaengine.domain.ApplicationBuilder,
015: com.sun.xml.bind.RIElement,
016: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
017: com.sun.xml.bind.serializer.XMLSerializable,
018: com.sun.xml.bind.validator.ValidatableObject {
019:
020: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
021: .deserialize("\u00ac\u00ed\u0000\u0005sr\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\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\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\u0003xp\u0015`x\u008fpp\u0000sr\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\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004\u0015`x\u0084ppsq\u0000~\u0000\u0007\u0011\u00e9whppsq\u0000~\u0000\u0007\u0010\u00f33\u00a6ppsq\u0000~\u0000\u0007\u000fA7\u008fppsq\u0000~\u0000\u0007\r\u008f;pppsq\u0000~\u0000\u0007\u000b\u00dd?Qppsq\u0000~\u0000\u0007\n+C2ppsq\u0000~\u0000\u0007\byG\u0013ppsq\u0000~\u0000\u0007\u0006\u00c7J\u00f4ppsq\u0000~\u0000\u0007\u0005\u0015N\u00e0ppsq\u0000~\u0000\u0007\u0003c\u00f8#ppsq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fpp\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\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004\u0001\u00b1\u00fc\u0004ppsr\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\u001dL\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\u0004\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001dL\u0000\fnamespaceURIq\u0000~\u0000\u001dxpq\u0000~\u0000!q\u0000~\u0000 sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001dL\u0000\fnamespaceURIq\u0000~\u0000\u001dxr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0010application-namet\u0000\u0000sq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fpp\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u000epackage-prefixq\u0000~\u0000-sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\b\u0001\u00b1V\u00b8ppsq\u0000~\u0000\u0000\u0001\u00b1V\u00adsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sq\u0000~\u0000\u0015\u0001\u00b1V\u00a2ppsr\u0000$com.sun.msv.datatype.xsd.BooleanType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001aq\u0000~\u0000 t\u0000\u0007booleansr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$2\u0087z9\u00ee\u00f8,N\u0005\u0002\u0000\u0000xq\u0000~\u0000#q\u0000~\u0000&sq\u0000~\u0000\'q\u0000~\u00009q\u0000~\u0000 sq\u0000~\u0000)t\u0000\u0012full-package-namesq\u0000~\u0000-sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004\u0000\u0000\u0000\tsq\u0000~\u00004\u0001psq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fpp\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u000boutput-rootq\u0000~\u0000-sq\u0000~\u00001\u0001\u00b1\u00fc\u001appsq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fq\u0000~\u00005p\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u000boutput-javaq\u0000~\u0000-q\u0000~\u0000@sq\u0000~\u00001\u0001\u00b1\u00fc\u001appsq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fq\u0000~\u00005p\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u000eoutput-findersq\u0000~\u0000-q\u0000~\u0000@sq\u0000~\u00001\u0001\u00b1\u00fc\u001appsq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fq\u0000~\u00005p\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u000eoutput-viewersq\u0000~\u0000-q\u0000~\u0000@sq\u0000~\u00001\u0001\u00b1\u00fc\u001appsq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fq\u0000~\u00005p\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u000eoutput-lookupsq\u0000~\u0000-q\u0000~\u0000@sq\u0000~\u00001\u0001\u00b1\u00fc\u001appsq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fq\u0000~\u00005p\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u0012output-maintenanceq\u0000~\u0000-q\u0000~\u0000@sr\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\u0003xq\u0000~\u0000\u0004\u0001\u00b1\u00fc\u0012ppsq\u0000~\u0000\u0000\u0001\u00b1\u00fc\u000fpp\u0000q\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u0012domain-object-pathq\u0000~\u0000-sq\u0000~\u0000Y\u0000\u00f6C\u00bdppsq\u0000~\u0000\u0000\u0000\u00f6C\u00bapp\u0000sq\u0000~\u0000\u0000\u0000\u00f6C\u00afpp\u0000sq\u0000~\u00001\u0000\u00f6C\u00a4ppsq\u0000~\u0000Y\u0000\u00f6C\u0099q\u0000~\u00005psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004\u0000\u00f6C\u0096q\u0000~\u00005psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004\u0000\u0000\u0000\bq\u0000~\u0000Aq\u0000~\u0000gsr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000*q\u0000~\u0000@sq\u0000~\u0000)t\u0000/org.jaffa.tools.patternmetaengine.domain.Modulet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000)t\u0000\u0006moduleq\u0000~\u0000-sq\u0000~\u00001\u0003w\u0001\u0017ppsq\u0000~\u0000d\u0003w\u0001\fq\u0000~\u00005pq\u0000~\u0000\u0018sq\u0000~\u0000)t\u0000\u0007versionq\u0000~\u0000-q\u0000~\u0000@sq\u0000~\u0000)t\u0000\u0013application-builderq\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~\u0000v[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0016\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppq\u0000~\u0000Eq\u0000~\u0000Iq\u0000~\u0000Mq\u0000~\u0000Qq\u0000~\u0000Upppppppppppppppppppq\u0000~\u0000\npppppppppppq\u0000~\u0000cppppppppq\u0000~\u0000opq\u0000~\u0000bppppppppppppppppq\u0000~\u00002pq\u0000~\u0000\u0012q\u0000~\u0000\u0011ppppq\u0000~\u0000_ppppppq\u0000~\u0000\u0010pq\u0000~\u0000\tpppppppppq\u0000~\u0000\u000fpppppppppppq\u0000~\u0000\u000epppppppppppq\u0000~\u0000\rpppppppppppq\u0000~\u0000\fpppq\u0000~\u0000\u000bpppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0013pq\u0000~\u0000[");
022:
023: public java.lang.String ____jaxb_ri____getNamespaceURI() {
024: return "";
025: }
026:
027: public java.lang.String ____jaxb_ri____getLocalName() {
028: return "application-builder";
029: }
030:
031: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
032: return org.jaffa.tools.patternmetaengine.domain.ApplicationBuilder.class;
033: }
034:
035: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
036: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
037: return new org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderImpl.Unmarshaller(
038: context);
039: }
040:
041: public java.lang.Class getPrimaryInterfaceClass() {
042: return PRIMARY_INTERFACE_CLASS();
043: }
044:
045: public void serializeElements(
046: com.sun.xml.bind.serializer.XMLSerializer context)
047: throws org.xml.sax.SAXException {
048: context.startElement("", "application-builder");
049: super .serializeAttributes(context);
050: context.endAttributes();
051: super .serializeElements(context);
052: context.endElement();
053: }
054:
055: public void serializeAttributes(
056: com.sun.xml.bind.serializer.XMLSerializer context)
057: throws org.xml.sax.SAXException {
058: }
059:
060: public void serializeAttributeBodies(
061: com.sun.xml.bind.serializer.XMLSerializer context)
062: throws org.xml.sax.SAXException {
063: }
064:
065: public java.lang.Class getPrimaryInterface() {
066: return (org.jaffa.tools.patternmetaengine.domain.ApplicationBuilder.class);
067: }
068:
069: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
070: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
071: schemaFragment);
072: }
073:
074: public class Unmarshaller extends
075: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
076:
077: public Unmarshaller(
078: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
079: super (context, "----");
080: }
081:
082: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
083: return org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderImpl.this ;
084: }
085:
086: public void enterElement(java.lang.String ___uri,
087: java.lang.String ___local, org.xml.sax.Attributes __atts)
088: throws com.sun.xml.bind.unmarshaller.UnreportedException {
089: switch (state) {
090: case 3:
091: revertToParentFromEnterElement(___uri, ___local, __atts);
092: return;
093: case 1:
094: if (("" == ___uri) && ("application-name" == ___local)) {
095: spawnSuperClassFromEnterElement(
096: (((org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderTypeImpl) org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderImpl.this ).new Unmarshaller(
097: context)), 2, ___uri, ___local,
098: __atts);
099: return;
100: }
101: break;
102: case 0:
103: if (("" == ___uri)
104: && ("application-builder" == ___local)) {
105: context.pushAttributes(__atts);
106: goto1();
107: return;
108: }
109: break;
110: }
111: super .enterElement(___uri, ___local, __atts);
112: }
113:
114: public void leaveElement(java.lang.String ___uri,
115: java.lang.String ___local)
116: throws com.sun.xml.bind.unmarshaller.UnreportedException {
117: switch (state) {
118: case 3:
119: revertToParentFromLeaveElement(___uri, ___local);
120: return;
121: case 2:
122: if (("" == ___uri)
123: && ("application-builder" == ___local)) {
124: context.popAttributes();
125: state = 3;
126: return;
127: }
128: break;
129: }
130: super .leaveElement(___uri, ___local);
131: }
132:
133: public void enterAttribute(java.lang.String ___uri,
134: java.lang.String ___local)
135: throws com.sun.xml.bind.unmarshaller.UnreportedException {
136: switch (state) {
137: case 3:
138: revertToParentFromEnterAttribute(___uri, ___local);
139: return;
140: case 1:
141: if (("" == ___uri) && ("version" == ___local)) {
142: spawnSuperClassFromEnterAttribute(
143: (((org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderTypeImpl) org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderImpl.this ).new Unmarshaller(
144: context)), 2, ___uri, ___local);
145: return;
146: }
147: break;
148: }
149: super .enterAttribute(___uri, ___local);
150: }
151:
152: public void leaveAttribute(java.lang.String ___uri,
153: java.lang.String ___local)
154: throws com.sun.xml.bind.unmarshaller.UnreportedException {
155: switch (state) {
156: case 3:
157: revertToParentFromLeaveAttribute(___uri, ___local);
158: return;
159: }
160: super .leaveAttribute(___uri, ___local);
161: }
162:
163: public void text(java.lang.String value)
164: throws com.sun.xml.bind.unmarshaller.UnreportedException {
165: try {
166: switch (state) {
167: case 3:
168: revertToParentFromText(value);
169: return;
170: }
171: } catch (java.lang.RuntimeException e) {
172: handleUnexpectedTextException(value, e);
173: }
174: }
175:
176: public void leaveChild(int nextState)
177: throws com.sun.xml.bind.unmarshaller.UnreportedException {
178: switch (nextState) {
179: case 2:
180: state = 2;
181: return;
182: }
183: super .leaveChild(nextState);
184: }
185:
186: private void goto1()
187: throws com.sun.xml.bind.unmarshaller.UnreportedException {
188: int idx;
189: state = 1;
190: idx = context.getAttribute("", "version");
191: if (idx >= 0) {
192: context.consumeAttribute(idx);
193: return;
194: }
195: }
196:
197: }
198:
199: }
|