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.09.05 at 03:09:41 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml11.jaxb10.impl;
009:
010: public class KeyNameImpl
011: implements
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.KeyName,
013: com.sun.xml.bind.RIElement,
014: com.sun.xml.bind.JAXBObject,
015: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject,
016: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable,
017: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject {
018:
019: protected java.lang.String _Value;
020: public final static java.lang.Class version = (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.JAXBVersion.class);
021: private static com.sun.msv.grammar.Grammar schemaFragment;
022:
023: public KeyNameImpl() {
024: }
025:
026: public KeyNameImpl(java.lang.String value) {
027: _Value = value;
028: }
029:
030: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
031: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.KeyName.class);
032: }
033:
034: public java.lang.String ____jaxb_ri____getNamespaceURI() {
035: return "http://www.w3.org/2000/09/xmldsig#";
036: }
037:
038: public java.lang.String ____jaxb_ri____getLocalName() {
039: return "KeyName";
040: }
041:
042: public java.lang.String getValue() {
043: return _Value;
044: }
045:
046: public void setValue(java.lang.String value) {
047: _Value = value;
048: }
049:
050: public com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
051: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
052: return new com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyNameImpl.Unmarshaller(
053: context);
054: }
055:
056: public void serializeBody(
057: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
058: throws org.xml.sax.SAXException {
059: context.startElement("http://www.w3.org/2000/09/xmldsig#",
060: "KeyName");
061: context.endNamespaceDecls();
062: context.endAttributes();
063: try {
064: context.text(((java.lang.String) _Value), "Value");
065: } catch (java.lang.Exception e) {
066: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.Util
067: .handlePrintConversionException(this , e, context);
068: }
069: context.endElement();
070: }
071:
072: public void serializeAttributes(
073: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
074: throws org.xml.sax.SAXException {
075: }
076:
077: public void serializeURIs(
078: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
079: throws org.xml.sax.SAXException {
080: }
081:
082: public java.lang.Class getPrimaryInterface() {
083: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.KeyName.class);
084: }
085:
086: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
087: if (schemaFragment == null) {
088: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
089: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
090: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
091: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
092: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
093: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
094: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
095: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
096: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.g"
097: + "rammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datat"
098: + "ype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000"
099: + "~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000#com.sun.m"
100: + "sv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com"
101: + ".sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.su"
102: + "n.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.da"
103: + "tatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/"
104: + "lang/String;L\u0000\btypeNameq\u0000~\u0000\u0014L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/dat"
105: + "atype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XM"
106: + "LSchemat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProce"
107: + "ssor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSp"
108: + "aceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression"
109: + "$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u000fpsr\u0000\u001bcom.sun.msv.uti"
110: + "l.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014"
111: + "xpq\u0000~\u0000\u0018q\u0000~\u0000\u0017sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~"
112: + "\u0000\bppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~"
113: + "\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u000fpsq\u0000~\u0000\nppsr\u0000\"com.sun.msv.datat"
114: + "ype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0011q\u0000~\u0000\u0017t\u0000\u0005QNamesr\u00005com.sun.m"
115: + "sv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
116: + "\u001aq\u0000~\u0000\u001dsq\u0000~\u0000\u001eq\u0000~\u0000\'q\u0000~\u0000\u0017sr\u0000#com.sun.msv.grammar.SimpleNameClas"
117: + "s\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun"
118: + ".msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.o"
119: + "rg/2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression"
120: + "$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u000e\u0001q\u0000~\u00001sq\u0000~\u0000+t\u0000\u0007KeyN"
121: + "amet\u0000\"http://www.w3.org/2000/09/xmldsig#sr\u0000\"com.sun.msv.gram"
122: + "mar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/gram"
123: + "mar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Expr"
124: + "essionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006p"
125: + "arentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0002\u0001pq\u0000~\u0000\tq\u0000~"
126: + "\u0000!x"));
127: }
128: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
129: schemaFragment);
130: }
131:
132: public class Unmarshaller
133: extends
134: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
135:
136: public Unmarshaller(
137: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
138: super (context, "----");
139: }
140:
141: protected Unmarshaller(
142: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
143: int startState) {
144: this (context);
145: state = startState;
146: }
147:
148: public java.lang.Object owner() {
149: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyNameImpl.this ;
150: }
151:
152: public void enterElement(java.lang.String ___uri,
153: java.lang.String ___local, java.lang.String ___qname,
154: org.xml.sax.Attributes __atts)
155: throws org.xml.sax.SAXException {
156: int attIdx;
157: outer: while (true) {
158: switch (state) {
159: case 3:
160: revertToParentFromEnterElement(___uri, ___local,
161: ___qname, __atts);
162: return;
163: case 0:
164: if (("KeyName" == ___local)
165: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
166: context.pushAttributes(__atts, true);
167: state = 1;
168: return;
169: }
170: break;
171: }
172: super .enterElement(___uri, ___local, ___qname, __atts);
173: break;
174: }
175: }
176:
177: public void leaveElement(java.lang.String ___uri,
178: java.lang.String ___local, java.lang.String ___qname)
179: throws org.xml.sax.SAXException {
180: int attIdx;
181: outer: while (true) {
182: switch (state) {
183: case 3:
184: revertToParentFromLeaveElement(___uri, ___local,
185: ___qname);
186: return;
187: case 2:
188: if (("KeyName" == ___local)
189: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
190: context.popAttributes();
191: state = 3;
192: return;
193: }
194: break;
195: }
196: super .leaveElement(___uri, ___local, ___qname);
197: break;
198: }
199: }
200:
201: public void enterAttribute(java.lang.String ___uri,
202: java.lang.String ___local, java.lang.String ___qname)
203: throws org.xml.sax.SAXException {
204: int attIdx;
205: outer: while (true) {
206: switch (state) {
207: case 3:
208: revertToParentFromEnterAttribute(___uri, ___local,
209: ___qname);
210: return;
211: }
212: super .enterAttribute(___uri, ___local, ___qname);
213: break;
214: }
215: }
216:
217: public void leaveAttribute(java.lang.String ___uri,
218: java.lang.String ___local, java.lang.String ___qname)
219: throws org.xml.sax.SAXException {
220: int attIdx;
221: outer: while (true) {
222: switch (state) {
223: case 3:
224: revertToParentFromLeaveAttribute(___uri, ___local,
225: ___qname);
226: return;
227: }
228: super .leaveAttribute(___uri, ___local, ___qname);
229: break;
230: }
231: }
232:
233: public void handleText(final java.lang.String value)
234: throws org.xml.sax.SAXException {
235: int attIdx;
236: outer: while (true) {
237: try {
238: switch (state) {
239: case 3:
240: revertToParentFromText(value);
241: return;
242: case 1:
243: state = 2;
244: eatText1(value);
245: return;
246: }
247: } catch (java.lang.RuntimeException e) {
248: handleUnexpectedTextException(value, e);
249: }
250: break;
251: }
252: }
253:
254: private void eatText1(final java.lang.String value)
255: throws org.xml.sax.SAXException {
256: try {
257: _Value = value;
258: } catch (java.lang.Exception e) {
259: handleParseConversionException(e);
260: }
261: }
262:
263: }
264:
265: }
|