org.apache.axis.wsdl.symbolTable

Class Parameter


public class Parameter
extends java.lang.Object

This class simply collects

Field Summary

static byte
IN
Field IN
static byte
INOUT
Field INOUT
static byte
OUT
Field OUT

Method Summary

MimeInfo
getMIMEInfo()
Get the MIME type of the parameter.
byte
getMode()
Get the mode (IN, INOUT, OUT) of the parameter.
String
getName()
Get the name of this parameter.
QName
getQName()
Get the fully qualified name of this parameter.
TypeEntry
getType()
Get the TypeEntry of the parameter.
boolean
isInHeader()
Is this parameter in the input message header?
boolean
isOmittable()
boolean
isOutHeader()
Is this parameter in the output message header?
void
setInHeader(boolean inHeader)
Set the inHeader flag for this parameter.
void
setMIMEInfo(MimeInfo mimeInfo)
Set the MIME type of the parameter.
void
setMode(byte mode)
Set the mode (IN, INOUT, OUT) of the parameter.
void
setName(String name)
Set the name of the parameter.
void
setOmittable(boolean omittable)
void
setOutHeader(boolean outHeader)
Set the outHeader flag for this parameter.
void
setQName(QName qname)
Set the QName of the parameter.
void
setType(TypeEntry type)
Set the TypeEntry of the parameter.
String
toString()
Method toString

Field Details

IN

public static final byte IN
Field IN
Field Value:
1

INOUT

public static final byte INOUT
Field INOUT
Field Value:
3

OUT

public static final byte OUT
Field OUT
Field Value:
2

Method Details

getMIMEInfo

public MimeInfo getMIMEInfo()
Get the MIME type of the parameter.
Returns:

getMode

public byte getMode()
Get the mode (IN, INOUT, OUT) of the parameter.
Returns:

getName

public String getName()
Get the name of this parameter. This call is equivalent to getQName().getLocalPart().
Returns:

getQName

public QName getQName()
Get the fully qualified name of this parameter.
Returns:

getType

public TypeEntry getType()
Get the TypeEntry of the parameter.
Returns:

isInHeader

public boolean isInHeader()
Is this parameter in the input message header?
Returns:

isOmittable

public boolean isOmittable()

isOutHeader

public boolean isOutHeader()
Is this parameter in the output message header?
Returns:

setInHeader

public void setInHeader(boolean inHeader)
Set the inHeader flag for this parameter.
Parameters:
inHeader -

setMIMEInfo

public void setMIMEInfo(MimeInfo mimeInfo)
Set the MIME type of the parameter.
Parameters:
mimeInfo -

setMode

public void setMode(byte mode)
Set the mode (IN, INOUT, OUT) of the parameter. If the input to this method is not one of IN, INOUT, OUT, then the value remains unchanged.
Parameters:
mode -

setName

public void setName(String name)
Set the name of the parameter. This replaces both the name and the QName (the namespaces becomes "").
Parameters:
name -

setOmittable

public void setOmittable(boolean omittable)

setOutHeader

public void setOutHeader(boolean outHeader)
Set the outHeader flag for this parameter.
Parameters:
outHeader -

setQName

public void setQName(QName qname)
Set the QName of the parameter.
Parameters:
qname -

setType

public void setType(TypeEntry type)
Set the TypeEntry of the parameter.
Parameters:
type -

toString

public String toString()
Method toString
Returns:

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.