org.jibx.schema
Class SchemaVisitorDelegate

java.lang.Object
  extended by org.jibx.schema.SchemaVisitor
      extended by org.jibx.schema.SchemaVisitorDelegate

public class SchemaVisitorDelegate
extends SchemaVisitor

Instance of SchemaVisitor that delegates to another instance. This is provided as a base class, allowing selective overrides of normal visitor handling.

Author:
Dennis M. Sosnoski

Field Summary
private  SchemaVisitor m_delegate
          Delegate visitor.
 
Constructor Summary
SchemaVisitorDelegate(SchemaVisitor delegate)
          Constructor.
 
Method Summary
 void exit(AllElement node)
          Exit all element.
 void exit(AnnotatedBase node)
          Exit annotated element.
 void exit(AnnotationElement node)
          Exit annotation element.
 void exit(AnnotationItem node)
          Exit annotation item element.
 void exit(AnyAttributeElement node)
          Exit anyAttribute element.
 void exit(AnyElement node)
          Exit any element.
 void exit(AppInfoElement node)
          Exit appinfo element.
 void exit(AttributeElement node)
          Exit attribute element.
 void exit(AttributeGroupElement node)
          Exit attributeGroup element for definition.
 void exit(AttributeGroupRefElement node)
          Exit attributeGroup element for reference.
 void exit(ChoiceElement node)
          Exit choice element.
 void exit(CommonComplexModification node)
          Exit complex type modification.
 void exit(CommonCompositorDefinition node)
          Exit compositor element.
 void exit(CommonTypeDefinition node)
          Exit type definition element.
 void exit(ComplexContentElement node)
          Exit complexContent element.
 void exit(ComplexExtensionElement node)
          Exit extension element used for complex type.
 void exit(ComplexRestrictionElement node)
          Exit restriction element used for complex type.
 void exit(ComplexTypeElement node)
          Exit complexType element.
 void exit(DocumentationElement node)
          Exit documentation element.
 void exit(ElementElement node)
          Exit element element.
 void exit(GroupElement node)
          Exit group element for definition.
 void exit(GroupRefElement node)
          Exit group element for reference.
 void exit(ImportElement node)
          Exit import element.
 void exit(IncludeElement node)
          Exit include element.
 void exit(ListElement node)
          Exit list element.
 void exit(OpenAttrBase node)
          Exit open attribute element.
 void exit(RedefineElement node)
          Exit redefine element.
 void exit(SchemaBase node)
          Exit element.
 void exit(SchemaElement node)
          Exit schema element.
 void exit(SchemaLocationBase node)
          Exit schema location element.
 void exit(SequenceElement node)
          Exit sequence element.
 void exit(SimpleContentElement node)
          Exit simpleContent element.
 void exit(SimpleExtensionElement node)
          Exit extension element for simple type.
 void exit(SimpleRestrictionElement node)
          Exit restriction element for simple type.
 void exit(SimpleTypeElement node)
          Exit simpleType element.
 void exit(UnionElement node)
          Exit union element.
 boolean visit(AllElement node)
          Visit all element.
 boolean visit(AnnotatedBase node)
          Visit annotated element.
 boolean visit(AnnotationElement node)
          Visit annotation element.
 boolean visit(AnnotationItem node)
          Visit annotation item element.
 boolean visit(AnyAttributeElement node)
          Visit anyAttribute element.
 boolean visit(AnyElement node)
          Visit any element.
 boolean visit(AppInfoElement node)
          Visit appinfo element.
 boolean visit(AttributeElement node)
          Visit attribute element.
 boolean visit(AttributeGroupElement node)
          Visit attributeGroup element for definition.
 boolean visit(AttributeGroupRefElement node)
          Visit attributeGroup element for reference.
 boolean visit(ChoiceElement node)
          Visit choice element.
 boolean visit(CommonComplexModification node)
          Visit complex type modification (complexContent or simpleContent)element.
 boolean visit(CommonCompositorDefinition node)
          Visit compositor element.
 boolean visit(CommonTypeDefinition node)
          Visit type definition element.
 boolean visit(ComplexContentElement node)
          Visit complexContent element.
 boolean visit(ComplexExtensionElement node)
          Visit extension element used for complex type.
 boolean visit(ComplexRestrictionElement node)
          Visit restriction element used for complex type.
 boolean visit(ComplexTypeElement node)
          Visit complexType element.
 boolean visit(DocumentationElement node)
          Visit documentation element.
 boolean visit(ElementElement node)
          Visit element element.
 boolean visit(GroupElement node)
          Visit group element for definition.
 boolean visit(GroupRefElement node)
          Visit group element for reference.
 boolean visit(ImportElement node)
          Visit import element.
 boolean visit(IncludeElement node)
          Visit include element.
 boolean visit(ListElement node)
          Visit list element.
 boolean visit(OpenAttrBase node)
          Visit open attribute element.
 boolean visit(RedefineElement node)
          Visit redefine element.
 boolean visit(SchemaBase node)
          Visit element.
 boolean visit(SchemaElement node)
          Visit schema element.
 boolean visit(SchemaLocationBase node)
          Visit schema location element.
 boolean visit(SequenceElement node)
          Visit sequence element.
 boolean visit(SimpleContentElement node)
          Visit simpleContent element.
 boolean visit(SimpleExtensionElement node)
          Visit extension element for simple type.
 boolean visit(SimpleRestrictionElement node)
          Visit restriction element for simple type.
 boolean visit(SimpleTypeElement node)
          Visit simpleType element.
 boolean visit(UnionElement node)
          Visit union element.
 
