|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.control.cart.KeysetProcessor
public abstract class KeysetProcessor
Processes the documents associated with a set of keys.
| Field Summary | |
|---|---|
protected static XsltTemplates |
XSLTTEMPLATES
class variables ========================================================= |
| Constructor Summary | |
|---|---|
KeysetProcessor()
Default constructor |
|
| Method Summary | |
|---|---|
abstract void |
execute(HttpServletRequest request,
HttpServletResponse response,
RequestContext context)
Processes the HTTP request. |
protected XsltTemplate |
getCompiledTemplate(String xsltPath)
Gets a compiled XSLT template. |
static KeysetProcessor |
newProcessor(HttpServletRequest request,
RequestContext context)
Instantiates a new keyset processor based upon the "processor" parameter supplied to the HTTP request. |
String[] |
readKeys(HttpServletRequest request,
RequestContext context,
boolean useCartMaximum)
Reads the keys parameter for the request. |
String |
readXml(HttpServletRequest request,
RequestContext context,
String id)
Reads the metadata XML for an item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static XsltTemplates XSLTTEMPLATES
| Constructor Detail |
|---|
public KeysetProcessor()
| Method Detail |
|---|
protected XsltTemplate getCompiledTemplate(String xsltPath)
throws TransformerException
xsltPath - the path to an XSLT
IOException - if an IO exception occurs
TransformerException - if a transformation exception occurs
SAXException - if a SAX parsing exception occurs
public abstract void execute(HttpServletRequest request,
HttpServletResponse response,
RequestContext context)
throws Exception
request - the HTTP requestresponse - HTTP responsecontext - the request context
Exception - if an exception occurs
public static KeysetProcessor newProcessor(HttpServletRequest request,
RequestContext context)
throws Exception
request - the HTTP requestcontext - the request context
Exception - if an exception occurs
public String[] readKeys(HttpServletRequest request,
RequestContext context,
boolean useCartMaximum)
throws Exception
request - the HTTP servlet requestcontext - the request contextuseCartMaximum - if true throw an exception if the the number of keys exceeds the maximum
Exception - if an exception occurs
public String readXml(HttpServletRequest request,
RequestContext context,
String id)
throws Exception
request - the HTTP servlet requestcontext - the request contextid - the document id
Exception - if an exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||