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 ExcludeImpl implements
011: org.jaffa.security.securityrolesdomain.Exclude,
012: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
013: com.sun.xml.bind.serializer.XMLSerializable,
014: com.sun.xml.bind.validator.ValidatableObject {
015:
016: protected java.lang.String _Name;
017: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
018: .deserialize("\u00ac\u00ed\u0000\u0005sr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expt\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;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\u0001xp\u0002\u00f4\u0018\u0006ppsr\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\u0001L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0000\u00f6\u00ac\u001bppsr\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\u000eL\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\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u000eL\u0000\fnamespaceURIq\u0000~\u0000\u000expq\u0000~\u0000\u0012q\u0000~\u0000\u0011sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u000eL\u0000\fnamespaceURIq\u0000~\u0000\u000exr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004namet\u0000\u0000sr\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\u0000\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
019:
020: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
021: return org.jaffa.security.securityrolesdomain.Exclude.class;
022: }
023:
024: public java.lang.String getName() {
025: return _Name;
026: }
027:
028: public void setName(java.lang.String value) {
029: _Name = value;
030: }
031:
032: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
033: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
034: return new org.jaffa.security.securityrolesdomain.impl.ExcludeImpl.Unmarshaller(
035: context);
036: }
037:
038: public java.lang.Class getPrimaryInterfaceClass() {
039: return PRIMARY_INTERFACE_CLASS();
040: }
041:
042: public void serializeElements(
043: com.sun.xml.bind.serializer.XMLSerializer context)
044: throws org.xml.sax.SAXException {
045: }
046:
047: public void serializeAttributes(
048: com.sun.xml.bind.serializer.XMLSerializer context)
049: throws org.xml.sax.SAXException {
050: context.startAttribute("", "name");
051: try {
052: context.text(((java.lang.String) _Name));
053: } catch (java.lang.Exception e) {
054: com.sun.xml.bind.marshaller.Util
055: .handlePrintConversionException(this , e, context);
056: }
057: context.endAttribute();
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.security.securityrolesdomain.Exclude.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.security.securityrolesdomain.impl.ExcludeImpl.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 0:
091: revertToParentFromEnterElement(___uri, ___local, __atts);
092: return;
093: }
094: super .enterElement(___uri, ___local, __atts);
095: }
096:
097: public void leaveElement(java.lang.String ___uri,
098: java.lang.String ___local)
099: throws com.sun.xml.bind.unmarshaller.UnreportedException {
100: switch (state) {
101: case 0:
102: revertToParentFromLeaveElement(___uri, ___local);
103: return;
104: }
105: super .leaveElement(___uri, ___local);
106: }
107:
108: public void enterAttribute(java.lang.String ___uri,
109: java.lang.String ___local)
110: throws com.sun.xml.bind.unmarshaller.UnreportedException {
111: switch (state) {
112: case 0:
113: if (("" == ___uri) && ("name" == ___local)) {
114: state = 1;
115: return;
116: }
117: revertToParentFromEnterAttribute(___uri, ___local);
118: return;
119: }
120: super .enterAttribute(___uri, ___local);
121: }
122:
123: public void leaveAttribute(java.lang.String ___uri,
124: java.lang.String ___local)
125: throws com.sun.xml.bind.unmarshaller.UnreportedException {
126: switch (state) {
127: case 2:
128: if (("" == ___uri) && ("name" == ___local)) {
129: goto0();
130: return;
131: }
132: break;
133: case 0:
134: revertToParentFromLeaveAttribute(___uri, ___local);
135: return;
136: }
137: super .leaveAttribute(___uri, ___local);
138: }
139:
140: public void text(java.lang.String value)
141: throws com.sun.xml.bind.unmarshaller.UnreportedException {
142: try {
143: switch (state) {
144: case 0:
145: revertToParentFromText(value);
146: return;
147: case 1:
148: try {
149: _Name = value;
150: } catch (java.lang.Exception e) {
151: handleParseConversionException(e);
152: }
153: state = 2;
154: return;
155: }
156: } catch (java.lang.RuntimeException e) {
157: handleUnexpectedTextException(value, e);
158: }
159: }
160:
161: private void goto0()
162: throws com.sun.xml.bind.unmarshaller.UnreportedException {
163: int idx;
164: state = 0;
165: idx = context.getAttribute("", "name");
166: if (idx >= 0) {
167: context.consumeAttribute(idx);
168: return;
169: }
170: }
171:
172: }
173:
174: }
|