public class NoOpValidator extends Object implements ILicenseKeyValidator
ILicenseKeyValidator
Constructor and Description |
---|
NoOpValidator() |
Modifier and Type | Method and Description |
---|---|
void |
checkLicense(LicenseKeyProduct product) |
String[] |
getLicenseeInfo() |
String[] |
getProductInfo(String product) |
String[] |
getProducts() |
void |
loadLicense(Element licenseKeyRoot)
Load and Validate the license file represented by passed DOM tree.
|
void |
unloadLicense() |
public void loadLicense(Element licenseKeyRoot) throws LicenseKeyException
ILicenseKeyValidator
loadLicense
in interface ILicenseKeyValidator
licenseKeyRoot
- root node of the license key file representationLicenseKeyException
public void checkLicense(LicenseKeyProduct product) throws LicenseKeyException
checkLicense
in interface ILicenseKeyValidator
LicenseKeyException
public void unloadLicense()
unloadLicense
in interface ILicenseKeyValidator
public String[] getLicenseeInfo()
getLicenseeInfo
in interface ILicenseKeyValidator
public String[] getProducts() throws LicenseKeyException
getProducts
in interface ILicenseKeyValidator
LicenseKeyException
public String[] getProductInfo(String product) throws LicenseKeyException
getProductInfo
in interface ILicenseKeyValidator
LicenseKeyException
Copyright © 2018. All rights reserved.