tigase.form
Class Form
java.lang.Object
tigase.form.Form
public class Form
- extends Object
Created: 2007-05-27 11:41:02
- Version:
- $Rev:43 $
- Author:
- bmalkow
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Form
public Form(tigase.xml.Element form)
Form
public Form(String type,
String title,
String instruction)
addField
public void addField(Field field)
clear
public void clear()
copyValuesFrom
public void copyValuesFrom(tigase.xml.Element form)
copyValuesFrom
public void copyValuesFrom(Form form)
get
public Field get(String var)
getAllFields
public List<Field> getAllFields()
getAsBoolean
public Boolean getAsBoolean(String var)
getAsInteger
public Integer getAsInteger(String var)
- Parameters:
var -
- Returns:
getAsString
public String getAsString(String var)
getAsStrings
public String[] getAsStrings(String var)
getElement
public tigase.xml.Element getElement()
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)
removeField
public void removeField(String 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 © 2012 Tigase. All Rights Reserved.