Class SchemaCustom.ExtensionBuilderVisitor

  • Enclosing class:
    SchemaCustom

    private static class SchemaCustom.ExtensionBuilderVisitor
    extends SchemaVisitor
    Visitor to build basic extensions for schema components. This also sets class and base names for the extensions, if the component has a name.
    • Field Detail

      • m_root

        private GlobalExtension m_root
        Extension for root component being expanded.
    • Constructor Detail

      • ExtensionBuilderVisitor

        private ExtensionBuilderVisitor()
    • Method Detail

      • setRoot

        public void setRoot​(GlobalExtension root)
        Set the extension for the root of the schema definition component to be expanded.
        Parameters:
        root -
      • visit

        public boolean visit​(AnnotatedBase node)
        Visit any component of schema definition. This just creates the extension for the component.
        Overrides:
        visit in class SchemaVisitor
        Parameters:
        node -
        Returns:
        true to continue expansion