9.5

Table Of Contents
DescriptionTypes
NameMembers
QuarkXPress Server request that includes instances of request objects
chained together.
QRequestrequest
RequestParameters
Generic class for executing any request and for adding dynamic properties to a request.Description
Web service data objectType
DescriptionType
NameMembers
Namespace of the request (for example, jpeg).String
requestNamespace
Parameter array for the specified request (for
example, jpegquality).
NameValueParam[]params
You can use this class to send any request for which a specific class does not exist. When this
request exists in the chain, its namespace is concatenated with the namespaces of other requests.
That means the namespace provided here can be null.
Additional
comments
The parameters of this class can be used to parameterize a request being sent to the server.
QRequestContext rc = new QRequestContext();
RequestParameters request = new RequestParameters();
Example, object
model
request.setRequestNamespace("jpeg");
rc.setRequest = request;
NameValueParam p1 = new NameValueParam();
p1.setParamName = "jpegquality";
p1.setTextValue = "4";
request.setParams(new NameValueParam[]{p1});
NameValueParam
Generic class for adding dynamic properties to a request. This class is specifically for requests that take
a box name/id as the parameter name and the box content as the parameter value.
Description
Web service data objectType
DescriptionType
NameMembers
Name of the parameter. In most cases this will be the name/ID of
the box.
String
paramName
Text value of the box. (You can set either textValue or
streamValue.)
String
textValue
Stream value of the box. (You can set either textValue or
streamValue.)
byte[]
streamValue
The MIME content type of the parameter.String
contentType
QContentData
A response to a Web Services call to QuarkXPress Server.Description
Web service data objectType
48 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER