001: /*
002: * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
003: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
004: *
005: * This code is free software; you can redistribute it and/or modify it
006: * under the terms of the GNU General Public License version 2 only, as
007: * published by the Free Software Foundation. Sun designates this
008: * particular file as subject to the "Classpath" exception as provided
009: * by Sun in the LICENSE file that accompanied this code.
010: *
011: * This code is distributed in the hope that it will be useful, but WITHOUT
012: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
013: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
014: * version 2 for more details (a copy is included in the LICENSE file that
015: * accompanied this code).
016: *
017: * You should have received a copy of the GNU General Public License version
018: * 2 along with this work; if not, write to the Free Software Foundation,
019: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
020: *
021: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
022: * CA 95054 USA or visit www.sun.com if you need additional information or
023: * have any questions.
024: */
025:
026: package com.sun.tools.internal.xjc.reader.xmlschema;
027:
028: import com.sun.xml.internal.xsom.XSAttGroupDecl;
029: import com.sun.xml.internal.xsom.XSAttributeDecl;
030: import com.sun.xml.internal.xsom.XSAttributeUse;
031: import com.sun.xml.internal.xsom.XSComplexType;
032: import com.sun.xml.internal.xsom.XSContentType;
033: import com.sun.xml.internal.xsom.XSElementDecl;
034: import com.sun.xml.internal.xsom.XSModelGroup;
035: import com.sun.xml.internal.xsom.XSModelGroupDecl;
036: import com.sun.xml.internal.xsom.XSParticle;
037: import com.sun.xml.internal.xsom.XSSimpleType;
038: import com.sun.xml.internal.xsom.XSWildcard;
039:
040: /**
041: * This is the first color invoked from the parent component.
042: *
043: * @author Kohsuke Kawaguchi
044: */
045: final class BindBlue extends ColorBinder {
046:
047: public void complexType(XSComplexType ct) {
048: // TODO: implement this method later
049: throw new UnsupportedOperationException();
050: }
051:
052: public void elementDecl(XSElementDecl e) {
053: // TODO: implement this method later
054: throw new UnsupportedOperationException();
055: }
056:
057: public void wildcard(XSWildcard xsWildcard) {
058: // TODO: implement this method later
059: throw new UnsupportedOperationException();
060: }
061:
062: public void attGroupDecl(XSAttGroupDecl xsAttGroupDecl) {
063: // TODO
064: throw new UnsupportedOperationException();
065: }
066:
067: public void attributeDecl(XSAttributeDecl xsAttributeDecl) {
068: // TODO
069: throw new UnsupportedOperationException();
070: }
071:
072: public void attributeUse(XSAttributeUse use) {
073: // TODO
074: throw new UnsupportedOperationException();
075: }
076:
077: public void modelGroupDecl(XSModelGroupDecl xsModelGroupDecl) {
078: // TODO
079: throw new UnsupportedOperationException();
080: }
081:
082: public void modelGroup(XSModelGroup xsModelGroup) {
083: // TODO
084: throw new UnsupportedOperationException();
085: }
086:
087: public void particle(XSParticle xsParticle) {
088: // TODO
089: throw new UnsupportedOperationException();
090: }
091:
092: public void empty(XSContentType xsContentType) {
093: // TODO
094: throw new UnsupportedOperationException();
095: }
096:
097: /**
098: * Components that always map to a type
099: */
100: public void simpleType(XSSimpleType type) {
101: throw new IllegalStateException();
102: }
103: }
|