Oracle8i Application Developer's Guide - XML
Release 3 (8.1.7)

Part Number A86030-01

Library

Solution Area

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

XDK for Java: Specifications and Cheat Sheets, 15 of 15


XDK for Java: XSQL Servlet Cheat Sheets

Table C-9 and Table C-10 list XSQL Servlet APIs and top level classes with a brief description of each.

Table C-9 XSQL Servlet Classes  
Class Summary  Description 

Interfaces 

 

XSQLActionHandler 

Interface that must be implemented by all XSQL Action Element Handlers  

XSQLPageRequest 

Interface representing a request for an XSQL Page 

Classes 

 

Res 

 

XSQLActionHandlerImpl 

Base Implementation of XSQLActionHandler that can be extended to create your own custom handlers. 

XSQLCommandLine 

Command-line Utility to process XSQL Pages. 

XSQLDiagnostic 

 

XSQLHttpUtil 

 

XSQLPageRequestImpl 

Base implementation of the XSQLPageRequest interface that case be used to derive new kinds of page request implementations. 

XSQLParserHelper 

Common XML Parsing Routines 

XSQLRequest 

Programmatically process a request for an XSQL Page. 

XSQLServlet 

Servlet to enable HTTP GET-ing of and POST-ing to XSQL Pages 

XSQLServletPageRequest 

Implementation of XSQLPageRequest for Servlet-based XSQL Page requests. 

XSQLStylesheetProcessor 

XSLT Stylesheet Processing Engine 

XSQLUtil 

 

Class Summary 

 

Interfaces 

 

XSQLActionHandler 

Interface that must be implemented by all XSQL Action Element Handlers  

XSQLPageRequest 

Interface representing a request for an XSQL Page 

Classes 

 

Res 

 

XSQLActionHandlerImpl 

Base Implementation of XSQLActionHandler that can be extended to create your own custom handlers. 

XSQLCommandLine 

Command-line Utility to process XSQL Pages. 

XSQLDiagnostic 

 

XSQLHttpUtil 

 

XSQLPageRequestImpl 

Base implementation of the XSQLPageRequest interface that case be used to derive new kinds of page request implementations. 

XSQLParserHelper 

Common XML Parsing Routines 

XSQLRequest 

Programmatically process a request for an XSQL Page. 

XSQLServlet 

Servlet to enable HTTP GET-ing of and POST-ing to XSQL Pages 

XSQLServletPageRequest 

Implementation of XSQLPageRequest for Servlet-based XSQL Page requests. 

XSQLStylesheetProcessor 

XSLT Stylesheet Processing Engine 

XSQLUtil 

 

Table C-10 XSQL Servlet: XSQLPageRequest() Class  
Methods  Description 

createNestedRequest(URL, Dictionary) 

Returns an instance of a nested Request 

getConnectionName() 

Returns the name of the connection being used for this request May be null if no connection set/in-use. 

getErrorWriter() 

Returns a PrintWriter to print out errors processing this request 

getJDBCConnection() 

Gets the JDBC connection being used for this request (can be null) 

getPageEncoding() 

Returns encoding of source XSQL Page associated with this request 

getParameter(String) 

Returns the value of the requested parameter 

getPostedDocument() 

Returns the content of Posted XML for this request as an XML Document 

getRequestParamsAsXMLDocument() 

Returns the content of a Request parameters as an XML Document 

getRequestType() 

Returns a string identifying the type of page request being made. 

getSourceDocumentURI() 

Returns a String representation of the requested document's URI 

getStylesheetParameter(String) 

Gets a stylesheet parameter by name 

getStylesheetParameters() 

Gets an enumeration of stylesheet parameter names 

getStylesheetURI() 

Returns the URI of the stylesheet to be used to process the result. 

getUserAgent() 

Returns a String identifier of the requesting program 

getWriter() 

Returns a PrintWriter used for writing out the results of a page request 

getXSQLConnection() 

Gets the XSQLConnection Object being used for this request Might be null. 

isIncludedRequest() 

Returns true if this request is being included in another. 

isOracleDriver() 

Returns true if the current connection uses the Oracle JDBC Driver 

printedErrorHeader() 

Returns the state of whether an Error Header has been printed 

requestProcessed() 

Allows Page Request to Perform end-of-request processing 

setConnectionName(String) 

Sets the connection name to use for this request 

setContentType(String) 

Sets the content type of the resulting page 

setIncludingRequest(XSQLPageRequest) 

Sets the Including Page Request object for this request. 

setPageEncoding(String) 

Sets encoding of source XSQL page associated with this request. 

setPageParam(String, String) 

Sets a dynamic page parameter value. 

setPostedDocument(Document) 

Allows programmatic setting of the Posted Document 

setPrintedErrorHeader(boolean) 

Sets whether an Error Header has been printed 

setStylesheetParameter(String, String) 

Sets the value of a parameter to be passed to the associated stylesheet 

setStylesheetURI(String) 

Sets the URI of the stylesheet to be used to process the result. 

translateURL(String) 

Returns a string representing an absolute URL resolved relative to the base URI for this request. 

useConnectionPooling() 

Returns true if connection pooling is desired for this request 

useHTMLErrors() 

Returns true if HTML-formatted error messages are desired for this request 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Solution Area

Contents

Index