src/share/jaxws_classes/com/sun/xml/internal/bind/InternalAccessorFactory.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 29,48 **** import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor; import javax.xml.bind.JAXBException; /** * A means to allow the user to provide customized Accessor ! * to be used by JAXB. Adds ability to supress warnings. */ public interface InternalAccessorFactory extends AccessorFactory { /** * Access a field of the class. * * @param bean the class to be processed. * @param f the field within the class to be accessed. * @param readOnly the isStatic value of the field's modifier. ! * @param supressWarnings supress reflection warnings * @return Accessor the accessor for this field * * @throws JAXBException reports failures of the method. */ Accessor createFieldAccessor(Class bean, Field f, boolean readOnly, boolean supressWarnings) throws JAXBException; --- 29,48 ---- import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor; import javax.xml.bind.JAXBException; /** * A means to allow the user to provide customized Accessor ! * to be used by JAXB. Adds ability to suppress warnings. */ public interface InternalAccessorFactory extends AccessorFactory { /** * Access a field of the class. * * @param bean the class to be processed. * @param f the field within the class to be accessed. * @param readOnly the isStatic value of the field's modifier. ! * @param supressWarnings suppress reflection warnings * @return Accessor the accessor for this field * * @throws JAXBException reports failures of the method. */ Accessor createFieldAccessor(Class bean, Field f, boolean readOnly, boolean supressWarnings) throws JAXBException;