|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.dts.client.DTSQuery
public class DTSQuery
Utility class for getting a DTS Queries.
A DTS Query requires a ServerConnection for
initialization. This class works with
Socket Server Connection,
Secure Socket Server Connection and
JDBC Server Connection .
Copyright: Copyright (c) 2004
Company: Apelon, Inc.
| Constructor Summary | |
|---|---|
DTSQuery()
Creates DTSQuery object with no Server Connection. |
|
DTSQuery(ServerConnection newSrvrConn)
Creates DTSQuery object for given ServerConnection. |
|
DTSQuery(ServerConnection newSrvrConn,
boolean xmlParserVal)
Creates DTSQuery object for given ServerConnection and
XML Parser Validation value. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DTSQuery()
ClassifyServer requires mc.properties path to be passes as argument. This can be done like this:
ServerConnection sc;
DTSQuery dtsQuery = new DTSQuery();
dtsQuery.putQueryServerArgs(ClassifyServer.class, new String[]{"server/mc.properties"})
dtsQuery.setConnection(sc);
public DTSQuery(ServerConnection newSrvrConn)
ServerConnection.
XML Parser Validation is set to false.
newSrvrConn - ServerConnection
public DTSQuery(ServerConnection newSrvrConn,
boolean xmlParserVal)
ServerConnection and
XML Parser Validation value.
newSrvrConn - ServerConnectionxmlParserVal - XML Parser Validation flag| Method Detail |
|---|
public void putQueryServerArgs(Class queryServerClass,
String[] args)
queryServerClass - QueryServer classargs - Argumentspublic boolean isOpen()
public DTSCommonQuery getDTSCommonQuery()
DTSCommonQuery.
IllegalStateException - if the ServerConnection is not open.public OntylogClassQuery getClassQuery()
OntylogClassQuery.
IllegalStateException - if the ServerConnection is not open.public NamespaceQuery getNamespaceQuery()
NamespaceQuery.
IllegalStateException - if the ServerConnection is not open.public NavQuery getNavQuery()
NavQuery.
IllegalStateException - if the ServerConnection is not open.public AssociationQuery getAssociationQuery()
AssociationQuery.
IllegalStateException - if the ServerConnection is not open.public ThesaurusConceptQuery getThesaurusQuery()
ThesaurusConceptQuery.
IllegalStateException - if the ServerConnection is not open.public TermQuery getTermQuery()
TermQuery.
IllegalStateException - if the ServerConnection is not open.public TermSearchQuery getTermSearchQuery()
TermSearchQuery.
IllegalStateException - if the ServerConnection is not open.public DTSConceptQuery getDTSConceptQuery()
DTSConceptQuery.
IllegalStateException - if the ServerConnection is not open.public SearchQuery getSearchQuery()
SearchQuery.
IllegalStateException - if the ServerConnection is not open.public MatchQuery getMatchQuery()
MatchQuery.
IllegalStateException - if the ServerConnection is not open.public OntylogConceptQuery getOntylogConceptQuery()
OntylogConceptQuery.
IllegalStateException - if the ServerConnection is not open.public OntylogExtConceptQuery getOntylogExtConceptQuery()
OntylogExtConceptQuery.
IllegalStateException - if the ServerConnection is not open.public ClassifyQuery getClassifyQuery()
ClassifyQuery.
IllegalStateException - if the ServerConnection is not open.public ClassifyDetailsQuery getClassifyDetailsQuery()
ClassifyDetailsQuery.
IllegalStateException - if the ServerConnection is not open.public SubsetQuery getSubsetQuery()
SubsetQuery.
IllegalStateException - if the ServerConnection is not open.public boolean isXmlParserValidationActive()
public void setXmlParserValidationActive(boolean b)
public void reset()
public void close()
throws Exception
Exceptionpublic void setConnection(ServerConnection connection)
connection -
protected void initQueryServer(Class queryServerClass,
String header)
protected ServerConnection getConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||