public class Form extends Object
Created: 2007-05-27 11:41:02
| Constructor and Description |
|---|
Form(tigase.xml.Element form)
Constructs ...
|
Form(String type,
String title,
String instruction)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
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) |
public void addField(Field field)
field - public void clear()
public void copyValuesFrom(tigase.xml.Element form)
form - public void copyValuesFrom(Form form)
form - public tigase.xml.Element getElement()
public String getInstruction()
public String getTitle()
public String getType()
public boolean is(String var)
var - public void removeField(String var)
var - public void setInstruction(String instruction)
instruction - The instruction to set.public void setTitle(String title)
title - The title to set.public void setType(String type)
type - The type to set.Copyright © 2014 Tigase. All rights reserved.