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 TypeMethodDescriptionboolean
visit
(AttributeElement node) Visit attribute element.boolean
visit
(AttributeGroupElement node) Visit attributeGroup element for definition.boolean
visit
(ComplexTypeElement node) Visit complexType element.boolean
visit
(ElementElement node) Visit element element.boolean
visit
(GroupElement node) Visit group element for definition.boolean
visit
(SchemaBase node) Visit element.boolean
visit
(SchemaElement node) Visit schema element.boolean
visit
(SchemaLocationBase node) Visit schema location element.boolean
visit
(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:SchemaVisitor
Visit element. This method will be called for every element in the model. The default implementation just returnstrue
to continue expansion of the tree.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit attribute element.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit attributeGroup element for definition.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit complexType element.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit element element.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit group element for definition.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit schema element.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit schema location element.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-
visit
Description copied from class:SchemaVisitor
Visit simpleType element.- Overrides:
visit
in classSchemaVisitor
- Parameters:
node
- element being visited- Returns:
true
if children to be processed,false
if not
-