public class MDE_FormFactory
extends java.lang.Object
Constructor and Description |
---|
MDE_FormFactory(SPECCHIOClient specchioClient)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MD_FormDescriptor |
getDefaultFormDescriptor()
Get a form descriptor.
|
MDE_Form |
getForm(MD_FormDescriptor d)
Get a form.
|
public MDE_FormFactory(SPECCHIOClient specchioClient)
specchioClient
- the client object to use for connecting to the serverpublic MDE_Form getForm(MD_FormDescriptor d) throws SPECCHIOClientException
d
- the descriptor of the desired formSPECCHIOClientException
- could not download category information from the serverpublic MD_FormDescriptor getDefaultFormDescriptor() throws SPECCHIOClientException
SPECCHIOClientException
- error contacting the server