Package org.jibx.schema
Class SchemaVisitorDelegate
- java.lang.Object
-
- org.jibx.schema.SchemaVisitor
-
- org.jibx.schema.SchemaVisitorDelegate
-
public class SchemaVisitorDelegate extends SchemaVisitor
Instance ofSchemaVisitorthat delegates to another instance. This is provided as a base class, allowing selective overrides of normal visitor handling.- Author:
- Dennis M. Sosnoski
-
-
Constructor Summary
Constructors Constructor Description SchemaVisitorDelegate(SchemaVisitor delegate)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexit(AllElement node)Exit all element.voidexit(AnnotatedBase node)Exit annotated element.voidexit(AnnotationElement node)Exit annotation element.voidexit(AnnotationItem node)Exit annotation item element.voidexit(AnyAttributeElement node)Exit anyAttribute element.voidexit(AnyElement node)Exit any element.voidexit(AppInfoElement node)Exit appinfo element.voidexit(AttributeElement node)Exit attribute element.voidexit(AttributeGroupElement node)Exit attributeGroup element for definition.voidexit(AttributeGroupRefElement node)Exit attributeGroup element for reference.voidexit(ChoiceElement node)Exit choice element.voidexit(CommonComplexModification node)Exit complex type modification.voidexit(CommonCompositorDefinition node)Exit compositor element.voidexit(CommonTypeDefinition node)Exit type definition element.voidexit(ComplexContentElement node)Exit complexContent element.voidexit(ComplexExtensionElement node)Exit extension element used for complex type.voidexit(ComplexRestrictionElement node)Exit restriction element used for complex type.voidexit(ComplexTypeElement node)Exit complexType element.voidexit(DocumentationElement node)Exit documentation element.voidexit(ElementElement node)Exit element element.voidexit(GroupElement node)Exit group element for definition.voidexit(GroupRefElement node)Exit group element for reference.voidexit(ImportElement node)Exit import element.voidexit(IncludeElement node)Exit include element.voidexit(ListElement node)Exit list element.voidexit(OpenAttrBase node)Exit open attribute element.voidexit(RedefineElement node)Exit redefine element.voidexit(SchemaBase node)Exit element.voidexit(SchemaElement node)Exit schema element.voidexit(SchemaLocationBase node)Exit schema location element.voidexit(SequenceElement node)Exit sequence element.voidexit(SimpleContentElement node)Exit simpleContent element.voidexit(SimpleExtensionElement node)Exit extension element for simple type.voidexit(SimpleRestrictionElement node)Exit restriction element for simple type.voidexit(SimpleTypeElement node)Exit simpleType element.voidexit(UnionElement node)Exit union element.booleanvisit(AllElement node)Visit all element.booleanvisit(AnnotatedBase node)Visit annotated element.booleanvisit(AnnotationElement node)Visit annotation element.booleanvisit(AnnotationItem node)Visit annotation item element.booleanvisit(AnyAttributeElement node)Visit anyAttribute element.booleanvisit(AnyElement node)Visit any element.booleanvisit(AppInfoElement node)Visit appinfo element.booleanvisit(AttributeElement node)Visit attribute element.booleanvisit(AttributeGroupElement node)Visit attributeGroup element for definition.booleanvisit(AttributeGroupRefElement node)Visit attributeGroup element for reference.booleanvisit(ChoiceElement node)Visit choice element.booleanvisit(CommonComplexModification node)Visit complex type modification (complexContent or simpleContent)element.booleanvisit(CommonCompositorDefinition node)Visit compositor element.booleanvisit(CommonTypeDefinition node)Visit type definition element.booleanvisit(ComplexContentElement node)Visit complexContent element.booleanvisit(ComplexExtensionElement node)Visit extension element used for complex type.booleanvisit(ComplexRestrictionElement node)Visit restriction element used for complex type.booleanvisit(ComplexTypeElement node)Visit complexType element.booleanvisit(DocumentationElement node)Visit documentation element.booleanvisit(ElementElement node)Visit element element.booleanvisit(GroupElement node)Visit group element for definition.booleanvisit(GroupRefElement node)Visit group element for reference.booleanvisit(ImportElement node)Visit import element.booleanvisit(IncludeElement node)Visit include element.booleanvisit(ListElement node)Visit list element.booleanvisit(OpenAttrBase node)Visit open attribute element.booleanvisit(RedefineElement node)Visit redefine element.booleanvisit(SchemaBase node)Visit element.booleanvisit(SchemaElement node)Visit schema element.booleanvisit(SchemaLocationBase node)Visit schema location element.booleanvisit(SequenceElement node)Visit sequence element.booleanvisit(SimpleContentElement node)Visit simpleContent element.booleanvisit(SimpleExtensionElement node)Visit extension element for simple type.booleanvisit(SimpleRestrictionElement node)Visit restriction element for simple type.booleanvisit(SimpleTypeElement node)Visit simpleType element.booleanvisit(UnionElement node)Visit union element.
-
-
-
Constructor Detail
-
SchemaVisitorDelegate
public SchemaVisitorDelegate(SchemaVisitor delegate)
Constructor.- Parameters:
delegate- Delegate
-
-
Method Detail
-
exit
public void exit(AllElement node)
Description copied from class:SchemaVisitorExit all element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AnnotatedBase node)
Description copied from class:SchemaVisitorExit annotated element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AnnotationElement node)
Description copied from class:SchemaVisitorExit annotation element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AnnotationItem node)
Description copied from class:SchemaVisitorExit annotation item element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AnyAttributeElement node)
Description copied from class:SchemaVisitorExit anyAttribute element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AnyElement node)
Description copied from class:SchemaVisitorExit any element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AppInfoElement node)
Description copied from class:SchemaVisitorExit appinfo element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AttributeElement node)
Description copied from class:SchemaVisitorExit attribute element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AttributeGroupElement node)
Description copied from class:SchemaVisitorExit attributeGroup element for definition.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(AttributeGroupRefElement node)
Description copied from class:SchemaVisitorExit attributeGroup element for reference.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ChoiceElement node)
Description copied from class:SchemaVisitorExit choice element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(CommonComplexModification node)
Description copied from class:SchemaVisitorExit complex type modification.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(CommonCompositorDefinition node)
Description copied from class:SchemaVisitorExit compositor element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(CommonTypeDefinition node)
Description copied from class:SchemaVisitorExit type definition element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ComplexContentElement node)
Description copied from class:SchemaVisitorExit complexContent element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ComplexExtensionElement node)
Description copied from class:SchemaVisitorExit extension element used for complex type.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ComplexRestrictionElement node)
Description copied from class:SchemaVisitorExit restriction element used for complex type.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ComplexTypeElement node)
Description copied from class:SchemaVisitorExit complexType element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(DocumentationElement node)
Description copied from class:SchemaVisitorExit documentation element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SchemaBase node)
Description copied from class:SchemaVisitorExit element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ElementElement node)
Description copied from class:SchemaVisitorExit element element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(GroupElement node)
Description copied from class:SchemaVisitorExit group element for definition.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(GroupRefElement node)
Description copied from class:SchemaVisitorExit group element for reference.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ImportElement node)
Description copied from class:SchemaVisitorExit import element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(IncludeElement node)
Description copied from class:SchemaVisitorExit include element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(ListElement node)
Description copied from class:SchemaVisitorExit list element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(OpenAttrBase node)
Description copied from class:SchemaVisitorExit open attribute element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(RedefineElement node)
Description copied from class:SchemaVisitorExit redefine element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SchemaElement node)
Description copied from class:SchemaVisitorExit schema element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SchemaLocationBase node)
Description copied from class:SchemaVisitorExit schema location element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SequenceElement node)
Description copied from class:SchemaVisitorExit sequence element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SimpleContentElement node)
Description copied from class:SchemaVisitorExit simpleContent element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SimpleExtensionElement node)
Description copied from class:SchemaVisitorExit extension element for simple type.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SimpleRestrictionElement node)
Description copied from class:SchemaVisitorExit restriction element for simple type.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(SimpleTypeElement node)
Description copied from class:SchemaVisitorExit simpleType element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
exit
public void exit(UnionElement node)
Description copied from class:SchemaVisitorExit union element.- Overrides:
exitin classSchemaVisitor- Parameters:
node- element being exited
-
visit
public boolean visit(AllElement node)
Description copied from class:SchemaVisitorVisit all element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AnnotatedBase node)
Description copied from class:SchemaVisitorVisit annotated element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AnnotationElement node)
Description copied from class:SchemaVisitorVisit annotation element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AnnotationItem node)
Description copied from class:SchemaVisitorVisit annotation item element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AnyAttributeElement node)
Description copied from class:SchemaVisitorVisit anyAttribute element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AnyElement node)
Description copied from class:SchemaVisitorVisit any element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AppInfoElement node)
Description copied from class:SchemaVisitorVisit appinfo element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AttributeElement node)
Description copied from class:SchemaVisitorVisit attribute element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(AttributeGroupElement node)
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
public boolean visit(AttributeGroupRefElement node)
Description copied from class:SchemaVisitorVisit attributeGroup element for reference.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(ChoiceElement node)
Description copied from class:SchemaVisitorVisit choice element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(CommonComplexModification node)
Description copied from class:SchemaVisitorVisit complex type modification (complexContent or simpleContent)element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(CommonCompositorDefinition node)
Description copied from class:SchemaVisitorVisit compositor element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(CommonTypeDefinition node)
Description copied from class:SchemaVisitorVisit type definition element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(ComplexContentElement node)
Description copied from class:SchemaVisitorVisit complexContent element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(ComplexExtensionElement node)
Description copied from class:SchemaVisitorVisit extension element used for complex type.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(ComplexRestrictionElement node)
Description copied from class:SchemaVisitorVisit restriction element used for complex type.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(ComplexTypeElement node)
Description copied from class:SchemaVisitorVisit complexType element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(DocumentationElement node)
Description copied from class:SchemaVisitorVisit documentation element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(SchemaBase node)
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
public boolean visit(ElementElement node)
Description copied from class:SchemaVisitorVisit element element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(GroupElement node)
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
public boolean visit(GroupRefElement node)
Description copied from class:SchemaVisitorVisit group element for reference.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(ImportElement node)
Description copied from class:SchemaVisitorVisit import element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(IncludeElement node)
Description copied from class:SchemaVisitorVisit include element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(ListElement node)
Description copied from class:SchemaVisitorVisit list element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(OpenAttrBase node)
Description copied from class:SchemaVisitorVisit open attribute element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(RedefineElement node)
Description copied from class:SchemaVisitorVisit redefine element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(SchemaElement node)
Description copied from class:SchemaVisitorVisit schema element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(SchemaLocationBase node)
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
public boolean visit(SequenceElement node)
Description copied from class:SchemaVisitorVisit sequence element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(SimpleContentElement node)
Description copied from class:SchemaVisitorVisit simpleContent element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(SimpleExtensionElement node)
Description copied from class:SchemaVisitorVisit extension element for simple type.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(SimpleRestrictionElement node)
Description copied from class:SchemaVisitorVisit restriction element for simple type.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(SimpleTypeElement node)
Description copied from class:SchemaVisitorVisit simpleType element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
visit
public boolean visit(UnionElement node)
Description copied from class:SchemaVisitorVisit union element.- Overrides:
visitin classSchemaVisitor- Parameters:
node- element being visited- Returns:
trueif children to be processed,falseif not
-
-