org.enhydra.xml.xmlc.codegen
Class JavaParameter
java.lang.Object
|
+--org.enhydra.xml.xmlc.codegen.JavaVariable
|
+--org.enhydra.xml.xmlc.codegen.JavaParameter
- public final class JavaParameter
- extends JavaVariable
Class to store a method parameter.
Objects of this class are immutable.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaParameter
public JavaParameter(String name,
String type,
String[] doc)
- Constructor with doc array.
- Parameters:
name
- The parameter name.type
- The parameter type.doc
- The parameter documentation, where each row is a line of the
document. If null, no documention is created.- See Also:
JavaModifiers
JavaParameter
public JavaParameter(String name,
String type,
String doc)
- Constructor with doc string.
- Parameters:
name
- The parameter name.type
- The parameter type.doc
- The parameter documentation.
If null, no documention is created.- See Also:
JavaModifiers
printJavaDoc
public void printJavaDoc(IndentWriter out)
- Print the param JavaDoc entry for this parameter, if there is any.
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.