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 * Container for customization declarations. 325N/A * We use JAXB ourselves and parse this object from "xs:annotation". 325N/A * Kohsuke Kawaguchi (kohsuke,kawaguchi@sun.com) 325N/A * Documentation taken from <xs:documentation>s. 325N/A * Returns true if this {@link BindInfo} doesn't contain any useful 325N/A * This flag is used to discard unused {@link BindInfo}s early to save memory footprint. 325N/A /** list of individual declarations. */ 325N/A * Receives {@link BIDeclaration}s and other DOMs. 325N/A // this is really PITA! I can't get the source location 325N/A continue;
// this is definitely not a customization 325N/A * Gets the location of this annotation in the source file. 325N/A * If the declarations are in fact specified in the source 325N/A * code, a non-null valid object will be returned. 325N/A * If this BindInfo is generated internally by XJC, then 325N/A * null will be returned. 325N/A * Sets the owner schema component and a reference to BGMBuilder. 325N/A * This method is called from the BGMBuilder before 325N/A * any BIDeclaration inside it is used. 325N/A * Back pointer to the BGMBuilder which is building 325N/A * a BGM from schema components including this customization. 325N/A /** Adds a new declaration. */ 325N/A * Gets the first declaration with a given name, or null 325N/A * Gets all the declarations 325N/A * Gets the documentation parsed from <xs:documentation>s. 325N/A * The returned collection is to be added to {@link JDocComment#append(Object)}. 325N/A // TODO: FIXME: correctly turn individual items to String including DOM 325N/A * Merges all the declarations inside the given BindInfo 325N/A /** Gets the number of declarations. */ 325N/A * Gets the list of {@link CPluginCustomization}s from this. 325N/A * Note that calling this method marks all those plug-in customizations 325N/A * as 'used'. So call it only when it's really necessary. 325N/A continue;
// this isn't a plugin customization 325N/A /** An instance with the empty contents. */ 325N/A * Lazily prepared {@link JAXBContext}. 325N/A * Lazily parsed schema for the binding file.