public abstract class AbstractProductDataProvider extends Object implements IProductDataProvider
IProductDataProvider| Modifier and Type | Field and Description |
|---|---|
protected static String |
MODIFIED_EXCEPTION_MESSAGE |
| Constructor and Description |
|---|
AbstractProductDataProvider(IVersionChecker versionChecker)
This constructor needs a
IVersionChecker that is used to verify the compatibility of
the product data versions |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getBaseVersion()
Getting the really actual version of the product data.
|
protected DocumentBuilder |
getDocumentBuilder()
Getting the thread local instance of
DocumentBuilder |
IVersionChecker |
getVersionChecker() |
boolean |
isCompatibleToBaseVersion()
Return true if the version is compatible to the base version of this
IProductDataProvider. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnumContentAsStream, getProductCmptData, getProductCmptGenerationData, getTableContentAsStream, getTestcaseElement, getToc, getTocEntryData, getVersionprotected static final String MODIFIED_EXCEPTION_MESSAGE
public AbstractProductDataProvider(IVersionChecker versionChecker)
IVersionChecker that is used to verify the compatibility of
the product data versionsversionChecker - the verison checker to check the product data versionprotected DocumentBuilder getDocumentBuilder()
DocumentBuilderDocumentBuilderpublic boolean isCompatibleToBaseVersion()
IProductDataProviderIProductDataProvider. The base version is the really actual version of the product
data and should not be cached.isCompatibleToBaseVersion in interface IProductDataProviderpublic abstract String getBaseVersion()
public IVersionChecker getVersionChecker()
Copyright © 2017. All rights reserved.