Class SunSpecCodeGenerator


  • public class SunSpecCodeGenerator
    extends java.lang.Object
    This tool converts SunSpec XML definitions to Java code suitable for the OpenEMS SunSpec implementation.

    Download XML files from https://github.com/sunspec/models.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Run this method to start the code generator.
      protected static java.lang.String toUpperUnderscore​(java.lang.String string)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SunSpecCodeGenerator

        public SunSpecCodeGenerator()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Run this method to start the code generator.
        Parameters:
        args - not supported
        Throws:
        java.lang.Exception - on error
      • toUpperUnderscore

        protected static java.lang.String toUpperUnderscore​(java.lang.String string)