325N/A * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 325N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 325N/A * This code is free software; you can redistribute it and/or modify it 325N/A * under the terms of the GNU General Public License version 2 only, as 325N/A * published by the Free Software Foundation. Oracle designates this 325N/A * particular file as subject to the "Classpath" exception as provided 325N/A * by Oracle in the LICENSE file that accompanied this code. 325N/A * This code is distributed in the hope that it will be useful, but WITHOUT 325N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 325N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 325N/A * version 2 for more details (a copy is included in the LICENSE file that 325N/A * accompanied this code). 325N/A * You should have received a copy of the GNU General Public License version 325N/A * 2 along with this work; if not, write to the Free Software Foundation, 325N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 325N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 325N/A * or visit www.oracle.com if you need additional information or have any 325N/A * Root of the XML Schema binder. 325N/A * @author Kohsuke Kawaguchi 325N/A * True if the compiler is running in the extension mode 325N/A * (as opposed to the strict conformance mode.) 325N/A * If this is non-null, this package name takes over 325N/A * all the schema customizations. 325N/A * If this is non-null, this package name will be 325N/A * used when no customization is specified. 325N/A * Lazily computed {@link RefererFinder}. 325N/A // additional error check 325N/A // Reports unused customizations to the user as errors. 325N/A /** List up all the global bindings. */ 325N/A // promote any global bindings in the schema 325N/A // collect all global customizations 325N/A // acknowledge this customization and report an error 325N/A // otherwise the user will see "customization is attached to a wrong place" error, 325N/A // no global customization is present. 325N/A // code generation mode 325N/A // check XJC extensions and realize them 325N/A // obtain the name conversion mode 325N/A // attach global conversions to the appropriate simple types 325N/A * The empty global binding is set as the default, so that 325N/A * there will be no need to test if the value is null. 325N/A * Gets the global bindings. 325N/A * Gets the particle binder for this binding. 325N/A * Name converter that implements "XML->Java name conversion" 325N/A * as specified in the spec. 325N/A * This object abstracts the detail that we use different name 325N/A * conversion depending on the customization. 325N/A * This object should be used to perform any name conversion 325N/A * needs, instead of the JJavaName class in CodeModel. 325N/A /** Fill-in the contents of each classes. */ 325N/A continue;
// no mapping for this package 325N/A /** Reports an error if there are more than one jaxb:schemaBindings customization. */ 325N/A * Calls {@link ClassSelector} for each item in the iterator 325N/A * to populate class items if there is any. 325N/A // look for the schema-wide customization 325N/A * Gets or creates the BindInfo object associated to a schema component. 325N/A * Always return a non-null valid BindInfo object. 325N/A * Even if no declaration was specified, this method creates 325N/A * a new BindInfo so that new decls can be added. 325N/A // XSOM is read-only, so we cannot add new annotations. 325N/A // for components that didn't have annotations, 325N/A // we maintain an external map. 325N/A * Used as a constant instance to represent the empty {@link BindInfo}. 325N/A * Gets the BindInfo object associated to a schema component. 325N/A * always return a valid {@link BindInfo} object. If none 325N/A * is specified for the given component, a dummy empty BindInfo 325N/A * Gets the BindInfo object associated to a schema component. 325N/A * null if no bind info is associated to this schema component. 325N/A * A map that stores binding declarations augmented by XJC. 325N/A * Gets the {@link BIDom} object that applies to the given particle. 325N/A // if not, the term might have one. 325N/A // type could also have one, in case of the dom customization 325N/A // similarly the model group in a model group definition may have one. 325N/A * Returns true if the component should be processed by purple. 325N/A // attribute use always maps to a property 325N/A // simple type always maps to a type, hence we should take purple 325N/A // attribute wildcards always maps to a property. 325N/A // element wildcards should have been processed with particle binders 325N/A * If the component maps to a property, forwards to purple, otherwise to green. 325N/A * If the component is mapped to a type, this method needs to return true. 325N/A * See the chart at the class javadoc. 325N/A * Gets the shared instance of the identity transformer. 325N/A * Find all types that refer to the given complex type. 325N/A * Returns the QName of the declaration. 325N/A * if the declaration is anonymous. 325N/A * Derives a name from a schema component. 325N/A * XML-to-Java name conversion. 325N/A * The base name. This should be things like element names 325N/A * The component from which the base name was taken. 325N/A * Used to determine how names are modified.