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.06 at 09:44:44 PST
006: //
007:
008: package org.jaffa.security.securityrolesdomain.impl;
009:
010: public class RolesImpl extends
011: org.jaffa.security.securityrolesdomain.impl.RolesTypeImpl
012: implements org.jaffa.security.securityrolesdomain.Roles,
013: com.sun.xml.bind.RIElement,
014: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
015: com.sun.xml.bind.serializer.XMLSerializable,
016: com.sun.xml.bind.validator.ValidatableObject {
017:
018: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
019: .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\u0001$S.pp\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\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\u0001$S#ppsr\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$S\u0018sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000\u0001$S\u0015q\u0000~\u0000\u000ep\u0000sq\u0000~\u0000\u0000\u0001$S\npp\u0000sq\u0000~\u0000\u0007\u0001$R\u00ffppsq\u0000~\u0000\n\u0001$R\u00f4q\u0000~\u0000\u000epsr\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$R\u00f1q\u0000~\u0000\u000epsr\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~\u0000\r\u0001q\u0000~\u0000\u0016sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\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\u0017psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001exq\u0000~\u0000\u0019t\u0000+org.jaffa.security.securityrolesdomain.Rolet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u001dt\u0000\u0004rolet\u0000\u0000q\u0000~\u0000\u001csq\u0000~\u0000\u001dt\u0000\u0005rolesq\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\u0004\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0012ppppppppppq\u0000~\u0000\u0011ppppppppppppppppppppppppq\u0000~\u0000\fppppppppppq\u0000~\u0000\tppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
020:
021: public java.lang.String ____jaxb_ri____getNamespaceURI() {
022: return "";
023: }
024:
025: public java.lang.String ____jaxb_ri____getLocalName() {
026: return "roles";
027: }
028:
029: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
030: return org.jaffa.security.securityrolesdomain.Roles.class;
031: }
032:
033: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
034: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
035: return new org.jaffa.security.securityrolesdomain.impl.RolesImpl.Unmarshaller(
036: context);
037: }
038:
039: public java.lang.Class getPrimaryInterfaceClass() {
040: return PRIMARY_INTERFACE_CLASS();
041: }
042:
043: public void serializeElements(
044: com.sun.xml.bind.serializer.XMLSerializer context)
045: throws org.xml.sax.SAXException {
046: context.startElement("", "roles");
047: super .serializeAttributes(context);
048: context.endAttributes();
049: super .serializeElements(context);
050: context.endElement();
051: }
052:
053: public void serializeAttributes(
054: com.sun.xml.bind.serializer.XMLSerializer context)
055: throws org.xml.sax.SAXException {
056: }
057:
058: public void serializeAttributeBodies(
059: com.sun.xml.bind.serializer.XMLSerializer context)
060: throws org.xml.sax.SAXException {
061: }
062:
063: public java.lang.Class getPrimaryInterface() {
064: return (org.jaffa.security.securityrolesdomain.Roles.class);
065: }
066:
067: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
068: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
069: schemaFragment);
070: }
071:
072: public class Unmarshaller extends
073: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
074:
075: public Unmarshaller(
076: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
077: super (context, "----");
078: }
079:
080: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
081: return org.jaffa.security.securityrolesdomain.impl.RolesImpl.this ;
082: }
083:
084: public void enterElement(java.lang.String ___uri,
085: java.lang.String ___local, org.xml.sax.Attributes __atts)
086: throws com.sun.xml.bind.unmarshaller.UnreportedException {
087: switch (state) {
088: case 3:
089: revertToParentFromEnterElement(___uri, ___local, __atts);
090: return;
091: case 0:
092: if (("" == ___uri) && ("roles" == ___local)) {
093: context.pushAttributes(__atts);
094: state = 1;
095: return;
096: }
097: break;
098: case 1:
099: if (("" == ___uri) && ("role" == ___local)) {
100: spawnSuperClassFromEnterElement(
101: (((org.jaffa.security.securityrolesdomain.impl.RolesTypeImpl) org.jaffa.security.securityrolesdomain.impl.RolesImpl.this ).new Unmarshaller(
102: context)), 2, ___uri, ___local,
103: __atts);
104: return;
105: }
106: break;
107: }
108: super .enterElement(___uri, ___local, __atts);
109: }
110:
111: public void leaveElement(java.lang.String ___uri,
112: java.lang.String ___local)
113: throws com.sun.xml.bind.unmarshaller.UnreportedException {
114: switch (state) {
115: case 3:
116: revertToParentFromLeaveElement(___uri, ___local);
117: return;
118: case 1:
119: if (("" == ___uri) && ("roles" == ___local)) {
120: spawnSuperClassFromLeaveElement(
121: (((org.jaffa.security.securityrolesdomain.impl.RolesTypeImpl) org.jaffa.security.securityrolesdomain.impl.RolesImpl.this ).new Unmarshaller(
122: context)), 2, ___uri, ___local);
123: return;
124: }
125: break;
126: case 2:
127: if (("" == ___uri) && ("roles" == ___local)) {
128: context.popAttributes();
129: state = 3;
130: return;
131: }
132: break;
133: }
134: super .leaveElement(___uri, ___local);
135: }
136:
137: public void enterAttribute(java.lang.String ___uri,
138: java.lang.String ___local)
139: throws com.sun.xml.bind.unmarshaller.UnreportedException {
140: switch (state) {
141: case 3:
142: revertToParentFromEnterAttribute(___uri, ___local);
143: return;
144: }
145: super .enterAttribute(___uri, ___local);
146: }
147:
148: public void leaveAttribute(java.lang.String ___uri,
149: java.lang.String ___local)
150: throws com.sun.xml.bind.unmarshaller.UnreportedException {
151: switch (state) {
152: case 3:
153: revertToParentFromLeaveAttribute(___uri, ___local);
154: return;
155: }
156: super .leaveAttribute(___uri, ___local);
157: }
158:
159: public void text(java.lang.String value)
160: throws com.sun.xml.bind.unmarshaller.UnreportedException {
161: try {
162: switch (state) {
163: case 3:
164: revertToParentFromText(value);
165: return;
166: }
167: } catch (java.lang.RuntimeException e) {
168: handleUnexpectedTextException(value, e);
169: }
170: }
171:
172: public void leaveChild(int nextState)
173: throws com.sun.xml.bind.unmarshaller.UnreportedException {
174: switch (nextState) {
175: case 2:
176: state = 2;
177: return;
178: }
179: super.leaveChild(nextState);
180: }
181:
182: }
183:
184: }
|