001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.5-b16-fcs
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: 2005.12.21 at 10:30:41 AM EST
006: //
007:
008: package com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl;
009:
010: public class TargetFileImpl
011: extends
012: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.TargetFileTypeImpl
013: implements
014: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.TargetFile,
015: com.sun.xml.bind.RIElement,
016: com.sun.xml.bind.JAXBObject,
017: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.UnmarshallableObject,
018: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.XMLSerializable,
019: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.ValidatableObject {
020:
021: public final static java.lang.Class version = (com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.JAXBVersion.class);
022: private static com.sun.msv.grammar.Grammar schemaFragment;
023:
024: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
025: return (com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.TargetFile.class);
026: }
027:
028: public java.lang.String ____jaxb_ri____getNamespaceURI() {
029: return "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/ModelDrivenGenerator/1.0";
030: }
031:
032: public java.lang.String ____jaxb_ri____getLocalName() {
033: return "TargetFile";
034: }
035:
036: public com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
037: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.UnmarshallingContext context) {
038: return new com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.TargetFileImpl.Unmarshaller(
039: context);
040: }
041:
042: public void serializeBody(
043: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.XMLSerializer context)
044: throws org.xml.sax.SAXException {
045: context
046: .startElement(
047: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/ModelDrivenGenerator/1.0",
048: "TargetFile");
049: super .serializeURIs(context);
050: context.endNamespaceDecls();
051: super .serializeAttributes(context);
052: context.endAttributes();
053: super .serializeBody(context);
054: context.endElement();
055: }
056:
057: public void serializeAttributes(
058: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.XMLSerializer context)
059: throws org.xml.sax.SAXException {
060: }
061:
062: public void serializeURIs(
063: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.XMLSerializer context)
064: throws org.xml.sax.SAXException {
065: }
066:
067: public java.lang.Class getPrimaryInterface() {
068: return (com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.TargetFile.class);
069: }
070:
071: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
072: if (schemaFragment == null) {
073: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
074: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
075: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
076: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
077: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
078: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
079: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
080: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
081: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsq\u0000~\u0000\u0007ppsr\u0000\u001bcom.s"
082: + "un.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/dataty"
083: + "pe/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/String"
084: + "Pair;xq\u0000~\u0000\u0004ppsr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
085: + "\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomi"
086: + "cType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000"
087: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
088: + "\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0013L\u0000\nwhi"
089: + "teSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000"
090: + " http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u00005com.sun.msv.da"
091: + "tatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.su"
092: + "n.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com."
093: + "sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
094: + "\u0004ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~"
095: + "\u0000\u0013L\u0000\fnamespaceURIq\u0000~\u0000\u0013xpq\u0000~\u0000\u0017q\u0000~\u0000\u0016sr\u0000\u001dcom.sun.msv.grammar.Ch"
096: + "oiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun.msv.grammar.AttributeE"
097: + "xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004sr\u0000\u0011java.lang"
098: + ".Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000pq\u0000~\u0000\u000esr\u0000#com.sun.msv.grammar."
099: + "SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0013L\u0000\fnamespaceURIq\u0000"
100: + "~\u0000\u0013xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\blocation"
101: + "t\u0000\u0000sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000"
102: + "\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000#\u0001q\u0000~\u0000+sq\u0000~\u0000\u001fppsq\u0000~\u0000!q\u0000~\u0000$psq\u0000~\u0000\u000bppsr\u0000\"com."
103: + "sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0010q\u0000~\u0000\u0016t\u0000\u0005QName"
104: + "sr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000"
105: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0019q\u0000~\u0000\u001csq\u0000~\u0000\u001dq\u0000~\u00002q\u0000~\u0000\u0016sq\u0000~\u0000%t\u0000\u0004typet\u0000)http://ww"
106: + "w.w3.org/2001/XMLSchema-instanceq\u0000~\u0000+sq\u0000~\u0000%t\u0000\nTargetFilet\u0000Nh"
107: + "ttp://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/ModelDr"
108: + "ivenGenerator/1.0sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000"
109: + "\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Clos"
110: + "edHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j"
111: + "\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/gr"
112: + "ammar/ExpressionPool;xp\u0000\u0000\u0000\u0004\u0001pq\u0000~\u0000 q\u0000~\u0000-q\u0000~\u0000\nq\u0000~\u0000\tx"));
113: }
114: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
115: schemaFragment);
116: }
117:
118: public class Unmarshaller
119: extends
120: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
121:
122: public Unmarshaller(
123: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.UnmarshallingContext context) {
124: super (context, "----");
125: }
126:
127: protected Unmarshaller(
128: com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.runtime.UnmarshallingContext context,
129: int startState) {
130: this (context);
131: state = startState;
132: }
133:
134: public java.lang.Object owner() {
135: return com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.TargetFileImpl.this ;
136: }
137:
138: public void enterElement(java.lang.String ___uri,
139: java.lang.String ___local, java.lang.String ___qname,
140: org.xml.sax.Attributes __atts)
141: throws org.xml.sax.SAXException {
142: int attIdx;
143: outer: while (true) {
144: switch (state) {
145: case 1:
146: attIdx = context.getAttribute("", "location");
147: if (attIdx >= 0) {
148: context.consumeAttribute(attIdx);
149: context.getCurrentHandler().enterElement(
150: ___uri, ___local, ___qname, __atts);
151: return;
152: }
153: break;
154: case 3:
155: revertToParentFromEnterElement(___uri, ___local,
156: ___qname, __atts);
157: return;
158: case 0:
159: if (("TargetFile" == ___local)
160: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/ModelDrivenGenerator/1.0" == ___uri)) {
161: context.pushAttributes(__atts, true);
162: state = 1;
163: return;
164: }
165: break;
166: }
167: super .enterElement(___uri, ___local, ___qname, __atts);
168: break;
169: }
170: }
171:
172: public void leaveElement(java.lang.String ___uri,
173: java.lang.String ___local, java.lang.String ___qname)
174: throws org.xml.sax.SAXException {
175: int attIdx;
176: outer: while (true) {
177: switch (state) {
178: case 1:
179: attIdx = context.getAttribute("", "location");
180: if (attIdx >= 0) {
181: context.consumeAttribute(attIdx);
182: context.getCurrentHandler().leaveElement(
183: ___uri, ___local, ___qname);
184: return;
185: }
186: break;
187: case 3:
188: revertToParentFromLeaveElement(___uri, ___local,
189: ___qname);
190: return;
191: case 2:
192: if (("TargetFile" == ___local)
193: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/ModelDrivenGenerator/1.0" == ___uri)) {
194: context.popAttributes();
195: state = 3;
196: return;
197: }
198: break;
199: }
200: super .leaveElement(___uri, ___local, ___qname);
201: break;
202: }
203: }
204:
205: public void enterAttribute(java.lang.String ___uri,
206: java.lang.String ___local, java.lang.String ___qname)
207: throws org.xml.sax.SAXException {
208: int attIdx;
209: outer: while (true) {
210: switch (state) {
211: case 1:
212: if (("location" == ___local) && ("" == ___uri)) {
213: spawnHandlerFromEnterAttribute(
214: (((com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.TargetFileTypeImpl) com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.TargetFileImpl.this ).new Unmarshaller(
215: context)), 2, ___uri, ___local,
216: ___qname);
217: return;
218: }
219: break;
220: case 3:
221: revertToParentFromEnterAttribute(___uri, ___local,
222: ___qname);
223: return;
224: }
225: super .enterAttribute(___uri, ___local, ___qname);
226: break;
227: }
228: }
229:
230: public void leaveAttribute(java.lang.String ___uri,
231: java.lang.String ___local, java.lang.String ___qname)
232: throws org.xml.sax.SAXException {
233: int attIdx;
234: outer: while (true) {
235: switch (state) {
236: case 1:
237: attIdx = context.getAttribute("", "location");
238: if (attIdx >= 0) {
239: context.consumeAttribute(attIdx);
240: context.getCurrentHandler().leaveAttribute(
241: ___uri, ___local, ___qname);
242: return;
243: }
244: break;
245: case 3:
246: revertToParentFromLeaveAttribute(___uri, ___local,
247: ___qname);
248: return;
249: }
250: super .leaveAttribute(___uri, ___local, ___qname);
251: break;
252: }
253: }
254:
255: public void handleText(final java.lang.String value)
256: throws org.xml.sax.SAXException {
257: int attIdx;
258: outer: while (true) {
259: try {
260: switch (state) {
261: case 1:
262: attIdx = context.getAttribute("", "location");
263: if (attIdx >= 0) {
264: context.consumeAttribute(attIdx);
265: context.getCurrentHandler().text(value);
266: return;
267: }
268: spawnHandlerFromText(
269: (((com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.TargetFileTypeImpl) com.metaboss.sdlctools.frameworks.generation.pluggable.plandetails.impl.TargetFileImpl.this ).new Unmarshaller(
270: context)), 2, value);
271: return;
272: case 3:
273: revertToParentFromText(value);
274: return;
275: }
276: } catch (java.lang.RuntimeException e) {
277: handleUnexpectedTextException(value, e);
278: }
279: break;
280: }
281: }
282:
283: }
284:
285: }
|