relaxngcc.codedom
Class CDMethod
java.lang.Object
relaxngcc.codedom.CDMethod
public class CDMethod
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDMethod
public CDMethod(CDLanguageSpecificString forwardspecifier,
CDType returntype,
java.lang.String name,
CDLanguageSpecificString backwardspecifier)
param
public CDVariable param(CDType type,
java.lang.String name)
- Adds a new parameter to this method and returns a reference
to it.
body
public CDBlock body()
- Gets a reference to the method body.
writeTo
public void writeTo(CDFormatter f)
throws java.io.IOException
- Throws:
java.io.IOException