Class NameMergeVisitor

java.lang.Object
org.jibx.schema.SchemaVisitor
org.jibx.schema.validation.NameMergeVisitor

public class NameMergeVisitor extends SchemaVisitor
Visitor for merging names from referenced schemas. This needs to be run after NameRegistrationVisitor.
  • Field Details

  • Constructor Details

    • NameMergeVisitor

      public NameMergeVisitor(ValidationContext context)
      Constructor.
      Parameters:
      context -
  • Method Details

    • visit

      public boolean visit(SchemaBase node)
      Description copied from class: SchemaVisitor
      Visit element. This method will be called for every element in the model. The default implementation just returns true to continue expansion of the tree.
      Overrides:
      visit in class SchemaVisitor
      Parameters:
      node - element being visited
      Returns:
      true if children to be processed, false if not
    • visit

      public boolean visit(SchemaElement node)
      Description copied from class: SchemaVisitor
      Visit schema element.
      Overrides:
      visit in class SchemaVisitor
      Parameters:
      node - element being visited
      Returns:
      true if children to be processed, false if not
    • visit

      public boolean visit(SchemaLocationBase node)
      Description copied from class: SchemaVisitor
      Visit schema location element.
      Overrides:
      visit in class SchemaVisitor
      Parameters:
      node - element being visited
      Returns:
      true if children to be processed, false if not
    • exit

      public void exit(SchemaLocationBase node)
      Description copied from class: SchemaVisitor
      Exit schema location element.
      Overrides:
      exit in class SchemaVisitor
      Parameters:
      node - element being exited