org.zerofun.maven.im.jelly
Class JabberMessageTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.zerofun.maven.im.jelly.JabberMessageTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class JabberMessageTag
extends org.apache.commons.jelly.TagSupport

This class is the proxy which allows the Jelly script to invoke the functionality of the actual JavaBean class which provides the actual message sending functionality.

Version:
$Revision: 1.2 $
Author:
Sam Mulube
See Also:
JabberMessageBean

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
JabberMessageTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput arg0)
           
protected  void execute()
          Invokes the main execute method of the contained bean that performs the actual message sending functionality.
 void setFrom(java.lang.String from)
          Set by the ${maven.im.jabber.from} property.
 void setHost(java.lang.String host)
          Set by the ${maven.im.jabber.host} property.
 void setMessage(java.lang.String message)
          Set by the ${maven.im.message} property.
 void setPassword(java.lang.String password)
          Set by the ${maven.im.jabber.password} property.
 void setPort(int port)
          Set by the ${maven.im.jabber.port} property.
 void setSecure(boolean secure)
          Set by the ${maven.im.jabber.secure} property.
 void setSecurePort(int securePort)
          Set by the ${maven.im.jabber.secure.port} property.
 void setTo(java.lang.String to)
          Set by the ${maven.im.jabber.to} property.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JabberMessageTag

public JabberMessageTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput arg0)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Specified by:
doTag in interface org.apache.commons.jelly.Tag
Specified by:
doTag in class org.apache.commons.jelly.TagSupport
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
See Also:
Tag.doTag(org.apache.commons.jelly.XMLOutput)

execute

protected void execute()
                throws org.apache.commons.jelly.JellyTagException
Invokes the main execute method of the contained bean that performs the actual message sending functionality.

Throws:
org.apache.commons.jelly.JellyTagException

setFrom

public void setFrom(java.lang.String from)
Set by the ${maven.im.jabber.from} property.

Parameters:
from - the from String to set
See Also:
JabberMessageBean.setFrom(String)

setHost

public void setHost(java.lang.String host)
Set by the ${maven.im.jabber.host} property.

Parameters:
host - the host String to set
See Also:
JabberMessageBean.setHost(String)

setMessage

public void setMessage(java.lang.String message)
Set by the ${maven.im.message} property.

Parameters:
message - the message String to set
See Also:
JabberMessageBean.setMessage(String)

setPassword

public void setPassword(java.lang.String password)
Set by the ${maven.im.jabber.password} property.

Parameters:
password - the password String to set
See Also:
JabberMessageBean.setPassword(String)

setPort

public void setPort(int port)
Set by the ${maven.im.jabber.port} property.

Parameters:
port - the port number int to set
See Also:
JabberMessageBean.setPort(int)

setSecure

public void setSecure(boolean secure)
Set by the ${maven.im.jabber.secure} property.

Parameters:
secure - the secure boolean value to set
See Also:
JabberMessageBean.setSecure(boolean)

setSecurePort

public void setSecurePort(int securePort)
Set by the ${maven.im.jabber.secure.port} property.

Parameters:
securePort - the secure port number int to set
See Also:
JabberMessageBean.setSecurePort(int)

setTo

public void setTo(java.lang.String to)
Set by the ${maven.im.jabber.to} property.

Parameters:
to - the to String to set
See Also:
JabberMessageBean.setTo(String)


Copyright © 2003 Zerofun Software. All Rights Reserved.