Class BaseLicense.LicenseParser
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.inductiveautomation.ignition.common.licensing.BaseLicense.LicenseParser
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
- Enclosing class:
- BaseLicense
public static class BaseLicense.LicenseParser extends org.xml.sax.helpers.DefaultHandler
-
-
Constructor Summary
Constructors Constructor Description LicenseParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(java.lang.String uri, java.lang.String localName, java.lang.String name)
IgnitionLicense
getLicense()
protected void
injectEdgeLicenses(LicenseDetailsImpl platformLicense)
When it comes to licensing edge, we actually allow any license parameters.void
startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes attributes)
-
-
-
Method Detail
-
getLicense
public IgnitionLicense getLicense()
-
injectEdgeLicenses
protected void injectEdgeLicenses(LicenseDetailsImpl platformLicense)
When it comes to licensing edge, we actually allow any license parameters. However, we also have a special situation. If the following are on platform, we create virtual module licenses: edge-panel = true --> vision or perspective, web browser, symbol factory edge-enterprise --> eam edge-eam --> eam edge-mqtt --> cirrus link mqtt edge-iiot --> cirrus link mqtt edge-compute --> webdev Always license xopc, alarm-notification, taghistorian
-
endElement
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String name) throws org.xml.sax.SAXException
- Specified by:
endElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
endElement
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
characters
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
- Specified by:
characters
in interfaceorg.xml.sax.ContentHandler
- Overrides:
characters
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
startElement
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
- Specified by:
startElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
startElement
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
-