< prev index next >
src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/reflect/Accessor.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, 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
@@ -54,17 +54,17 @@
import org.xml.sax.SAXException;
/**
* Accesses a particular property of a bean.
- * <p/>
- * <p/>
+ * <p>
+ * <p>
* This interface encapsulates the access to the actual data store.
* The intention is to generate implementations for a particular bean
* and a property to improve the performance.
- * <p/>
- * <p/>
+ * <p>
+ * <p>
* Accessor can be used as a receiver. Upon receiving an object
* it sets that to the field.
*
* @author Kohsuke Kawaguchi (kk@kohsuke.org)
* @see Accessor.FieldReflection
@@ -117,30 +117,30 @@
public abstract void set(BeanT bean, ValueT value) throws AccessorException;
/**
* Sets the value without adapting the value.
- * <p/>
+ * <p>
* This ugly entry point is only used by JAX-WS.
* See {@link JAXBRIContext#getElementPropertyAccessor}
*/
public Object getUnadapted(BeanT bean) throws AccessorException {
return get(bean);
}
/**
* Returns true if this accessor wraps an adapter.
- * <p/>
+ * <p>
* This method needs to be used with care, but it helps some optimization.
*/
public boolean isAdapted() {
return false;
}
/**
* Sets the value without adapting the value.
- * <p/>
+ * <p>
* This ugly entry point is only used by JAX-WS.
* See {@link JAXBRIContext#getElementPropertyAccessor}
*/
public void setUnadapted(BeanT bean, Object value) throws AccessorException {
set(bean, (ValueT) value);
@@ -392,12 +392,12 @@
}
}
/**
* A version of {@link GetterSetterReflection} that doesn't have any setter.
- * <p/>
- * <p/>
+ * <p>
+ * <p>
* This provides a user-friendly error message.
*/
public static class GetterOnlyReflection<BeanT, ValueT> extends GetterSetterReflection<BeanT, ValueT> {
public GetterOnlyReflection(Method getter) {
super(getter, null);
@@ -409,12 +409,12 @@
}
}
/**
* A version of {@link GetterSetterReflection} thaat doesn't have any getter.
- * <p/>
- * <p/>
+ * <p>
+ * <p>
* This provides a user-friendly error message.
*/
public static class SetterOnlyReflection<BeanT, ValueT> extends GetterSetterReflection<BeanT, ValueT> {
public SetterOnlyReflection(Method setter) {
super(null, setter);
< prev index next >