|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.generator.tags.AbstractSandBaseTag
org.sandev.generator.tags.AbstractSandClassTag
org.sandev.generator.tags.AbstractSandNodeTag
org.sandev.generator.tags.NodeTagSubscribe
public class NodeTagSubscribe
Handle @sand.subscribe declarations.
Declares that this node receives messages of the specified message
class sent from a broadcasting node (as configured).
parameters:
example effect: An onDelivery method is generated in the node base
class, and called when the specified message type is received via
asynchronous send. A corresponding messaging configuration parameter
is generated in the node instance class.
| Field Summary | |
|---|---|
protected java.lang.String |
comment
Any comment text that was specified for this tag declaration |
protected java.lang.String |
configParam
The configuration parameter that holds the messaging setup for a declared node instance. |
static java.lang.String |
CORENAME
The core name of this tag. |
protected java.lang.String |
inboundMessage
The fully qualified name of the inbound message class for this asynchronous call. |
static java.lang.String |
TAGNAME
Our fixed name, used for hash lookup and text parsing. |
| Fields inherited from class org.sandev.generator.tags.AbstractSandBaseTag |
|---|
PREFIX |
| Constructor Summary | |
|---|---|
NodeTagSubscribe()
|
|
| Method Summary | |
|---|---|
static boolean |
exists(com.sun.javadoc.ClassDoc cd)
Returns true if the given class contains this tag, false otherwise. |
java.lang.String |
getComment()
accessor for comment |
java.lang.String |
getConfigParam()
accessor for configParam |
java.lang.String |
getFrameworkMethodSig(boolean shortNames)
Return the undecorated signature of the messaging method generated for this tag. |
java.lang.String |
getInboundMessage()
accessor for inboundMessage |
java.lang.String |
getInstanceConfigParam()
Return the name of the NodeInstance data member which will hold the messaging configuration for this declaration. |
java.lang.String |
getName()
Return our tag name |
static NodeTagSubscribe[] |
getNodeTagSubscribes(com.sun.javadoc.ClassDoc cd)
Factory method to return the NodeTagSubscribe elements of a class. |
java.lang.String |
getUserMethodSig(boolean shortNames)
Return the undecorated signature of the messaging method generated for this tag, which the user would typically override. |
void |
init(com.sun.javadoc.Tag tag)
Initialize this instance from the tag information. |
static void |
register(java.util.Map tagletMap)
Registers this taglet when triggered by the taglet declaration being loaded in as part of the build. |
void |
setComment(java.lang.String text)
mutator for comment |
void |
setConfigParam(java.lang.String text)
mutator for configParam |
void |
setInboundMessage(java.lang.String text)
mutator for inboundMessage |
java.lang.String |
toString(com.sun.javadoc.Tag tag)
Return a documentation description of this tag. |
java.lang.String |
toString(com.sun.javadoc.Tag[] tags)
Return a documentation description of these tags. |
| Methods inherited from class org.sandev.generator.tags.AbstractSandClassTag |
|---|
inType |
| Methods inherited from class org.sandev.generator.tags.AbstractSandBaseTag |
|---|
inConstructor, inField, inMethod, inOverview, inPackage, isInlineTag, registerHelper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CORENAME
protected java.lang.String inboundMessage
protected java.lang.String configParam
protected java.lang.String comment
public static final java.lang.String TAGNAME
| Constructor Detail |
|---|
public NodeTagSubscribe()
| Method Detail |
|---|
public java.lang.String getInboundMessage()
public void setInboundMessage(java.lang.String text)
public java.lang.String getConfigParam()
public void setConfigParam(java.lang.String text)
public java.lang.String getComment()
public void setComment(java.lang.String text)
public void init(com.sun.javadoc.Tag tag)
public java.lang.String getFrameworkMethodSig(boolean shortNames)
public java.lang.String getUserMethodSig(boolean shortNames)
public java.lang.String getInstanceConfigParam()
public java.lang.String getName()
public static void register(java.util.Map tagletMap)
public java.lang.String toString(com.sun.javadoc.Tag tag)
toString(Tag[] tags) for consistent processing. We
always want a listing, even with only one tag present.
toString in interface com.sun.tools.doclets.TaglettoString in class AbstractSandBaseTagtag - the Tag representation of this custom tag.public java.lang.String toString(com.sun.javadoc.Tag[] tags)
toString in interface com.sun.tools.doclets.TaglettoString in class AbstractSandBaseTagtags - the array of Tags representing of this custom tag.public static NodeTagSubscribe[] getNodeTagSubscribes(com.sun.javadoc.ClassDoc cd)
public static boolean exists(com.sun.javadoc.ClassDoc cd)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||