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.03.30 at 07:05:42 PST
006: //
007:
008: package org.jaffa.tools.patternmetaengine.domain.impl;
009:
010: public class AppBuilderImpl
011: extends
012: org.jaffa.tools.patternmetaengine.domain.impl.AppBuilderTypeImpl
013: implements org.jaffa.tools.patternmetaengine.domain.AppBuilder,
014: com.sun.xml.bind.RIElement,
015: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
016: com.sun.xml.bind.serializer.XMLSerializable,
017: com.sun.xml.bind.validator.ValidatableObject {
018:
019: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
020: .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\u0002\u0081\u008dopp\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\u0002\u0081\u008ddppsq\u0000~\u0000\u0007\u0000\u00feNeppsq\u0000~\u0000\u0007\u0000\u00a9\u0089\u0095ppsq\u0000~\u0000\u0000\u0000T\u00c4\u00c8pp\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\u0000T\u00c4\u00bdppsr\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\u0004\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\bapp-namet\u0000\u0000sq\u0000~\u0000\u0000\u0000T\u00c4\u00c8pp\u0000q\u0000~\u0000\u0010sq\u0000~\u0000!t\u0000\u000epackage-prefixq\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\u0000T\u00c4\u00cbppsq\u0000~\u0000\u0000\u0000T\u00c4\u00c8pp\u0000q\u0000~\u0000\u0010sq\u0000~\u0000!t\u0000\u0012domain-object-pathq\u0000~\u0000%sq\u0000~\u0000)\u0001\u0083>\u00fappsq\u0000~\u0000\u0000\u0001\u0083>\u00f7pp\u0000sq\u0000~\u0000\u0000\u0001\u0083>\u00ecpp\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\b\u0001\u0083>\u00e1ppsq\u0000~\u0000)\u0001\u0083>\u00d6sr\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\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004\u0001\u0083>\u00d3q\u0000~\u00006psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004\u0000\u0000\u0000\bsq\u0000~\u00005\u0001q\u0000~\u0000:sr\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\u0004\u0000\u0000\u0000\tq\u0000~\u0000;psq\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~\u0000!t\u0000\u000bapp-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~\u0000H[\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\u00bfppq\u0000~\u0000/pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\nppppppq\u0000~\u0000\tppppppppppq\u0000~\u0000\u000bppppppppppppq\u0000~\u00004ppppppppppq\u0000~\u0000+q\u0000~\u00003ppppppppppppppppppppp");
021:
022: public java.lang.String ____jaxb_ri____getNamespaceURI() {
023: return "";
024: }
025:
026: public java.lang.String ____jaxb_ri____getLocalName() {
027: return "app-builder";
028: }
029:
030: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
031: return org.jaffa.tools.patternmetaengine.domain.AppBuilder.class;
032: }
033:
034: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
035: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
036: return new org.jaffa.tools.patternmetaengine.domain.impl.AppBuilderImpl.Unmarshaller(
037: context);
038: }
039:
040: public java.lang.Class getPrimaryInterfaceClass() {
041: return PRIMARY_INTERFACE_CLASS();
042: }
043:
044: public void serializeElements(
045: com.sun.xml.bind.serializer.XMLSerializer context)
046: throws org.xml.sax.SAXException {
047: context.startElement("", "app-builder");
048: super .serializeAttributes(context);
049: context.endAttributes();
050: super .serializeElements(context);
051: context.endElement();
052: }
053:
054: public void serializeAttributes(
055: com.sun.xml.bind.serializer.XMLSerializer context)
056: throws org.xml.sax.SAXException {
057: }
058:
059: public void serializeAttributeBodies(
060: com.sun.xml.bind.serializer.XMLSerializer context)
061: throws org.xml.sax.SAXException {
062: }
063:
064: public java.lang.Class getPrimaryInterface() {
065: return (org.jaffa.tools.patternmetaengine.domain.AppBuilder.class);
066: }
067:
068: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
069: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
070: schemaFragment);
071: }
072:
073: public class Unmarshaller extends
074: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
075:
076: public Unmarshaller(
077: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
078: super (context, "----");
079: }
080:
081: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
082: return org.jaffa.tools.patternmetaengine.domain.impl.AppBuilderImpl.this ;
083: }
084:
085: public void enterElement(java.lang.String ___uri,
086: java.lang.String ___local, org.xml.sax.Attributes __atts)
087: throws com.sun.xml.bind.unmarshaller.UnreportedException {
088: switch (state) {
089: case 0:
090: if (("" == ___uri) && ("app-builder" == ___local)) {
091: context.pushAttributes(__atts);
092: state = 1;
093: return;
094: }
095: break;
096: case 3:
097: revertToParentFromEnterElement(___uri, ___local, __atts);
098: return;
099: case 1:
100: if (("" == ___uri) && ("app-name" == ___local)) {
101: spawnSuperClassFromEnterElement(
102: (((org.jaffa.tools.patternmetaengine.domain.impl.AppBuilderTypeImpl) org.jaffa.tools.patternmetaengine.domain.impl.AppBuilderImpl.this ).new Unmarshaller(
103: context)), 2, ___uri, ___local,
104: __atts);
105: return;
106: }
107: break;
108: }
109: super .enterElement(___uri, ___local, __atts);
110: }
111:
112: public void leaveElement(java.lang.String ___uri,
113: java.lang.String ___local)
114: throws com.sun.xml.bind.unmarshaller.UnreportedException {
115: switch (state) {
116: case 2:
117: if (("" == ___uri) && ("app-builder" == ___local)) {
118: context.popAttributes();
119: state = 3;
120: return;
121: }
122: break;
123: case 3:
124: revertToParentFromLeaveElement(___uri, ___local);
125: return;
126: }
127: super .leaveElement(___uri, ___local);
128: }
129:
130: public void enterAttribute(java.lang.String ___uri,
131: java.lang.String ___local)
132: throws com.sun.xml.bind.unmarshaller.UnreportedException {
133: switch (state) {
134: case 3:
135: revertToParentFromEnterAttribute(___uri, ___local);
136: return;
137: }
138: super .enterAttribute(___uri, ___local);
139: }
140:
141: public void leaveAttribute(java.lang.String ___uri,
142: java.lang.String ___local)
143: throws com.sun.xml.bind.unmarshaller.UnreportedException {
144: switch (state) {
145: case 3:
146: revertToParentFromLeaveAttribute(___uri, ___local);
147: return;
148: }
149: super .leaveAttribute(___uri, ___local);
150: }
151:
152: public void text(java.lang.String value)
153: throws com.sun.xml.bind.unmarshaller.UnreportedException {
154: try {
155: switch (state) {
156: case 3:
157: revertToParentFromText(value);
158: return;
159: }
160: } catch (java.lang.RuntimeException e) {
161: handleUnexpectedTextException(value, e);
162: }
163: }
164:
165: public void leaveChild(int nextState)
166: throws com.sun.xml.bind.unmarshaller.UnreportedException {
167: switch (nextState) {
168: case 2:
169: state = 2;
170: return;
171: }
172: super.leaveChild(nextState);
173: }
174:
175: }
176:
177: }
|