|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.SchemaVisitor
org.jibx.schema.validation.NameRegistrationVisitor
public class 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 | |
---|---|
private ValidationContext |
m_context
Validation context. |
Constructor Summary | |
---|---|
NameRegistrationVisitor(ValidationContext context)
Constructor. |
Method Summary | |
---|---|
boolean |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final ValidationContext m_context
Constructor Detail |
---|
public NameRegistrationVisitor(ValidationContext context)
context
- Method Detail |
---|
public boolean visit(SchemaBase node)
SchemaVisitor
true
to continue expansion of the tree.
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(AttributeElement node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(AttributeGroupElement node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(ComplexTypeElement node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(ElementElement node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(GroupElement node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(SchemaElement node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(SchemaLocationBase node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if notpublic boolean visit(SimpleTypeElement node)
SchemaVisitor
visit
in class SchemaVisitor
node
- element being visited
true
if children to be processed, false
if not
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |