10.2.1

Table Of Contents
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
DescriptionTypes
NameMembers
The type of the response. For example, "text/xml" or
"text/plain."
String
contentType
If the response type is text, this contains the text.
Otherwise, this value is null.
String
textData
If the responseAsURL parameter was set to "true" in
the request, this contains the URL of the response.
Otherwise, this value is null.
String
responseURL
If the response type is binary, this contains the byte
array. Otherwise, this value is null.
binary
streamValue
If the response type is text, this value indicates the
encoding of the text (for example, UTF-8 or ANSI).
String
encodingType
Identifies the server port.String
actualServerPortUsed
Identifies the server.String
actualServerUsed
If the response returned by the server is a set of
headers, this array contains the header response.
String
headers
If the response returned by the server is multipart, this
array contains the multipart response parts.
String
multipartResponse
QRequestContext context = new QRequestContext();
context.setDocumentName("sample.qxp");
Example, object
model
context.setResponseAsURL(true);
JPEGRenderRequest request = new JPEGRenderRequest();
request.setJPEGQuality("4");
context.setRequest(request);
RequestService requestService = new RequestServiceStub();
QContentData response = requestService.processRequest(context);
System.out.println(response.getResponseURL());
QException
Exception class for QuarkXPress Manager.Description
Exception
Type
DescriptionTypes
NameMembers
48 | A GUIDE TO QUARKXPRESS SERVER 10.2.1
USING QUARKXPRESS SERVER