org.cdlib.xtf.dynaXML
Class DocRequest

Object
  extended by DocRequest

public class DocRequest
extends Object

Holds document information specific to a docId


Field Summary
 Vector authSpecs
          List of authentication specs, which are evaluated in order until one is found that definitely allows or denies access.
 String brand
          Path to a brand profile (a simple XML document containing parameters that are passed to the display stylesheet.
 String indexConfig
          Path to the index configuration file (relative to servlet base dir)
 String indexName
          Name of the index within which the lazy file is stored
 String preFilter
          Path to a pre-filter stylesheet to run on the document (or null for no pre-filtering.)
 QueryRequest query
          Text query to run on the document, or null for none.
 boolean removeDoctypeDecl
          Whether to remove DOCTYPE declaration from the XML document
 String source
          Path to the source XML document (relative to servlet base dir)
 String style
          Path to the display stylesheet (relative to servlet base dir)
 
Constructor Summary
DocRequest()
          Default constructor
DocRequest(DocRequest other)
          Copy constructor.
 
Method Summary
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

style

public String style
Path to the display stylesheet (relative to servlet base dir)


source

public String source
Path to the source XML document (relative to servlet base dir)


indexConfig

public String indexConfig
Path to the index configuration file (relative to servlet base dir)


indexName

public String indexName
Name of the index within which the lazy file is stored


brand

public String brand
Path to a brand profile (a simple XML document containing parameters that are passed to the display stylesheet. If relative, interpreted relative to the servlet base directory.


authSpecs

public Vector authSpecs
List of authentication specs, which are evaluated in order until one is found that definitely allows or denies access.


preFilter

public String preFilter
Path to a pre-filter stylesheet to run on the document (or null for no pre-filtering.)


removeDoctypeDecl

public boolean removeDoctypeDecl
Whether to remove DOCTYPE declaration from the XML document


query

public QueryRequest query
Text query to run on the document, or null for none.

Constructor Detail

DocRequest

public DocRequest()
Default constructor


DocRequest

public DocRequest(DocRequest other)
Copy constructor. Note that the authSpecs vector, while copied, does not copy each authSpec. Rather, the vector contains ref's to the same authSpecs as the original.

Parameters:
other - DocRequest to copy data from