Methods inherited from class org.jibx.schema.SchemaVisitor
exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, exit, 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

m_delegate

private final SchemaVisitor m_delegate
Delegate visitor.

Constructor Detail

SchemaVisitorDelegate

public SchemaVisitorDelegate(SchemaVisitor delegate)
Constructor.

Parameters:
delegate -
Method Detail

exit

public void exit(AllElement node)
Description copied from class: SchemaVisitor
Exit all element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AnnotatedBase node)
Description copied from class: SchemaVisitor
Exit annotated element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AnnotationElement node)
Description copied from class: SchemaVisitor
Exit annotation element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AnnotationItem node)
Description copied from class: SchemaVisitor
Exit annotation item element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AnyAttributeElement node)
Description copied from class: SchemaVisitor
Exit anyAttribute element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AnyElement node)
Description copied from class: SchemaVisitor
Exit any element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AppInfoElement node)
Description copied from class: SchemaVisitor
Exit appinfo element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AttributeElement node)
Description copied from class: SchemaVisitor
Exit attribute element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AttributeGroupElement node)
Description copied from class: SchemaVisitor
Exit attributeGroup element for definition.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(AttributeGroupRefElement node)
Description copied from class: SchemaVisitor
Exit attributeGroup element for reference.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ChoiceElement node)
Description copied from class: SchemaVisitor
Exit choice element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(CommonComplexModification node)
Description copied from class: SchemaVisitor
Exit complex type modification.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(CommonCompositorDefinition node)
Description copied from class: SchemaVisitor
Exit compositor element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(CommonTypeDefinition node)
Description copied from class: SchemaVisitor
Exit type definition element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ComplexContentElement node)
Description copied from class: SchemaVisitor
Exit complexContent element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ComplexExtensionElement node)
Description copied from class: SchemaVisitor
Exit extension element used for complex type.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ComplexRestrictionElement node)
Description copied from class: SchemaVisitor
Exit restriction element used for complex type.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ComplexTypeElement node)
Description copied from class: SchemaVisitor
Exit complexType element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(DocumentationElement node)
Description copied from class: SchemaVisitor
Exit documentation element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(SchemaBase node)
Description copied from class: SchemaVisitor
Exit element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ElementElement node)
Description copied from class: SchemaVisitor
Exit element element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(GroupElement node)
Description copied from class: SchemaVisitor
Exit group element for definition.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(GroupRefElement node)
Description copied from class: SchemaVisitor
Exit group element for reference.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ImportElement node)
Description copied from class: SchemaVisitor
Exit import element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(IncludeElement node)
Description copied from class: SchemaVisitor
Exit include element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(ListElement node)
Description copied from class: SchemaVisitor
Exit list element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(OpenAttrBase node)
Description copied from class: SchemaVisitor
Exit open attribute element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(RedefineElement node)
Description copied from class: SchemaVisitor
Exit redefine element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(SchemaElement node)
Description copied from class: SchemaVisitor
Exit schema element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

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

