Package org.jibx.schema.validation
Class NameRegistrationVisitor
java.lang.Object
org.jibx.schema.SchemaVisitor
org.jibx.schema.validation.NameRegistrationVisitor
Visitor for handling the registration of global definitions. This records the names for each child element of the
schema in the validation context. This must be run after
PrevalidationVisitor.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvisit(AttributeElement node) Visit attribute element.booleanvisit(AttributeGroupElement node) Visit attributeGroup element for definition.booleanvisit(ComplexTypeElement node) Visit complexType element.booleanvisit(ElementElement node) Visit element element.booleanvisit(GroupElement node) Visit group element for definition.booleanvisit(SchemaBase node) Visit element.booleanvisit(SchemaElement node) Visit schema element.booleanvisit(SchemaLocationBase node) Visit schema location element.booleanvisit(SimpleTypeElement node) Visit simpleType element.Methods inherited from class org.jibx.schema.SchemaVisitor
exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
m_context
Validation context.
-
-
Constructor Details
-
NameRegistrationVisitor
Constructor.- Parameters:
context-
-
-
Method Details
-
visit
Description copied from class:SchemaVisitorVisit element. This method will be called for every element in the model. The default implementation just returnstrueto continue expansion of the tree.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit attribute element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit attributeGroup element for definition.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit complexType element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit element element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit group element for definition.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit schema element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit schema location element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
Description copied from class:SchemaVisitorVisit simpleType element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-