3361N/A/*
3361N/A * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
3361N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3361N/A *
3361N/A * This code is free software; you can redistribute it and/or modify it
3361N/A * under the terms of the GNU General Public License version 2 only, as
3361N/A * published by the Free Software Foundation. Oracle designates this
3361N/A * particular file as subject to the "Classpath" exception as provided
3361N/A * by Oracle in the LICENSE file that accompanied this code.
3361N/A *
3361N/A * This code is distributed in the hope that it will be useful, but WITHOUT
3361N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3361N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3361N/A * version 2 for more details (a copy is included in the LICENSE file that
3361N/A * accompanied this code).
3361N/A *
3361N/A * You should have received a copy of the GNU General Public License version
3361N/A * 2 along with this work; if not, write to the Free Software Foundation,
3361N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3361N/A *
3361N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3361N/A * or visit www.oracle.com if you need additional information or have any
3361N/A * questions.
3361N/A */
3361N/A
4134N/Apackage com.sun.xml.internal.bind.v2.model.core;
3361N/A
3361N/A/**
3361N/A * Mode of the wildcard.
3361N/A *
4495N/A * @author Kohsuke Kawaguchi
4495N/A */
4092N/Apublic enum WildcardMode {
3949N/A STRICT(false,true), SKIP(true,false), LAX(true,true);
4092N/A
4092N/A public final boolean allowDom;
4092N/A public final boolean allowTypedObject;
4092N/A
4092N/A WildcardMode(boolean allowDom, boolean allowTypedObject) {
4092N/A this.allowDom = allowDom;
4092N/A this.allowTypedObject = allowTypedObject;
4092N/A }
4092N/A}
4092N/A