BaseSerializable
| Kind of class: | interface |
|---|---|
| Inherits from: | none |
| Known subinterfaces: | |
| Version: | 16 May 2005 |
| Author: | Arthur Clemens |
| Classpath: | BaseSerializable |
| File last modified: | Friday, 17 June 2005, 01:14:41 |
These classes demonstrate the use of inheriting doc comments. The Javadoc rules (see Sun's Javadoc reference on Automatic Copying of Method Comments) describe two ways how doc comments are inherited:
When a method implements an interface method, VisDoc generates a subheading "Specified by" in the documentation for the overriding method, with a link to the method it is implementing. This happens whether or not the comment is inherited.
- Implicit inheriting - when a method overrides a method in a superclass, or implements a method from an interface, the comment written in the superclass/interface are transferred to the subclass.
- Explicit inheriting - using the
@inheritDoctag. This is useful when a comment is added to the existing superclass' method comment.
When a method implements an interface method, VisDoc generates a subheading "Specified by" in the documentation for the overriding method, with a link to the method it is implementing. This happens whether or not the comment is inherited.
Instance methods
serialize
function serialize (
inObject:Object) : String
BaseSerializable method comment. Once when I was six years old I saw a magnificent picture in a book, called True Stories from Nature, about the primeval forest. It was a picture of a boa constrictor in the act of swallowing an animal.
Parameters:
inObject:
BaseSerializable param comment.
Returns:
- BaseSerializable return comment.
Example:
- BaseSerializable field comment.