tigase.form
Class Form

java.lang.Object
  extended by tigase.form.Form

public class Form
extends Object

Created: 2007-05-27 11:41:02

Version:
$Rev:43 $
Author:
bmalkow

Constructor Summary
Form(tigase.xml.Element form)
          Constructs ...
Form(String type, String title, String instruction)
          Constructs ...
 
Method Summary
 void addField(Field field)
          Method description
 void clear()
          Method description
 void copyValuesFrom(tigase.xml.Element form)
          Method description
 void copyValuesFrom(Form form)
          Method description
 Field get(String var)
          Method description
 List<Field> getAllFields()
          Method description
 Boolean getAsBoolean(String var)
          Method description
 Integer getAsInteger(String var)
           
 String getAsString(String var)
          Method description
 String[] getAsStrings(String var)
          Method description
 tigase.xml.Element getElement()
          Method description
 String getInstruction()
           
 String getTitle()
           
 String getType()
           
 boolean is(String var)
          Method description
 void removeField(String var)
          Method description
 void setInstruction(String instruction)
           
 void setTitle(String title)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Form

public Form(tigase.xml.Element form)
Constructs ...

Parameters:
form -

Form

public Form(String type,
            String title,
            String instruction)
Constructs ...

Parameters:
type -
title -
instruction -
Method Detail

addField

public void addField(Field field)
Method description

Parameters:
field -

clear

public void clear()
Method description


copyValuesFrom

public void copyValuesFrom(tigase.xml.Element form)
Method description

Parameters:
form -

copyValuesFrom

public void copyValuesFrom(Form form)
Method description

Parameters:
form -

get

public Field get(String var)
Method description

Parameters:
var -
Returns:

getAllFields

public List<Field> getAllFields()
Method description

Returns:

getAsBoolean

public Boolean getAsBoolean(String var)
Method description

Parameters:
var -
Returns:

getAsInteger

public Integer getAsInteger(String var)
Parameters:
var -
Returns:

getAsString

public String getAsString(String var)
Method description

Parameters:
var -
Returns:

getAsStrings

public String[] getAsStrings(String var)
Method description

Parameters:
var -
Returns:

getElement

public tigase.xml.Element getElement()
Method description

Returns:

getInstruction

public String getInstruction()
Returns:
Returns the instruction.

getTitle

public String getTitle()
Returns:
Returns the title.

getType

public String getType()
Returns:
Returns the type.

is

public boolean is(String var)
Method description

Parameters:
var -
Returns:

removeField

public void removeField(String var)
Method description

Parameters:
var -

setInstruction

public void setInstruction(String instruction)
Parameters:
instruction - The instruction to set.

setTitle

public void setTitle(String title)
Parameters:
title - The title to set.

setType

public void setType(String type)
Parameters:
type - The type to set.


Copyright © 2013 Tigase. All Rights Reserved.