summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/rmi/CORBA/ValueHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/rmi/CORBA/ValueHandler.java')
-rw-r--r--libjava/classpath/javax/rmi/CORBA/ValueHandler.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/libjava/classpath/javax/rmi/CORBA/ValueHandler.java b/libjava/classpath/javax/rmi/CORBA/ValueHandler.java
index acc44aa2f4a..cc855b80826 100644
--- a/libjava/classpath/javax/rmi/CORBA/ValueHandler.java
+++ b/libjava/classpath/javax/rmi/CORBA/ValueHandler.java
@@ -51,32 +51,32 @@ import org.omg.SendingContext.RunTime;
* of the value handler is returned by {@link Util#createValueHandler} and can
* be altered by setting the system property "javax.rmi.CORBA.ValueHandlerClass"
* to the name of the alternative class that must implement ValueHandler.
- *
+ *
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
*/
public interface ValueHandler
{
/**
* Get CORBA repository Id for the given java class.
- *
+ *
* The syntax of the repository ID is the initial ?RMI:?, followed by the Java
* class name, followed by name, followed by a hash code string, followed
* optionally by a serialization version UID string.
- *
+ *
* For Java identifiers that contain illegal OMG IDL identifier characters
* such as ?$?, any such illegal characters are replaced by ?\U? followed by
* the 4 hexadecimal characters (in upper case) representing the Unicode
* value.
- *
+ *
* @param clz a class for that the repository Id is required.
- *
+ *
* @return the class repository id.
*/
String getRMIRepositoryID(Class clz);
/**
* Returns the CodeBase for this ValueHandler.
- *
+ *
* @return the codebase.
*/
RunTime getRunTimeCodeBase();
@@ -86,7 +86,7 @@ public interface ValueHandler
* content to the stream. Such classes implement either {@link Streamable}
* (default marshalling, generated by IDL-to-java compiler) or
* {@link CustomMarshal} (the user-programmed marshalling).
- *
+ *
* @param clz the class being checked.
* @return true if the class supports custom or default marshalling, false
* otherwise.
@@ -97,14 +97,14 @@ public interface ValueHandler
* Read value from the CORBA input stream in the case when the value is not
* Streamable or CustomMarshall'ed. The fields of the class being written will
* be accessed using reflection.
- *
+ *
* @param in a CORBA stream to read.
* @param offset the current position in the input stream.
* @param clz the type of value being read.
* @param repositoryID the repository Id of the value being read.
* @param sender the sending context that should provide data about the
* message originator.
- *
+ *
* @return the object, extracted from the stream.
*/
Serializable readValue(InputStream in, int offset, Class clz,
@@ -113,18 +113,18 @@ public interface ValueHandler
/**
* When the value provides the writeReplace method, the result of this method
* is written. Otherwise, the value itself is written.
- *
+ *
* @param value the value that should be written to the stream.
- *
+ *
* @return the value that will be actually written to the stream.
*/
Serializable writeReplace(Serializable value);
/**
* Write value to CORBA output stream using java senmatics.
- *
+ *
* @param out a stream to write into.
* @param value a java object to write.
*/
void writeValue(OutputStream out, Serializable value);
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud