com.saxonica.validate
Class JavaVerifier
java.lang.Object
com.saxonica.validate.PlatformVerifier
com.saxonica.validate.JavaVerifier
- All Implemented Interfaces:
- Serializable
public final class JavaVerifier
- extends PlatformVerifier
A helper class for SchemaAwareConfiguration that handles license keys as issued for the Java platform
- See Also:
- Serialized Form
JavaVerifier
public JavaVerifier()
loadLicense
public void loadLicense()
- Description copied from class:
PlatformVerifier
- Load the license file
- Specified by:
loadLicense
in class PlatformVerifier
supplyLicenseKey
public void supplyLicenseKey(BufferedReader reader)
- This method allows the contents of a license key to be supplied programmatically.
This must be a license file as issued to authorized OEM distributors of Saxon-SA.
- Specified by:
supplyLicenseKey
in class PlatformVerifier
- Parameters:
reader
- A reader that will be used to read the contents of the license file
(for example, a StringReader)
- Throws:
IllegalArgumentException
- if the key supplied is not a valid OEM license key
Copyright (C) Michael H. Kay. All rights reserved.