gdaniels 02/04/18 14:15:17
Modified: java/src/org/apache/axis/encoding
SerializationContextImpl.java
java/src/org/apache/axis/providers/java JavaProvider.java
Log:
Remove dead code, fix javaDocs.
Revision Changes Path
1.21 +23 -3
xml-axis/java/src/org/apache/axis/encoding/SerializationContextImpl.java
Index: SerializationContextImpl.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/encoding/SerializationContextImpl.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- SerializationContextImpl.java 15 Apr 2002 02:35:57 -0000 1.20
+++ SerializationContextImpl.java 18 Apr 2002 21:15:16 -0000 1.21
@@ -500,9 +500,6 @@
* @param attributes are additional attributes
* @param value is the object to serialize
* @param javaType is the "real" type of the value.
- * @param xmlType is the qname of the type or null.
- * @param sendNull determines whether to send null values.
- * @param sendType determines whether to set xsi:type attribute.
*/
public void serialize(QName elemQName,
Attributes attributes,
@@ -512,6 +509,29 @@
serialize(elemQName, attributes, value, javaType, null, true, true);
}
+ /**
+ * Serialize the indicated value as an element with the name
+ * indicated by elemQName.
+ * The attributes are additional attribute to be serialized on the element.
+ * The value is the object being serialized. (It may be serialized
+ * directly or serialized as an mult-ref'd item)
+ * The value is an Object, which may be a wrapped primitive, the
+ * javaType is the actual unwrapped object type.
+ * The xmlType (if specified) is the QName of the type that is used to set
+ * xsi:type. If not specified, xsi:type is set by using the javaType to
+ * find an appopriate xmlType from the TypeMappingRegistry.
+ * The sendNull flag indicates whether null values should be sent over the
+ * wire (default is to send such values with xsi:nil="true").
+ * The sendType flag indicates whether the xsi:type flag should be sent
+ * (default is true).
+ * @param elemQName is the QName of the element
+ * @param attributes are additional attributes
+ * @param value is the object to serialize
+ * @param javaType is the "real" type of the value.
+ * @param xmlType is the qname of the type or null.
+ * @param sendNull determines whether to send null values.
+ * @param sendType determines whether to set xsi:type attribute.
+ */
public void serialize(QName elemQName,
Attributes attributes,
Object value,
1.48 +2 -6
xml-axis/java/src/org/apache/axis/providers/java/JavaProvider.java
Index: JavaProvider.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/providers/java/JavaProvider.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- JavaProvider.java 8 Apr 2002 22:15:00 -0000 1.47
+++ JavaProvider.java 18 Apr 2002 21:15:17 -0000 1.48
@@ -180,7 +180,7 @@
* Process the current message. Side-effect resEnv to create return value.
*
* @param msgContext self-explanatory
- * @param clsName the class name of the ServiceHandler
+ * @param serviceName the class name of the ServiceHandler
* @param allowedMethods the 'method name' of ditto
* @param reqEnv the request envelope
* @param resEnv the response envelope
@@ -231,8 +231,6 @@
allowedMethods = null;
try {
- int i ;
-
Object obj = getServiceObject(msgContext,
service,
clsName);
@@ -307,8 +305,6 @@
try {
String url = msgContext.getStrProp(MessageContext.TRANS_URL);
- String urn = (String)msgContext.getTargetService();
- String description = "Service";
Class cls = getServiceClass(msgContext, getServiceClassName(service));
@@ -417,7 +413,7 @@
* AxisServiceConfig object. This allows us to obtain metadata about
* a class' configuration without instantiating an object of that class.
*
- * @param an object, which may be a Class
+ * @param obj an object, which may be a Class
*/
public AxisServiceConfig getConfiguration(Object obj)
{