com.saxonica.validate
Class JavaVerifier

java.lang.Object
  extended by com.saxonica.validate.PlatformVerifier
      extended by 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

Constructor Summary
JavaVerifier()
           
 
Method Summary
 void loadLicense()
          Load the license file
 void supplyLicenseKey(BufferedReader reader)
          This method allows the contents of a license key to be supplied programmatically.
 
Methods inherited from class com.saxonica.validate.PlatformVerifier
displayLicenseMessage, getFeature
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaVerifier

public JavaVerifier()
Method Detail

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.