|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectTextConfig
CrossQueryConfig
public class CrossQueryConfig
Holds global configuration information for the crossQuery servlet.
| Field Summary | |
|---|---|
String |
queryParserSheet
The stylesheet used to parse a query from an HTTP request, into an XML format usable by the text engine (only specified if no query router). |
String |
queryRouterSheet
The stylesheet used route an HTTP request to the appropriate query parser stylesheet. |
| Constructor Summary | |
|---|---|
CrossQueryConfig(CrossQuery servlet)
Default constructor |
|
CrossQueryConfig(CrossQuery servlet,
String path)
Constructor - Reads and parses the global configuration file (XML) for the crossQuery servlet. |
|
| Method Summary | |
|---|---|
boolean |
handleProperty(String tagAttr,
String strVal)
Called by when a property is encountered in the configuration file. |
| Methods inherited from class TextConfig |
|---|
parseBoolean, parseInt, read, requireOrElse |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String queryRouterSheet
public String queryParserSheet
| Constructor Detail |
|---|
public CrossQueryConfig(CrossQuery servlet)
public CrossQueryConfig(CrossQuery servlet,
String path)
throws GeneralException
path - Filesystem path to the config file.
GeneralException - If a read or parse error occurs.| Method Detail |
|---|
public boolean handleProperty(String tagAttr,
String strVal)
handleProperty in class TextConfigtagAttr - Combined element/attribute name being consideredstrVal - It's string value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||