2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 47
Q
Request
RequestParameters
NameValueParam
Description
Base class for all request objects (such as PDFRenderRequest). All request
objects share some common data members, which are described below.
Type Web service data object
Members
N
ame
T
ypes
D
escription
request QRequest
QuarkXPress Server
request that includes
instances of request
objects chained
together.
Description
Generic class for executing any request and for adding dynamic properties
to a request.
Type Web service data object
Members
Name Type Description
requestNamespace String
Namespace of the
request (for example,
jpeg).
params NameValueParam[]
Parameter array for the
specified request (for
example, jpegquality).
Additional comments
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. The parameters of this class can be
used to parameterize a request being sent to the server.
Example, object model
QRequestContext rc = new QRequestContext(); RequestParameters request
= new RequestParameters(); request.setRequestNamespace(“jpeg”);
rc.setRequest = request; NameValueParam p1 = new NameValueParam();
p1.setParamName = “jpegquality”; p1.setTextValue = “4”;
request.setParams(new NameValueParam[]{p1});
Description
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.
Type Web service data object
Members
Name Type Description
paramName String
Name of the parameter.
In most cases this will
be the name/ID of the
box.
textValue String
Text value of the box.
(You can set either
textValue or