exit

public void exit(SequenceElement node)
Description copied from class: SchemaVisitor
Exit sequence element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(SimpleContentElement node)
Description copied from class: SchemaVisitor
Exit simpleContent element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(SimpleExtensionElement node)
Description copied from class: SchemaVisitor
Exit extension element for simple type.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(SimpleRestrictionElement node)
Description copied from class: SchemaVisitor
Exit restriction element for simple type.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(SimpleTypeElement node)
Description copied from class: SchemaVisitor
Exit simpleType element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

exit

public void exit(UnionElement node)
Description copied from class: SchemaVisitor
Exit union element.

Overrides:
exit in class SchemaVisitor
Parameters:
node - element being exited

visit

public boolean visit(AllElement node)
Description copied from class: SchemaVisitor
Visit all 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(AnnotatedBase node)
Description copied from class: SchemaVisitor
Visit annotated 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(AnnotationElement node)
Description copied from class: SchemaVisitor
Visit annotation 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(AnnotationItem node)
Description copied from class: SchemaVisitor
Visit annotation item 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(AnyAttributeElement node)
Description copied from class: SchemaVisitor
Visit anyAttribute 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(AnyElement node)
Description copied from class: SchemaVisitor
Visit any 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(AppInfoElement node)
Description copied from class: SchemaVisitor
Visit appinfo 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(AttributeElement node)
Description copied from class: SchemaVisitor
Visit attribute 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(AttributeGroupElement node)
Description copied from class: SchemaVisitor
Visit attributeGroup element for definition.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(AttributeGroupRefElement node)
Description copied from class: SchemaVisitor
Visit attributeGroup element for reference.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(ChoiceElement node)
Description copied from class: SchemaVisitor
Visit choice 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(CommonComplexModification node)
Description copied from class: SchemaVisitor
Visit complex type modification (complexContent or simpleContent)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(CommonCompositorDefinition node)
Description copied from class: SchemaVisitor
Visit compositor 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(CommonTypeDefinition node)
Description copied from class: SchemaVisitor
Visit type definition 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(ComplexContentElement node)
Description copied from class: SchemaVisitor
Visit complexContent 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(ComplexExtensionElement node)
Description copied from class: SchemaVisitor
Visit extension element used for complex type.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(ComplexRestrictionElement node)
Description copied from class: SchemaVisitor
Visit restriction element used for complex type.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(ComplexTypeElement node)
Description copied from class: SchemaVisitor
Visit complexType 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(DocumentationElement node)
Description copied from class: SchemaVisitor
Visit documentation 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(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(ElementElement node)
Description copied from class: SchemaVisitor
Visit element 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(GroupElement node)
Description copied from class: SchemaVisitor
Visit group element for definition.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(GroupRefElement node)
Description copied from class: SchemaVisitor
Visit group element for reference.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(ImportElement node)
Description copied from class: SchemaVisitor
Visit import 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(IncludeElement node)
Description copied from class: SchemaVisitor
Visit include 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(ListElement node)
Description copied from class: SchemaVisitor
Visit list 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(OpenAttrBase node)
Description copied from class: SchemaVisitor
Visit open attribute 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(RedefineElement node)
Description copied from class: SchemaVisitor
Visit redefine 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(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

visit

public boolean visit(SequenceElement node)
Description copied from class: SchemaVisitor
Visit sequence 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(SimpleContentElement node)
Description copied from class: SchemaVisitor
Visit simpleContent 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(SimpleExtensionElement node)
Description copied from class: SchemaVisitor
Visit extension element for simple type.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(SimpleRestrictionElement node)
Description copied from class: SchemaVisitor
Visit restriction element for simple type.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not

visit

public boolean visit(SimpleTypeElement node)
Description copied from class: SchemaVisitor
Visit simpleType 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(UnionElement node)
Description copied from class: SchemaVisitor
Visit union element.

Overrides:
visit in class SchemaVisitor
Parameters:
node - element being visited
Returns:
true if children to be processed, false if not


Project Web Site