|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for AdapterDefinition.
The purpose with this interface is to let an Adapter implementation define it's parameters to be used by the Panama System.
RuntimeAdapter
Field Summary |
Type | Field |
---|---|
static java.lang.String |
ADAPTERDEFINITION
Deprecated. The XML Tag. |
Method Summary |
Type | Method |
---|---|
InitArgument |
createInit(ArgumentType type,
java.lang.String parameterName,
java.lang.String comment,
java.lang.String[] options)
Deprecated. Create a new init parameter. |
InputArgument |
createInput(ArgumentType type,
java.lang.String parameterName,
java.lang.String comment,
java.lang.String[] options)
Deprecated. Create a new input parameter. |
OutputArgument |
createOutput(java.lang.String parameterName,
java.lang.String comment)
Deprecated. Create a new output parameter. |
java.lang.String |
getComment()
Deprecated. |
org.w3c.dom.Element |
getElement()
Deprecated. |
org.w3c.dom.Element |
getElement(org.w3c.dom.Document owner)
Deprecated. |
InitArgument |
getInit(java.lang.String name)
Deprecated. Get an Init Argument by name. |
java.util.Enumeration |
getInits()
Deprecated. Gets the enumeration list of all init names. |
InputArgument |
getInput(java.lang.String name)
Deprecated. Get an Input Argument by name. |
Arguments |
getInputArguments()
Deprecated. Gets an Arguments with all input arguments. |
java.util.Enumeration |
getInputs()
Deprecated. Gets the enumeration list of all input names. |
OutputArgument |
getOutput(java.lang.String name)
Deprecated. Get an output Argument by name. |
java.util.Enumeration |
getOutputs()
Deprecated. Gets the enumeration list of all output names. |
void |
setComment(java.lang.String comment)
Deprecated. |
Field Detail |
public static final java.lang.String ADAPTERDEFINITION
Method Detail |
public org.w3c.dom.Element getElement()
public org.w3c.dom.Element getElement(org.w3c.dom.Document owner)
owner
- the document owning the created elementpublic java.lang.String getComment()
public void setComment(java.lang.String comment)
Comment
- for the adapter definition.public InitArgument getInit(java.lang.String name)
public InputArgument getInput(java.lang.String name)
public OutputArgument getOutput(java.lang.String name)
public InitArgument createInit(ArgumentType type, java.lang.String parameterName, java.lang.String comment, java.lang.String[] options)
type
- one of SINGLE_LINE, MULTI_LINE or ENUM.parameterName
- the non null name of the parameter.comment
- the comment or null if none.options
- if the type is ENUM then
this is a list of possible values, otherwise null.PanamaRuntimeException
- when the parameter is invalid.ArgumentType
public InputArgument createInput(ArgumentType type, java.lang.String parameterName, java.lang.String comment, java.lang.String[] options)
type
- one of SINGLE_LINE, MULTI_LINE or ENUM.parameterName
- the name of the parameter.comment
- the comment or null if none.options
- if the type is ENUM then this is
a list of possible values, otherwise null.PanamaRuntimeException
- when the parameter is invalid.ArgumentType
public OutputArgument createOutput(java.lang.String parameterName, java.lang.String comment)
parameterName
- the name of the parameter.comment
- the comment or null if none.PanamaRuntimeException
- when the parameter is invalid.public java.util.Enumeration getInputs()
InputArgument
public Arguments getInputArguments()
InputArgument
public java.util.Enumeration getOutputs()
OutputArgument.
public java.util.Enumeration getInits()
InitArgument
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |