Class XMLSchemaGenerator


  • public class XMLSchemaGenerator
    extends java.lang.Object
    Iterates over all concrete Protocol classes and creates XML schema used for validation of configuration files. https://jira.jboss.org/jira/browse/JGRP-448
    Author:
    Vladimir Blagojevic, Bela Ban
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String[] PACKAGES  
      protected static java.lang.String PROT_PACKAGE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void generateProtocolSchema​(org.w3c.dom.Document xmldoc, org.w3c.dom.Element parent, java.lang.String... suffixes)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • PACKAGES

        protected static final java.lang.String[] PACKAGES
    • Constructor Detail

      • XMLSchemaGenerator

        public XMLSchemaGenerator()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • generateProtocolSchema

        protected static void generateProtocolSchema​(org.w3c.dom.Document xmldoc,
                                                     org.w3c.dom.Element parent,
                                                     java.lang.String... suffixes)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception