com.metamatrix.connector.xml.base
Class XMLConnectorStateImpl

java.lang.Object
  extended by com.metamatrix.connector.xml.base.XMLConnectorStateImpl
All Implemented Interfaces:
BaseXMLConnectorState, XMLConnectorState, java.lang.Cloneable
Direct Known Subclasses:
FileConnectorState, SecureConnectorStateImpl

public abstract class XMLConnectorStateImpl
extends java.lang.Object
implements java.lang.Cloneable, XMLConnectorState


Field Summary
static java.lang.String CACHE_ENABLED
           
static java.lang.String CONNECTOR_CAPABILITES
           
static java.lang.String INPUT_STREAM_FILTER_CLASS
           
static java.lang.String LOG_REQUEST_RESPONSE_DOCS
           
protected  ConnectorLogger logger
           
static java.lang.String QUERY_PREPROCESS_CLASS
           
static java.lang.String QUERY_PREPROCESS_CLASS_DEFAULT
           
static java.lang.String SAX_FILTER_PROVIDER_CLASS
           
static java.lang.String SAX_FILTER_PROVIDER_CLASS_DEFAULT
           
 
Fields inherited from interface com.metamatrix.connector.xml.XMLConnectorState
STATE_CLASS_PROP
 
Constructor Summary
XMLConnectorStateImpl()
           
 
Method Summary
 ConnectorCapabilities getConnectorCapabilities()
           
 ConnectorLogger getLogger()
           
 java.lang.String getPluggableInputStreamFilterClass()
           
 IQueryPreprocessor getPreprocessor()
           
 SAXFilterProvider getSAXFilterProvider()
           
 java.util.Properties getState()
           
 boolean isCaching()
           
 boolean isLogRequestResponse()
           
protected  boolean isNotNullOrEmpty(java.lang.String value)
           
 boolean isPreprocess()
           
 void setLogger(ConnectorLogger logger)
           
 void setPluggableInputStreamFilterClass(java.lang.String filterClass)
           
 void setState(ConnectorEnvironment env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.metamatrix.connector.xml.XMLConnectorState
getConnection
 

Field Detail

CACHE_ENABLED

public static final java.lang.String CACHE_ENABLED
See Also:
Constant Field Values

LOG_REQUEST_RESPONSE_DOCS

public static final java.lang.String LOG_REQUEST_RESPONSE_DOCS
See Also:
Constant Field Values

SAX_FILTER_PROVIDER_CLASS

public static final java.lang.String SAX_FILTER_PROVIDER_CLASS
See Also:
Constant Field Values

QUERY_PREPROCESS_CLASS

public static final java.lang.String QUERY_PREPROCESS_CLASS
See Also:
Constant Field Values

INPUT_STREAM_FILTER_CLASS

public static final java.lang.String INPUT_STREAM_FILTER_CLASS
See Also:
Constant Field Values

SAX_FILTER_PROVIDER_CLASS_DEFAULT

public static final java.lang.String SAX_FILTER_PROVIDER_CLASS_DEFAULT
See Also:
Constant Field Values

QUERY_PREPROCESS_CLASS_DEFAULT

public static final java.lang.String QUERY_PREPROCESS_CLASS_DEFAULT
See Also:
Constant Field Values

CONNECTOR_CAPABILITES

public static final java.lang.String CONNECTOR_CAPABILITES
See Also:
Constant Field Values

logger

protected ConnectorLogger logger
Constructor Detail

XMLConnectorStateImpl

public XMLConnectorStateImpl()
Method Detail

setState

public void setState(ConnectorEnvironment env)
              throws ConnectorException
Specified by:
setState in interface BaseXMLConnectorState
Throws:
ConnectorException

isCaching

public boolean isCaching()
Specified by:
isCaching in interface XMLConnectorState

setLogger

public void setLogger(ConnectorLogger logger)
Specified by:
setLogger in interface BaseXMLConnectorState

getLogger

public ConnectorLogger getLogger()
Specified by:
getLogger in interface BaseXMLConnectorState

getState

public java.util.Properties getState()
Specified by:
getState in interface BaseXMLConnectorState

isNotNullOrEmpty

protected boolean isNotNullOrEmpty(java.lang.String value)

isPreprocess

public boolean isPreprocess()
Specified by:
isPreprocess in interface XMLConnectorState

getConnectorCapabilities

public ConnectorCapabilities getConnectorCapabilities()
Specified by:
getConnectorCapabilities in interface XMLConnectorState

isLogRequestResponse

public boolean isLogRequestResponse()
Specified by:
isLogRequestResponse in interface XMLConnectorState

getSAXFilterProvider

public SAXFilterProvider getSAXFilterProvider()
Specified by:
getSAXFilterProvider in interface XMLConnectorState

getPreprocessor

public IQueryPreprocessor getPreprocessor()
Specified by:
getPreprocessor in interface XMLConnectorState

setPluggableInputStreamFilterClass

public void setPluggableInputStreamFilterClass(java.lang.String filterClass)

getPluggableInputStreamFilterClass

public java.lang.String getPluggableInputStreamFilterClass()
Specified by:
getPluggableInputStreamFilterClass in interface XMLConnectorState


Copyright © 2009. All Rights Reserved.