import java.util.*; import java.io.*; import edu.neu.ccs.demeter.*; class CopyVisitor extends UniversalVisitor { public CopyVisitor() { super(); } private java.util.Stack history = new java.util.Stack(); public CopyVisitor(Class firstClass) { try { history.push(firstClass.newInstance()); } catch(Exception e) { e.printStackTrace(); } } public Object get_copy() { return history.peek(); } Object get_return_val() { return get_copy() ; } public void before_filename(Formatter source, String dest) { Formatter it = (Formatter) history.peek(); it.set_filename(dest); } public void before_CD_Beh_flag(Formatter source, String dest) { Formatter it = (Formatter) history.peek(); it.set_CD_Beh_flag(dest); } public void before_behCodeType(Formatter source, String dest) { Formatter it = (Formatter) history.peek(); it.set_behCodeType(dest); } public void before_namespace(NSRef source, Ident dest) { NSRef it = (NSRef) history.peek(); it.set_namespace(dest); } public void before_prefix(AttrValue source, NSRef dest) { AttrValue it = (AttrValue) history.peek(); NSRef p = new NSRef(); it.set_prefix(p); history.push(p); } public void after_prefix(AttrValue source, NSRef dest) { history.pop(); } public void before_attrName(AttrValue source, Ident dest) { AttrValue it = (AttrValue) history.peek(); it.set_attrName(dest); } public void before_attrValue(AttrValue source, String dest) { AttrValue it = (AttrValue) history.peek(); it.set_attrValue(dest); } public void before_xml_attrs(Schema source, AttrValue_List dest) { Schema it = (Schema) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_xml_attrs(p); history.push(p); } public void after_xml_attrs(Schema source, AttrValue_List dest) { history.pop(); } public void before_prefixS(Schema source, NSRef dest) { Schema it = (Schema) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Schema source, NSRef dest) { history.pop(); } public void before_attrs(Schema source, AttrValue_List dest) { Schema it = (Schema) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Schema source, AttrValue_List dest) { history.pop(); } public void before_items(Schema source, SchemaItem_List dest) { Schema it = (Schema) history.peek(); SchemaItem_List p = new SchemaItem_List(); it.set_items(p); history.push(p); } public void after_items(Schema source, SchemaItem_List dest) { history.pop(); } public void before_prefixE(Schema source, NSRef dest) { Schema it = (Schema) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(Schema source, NSRef dest) { history.pop(); } public void before_prefixS(ImportSchema source, NSRef dest) { ImportSchema it = (ImportSchema) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(ImportSchema source, NSRef dest) { history.pop(); } public void before_attrs(ImportSchema source, AttrValue_List dest) { ImportSchema it = (ImportSchema) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(ImportSchema source, AttrValue_List dest) { history.pop(); } public void before_restofimportschema(ImportSchema source, RestOfImportSchema dest) { ImportSchema it = (ImportSchema) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofimportschema((RestOfImportSchema) p); history.push(p); } public void after_restofimportschema(ImportSchema source, RestOfImportSchema dest) { history.pop(); } public void before_annotation(NonEmptyImportSchema source, Annotation dest) { NonEmptyImportSchema it = (NonEmptyImportSchema) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyImportSchema source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyImportSchema source, NSRef dest) { NonEmptyImportSchema it = (NonEmptyImportSchema) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyImportSchema source, NSRef dest) { history.pop(); } public void before_prefixS(IncludeSchema source, NSRef dest) { IncludeSchema it = (IncludeSchema) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(IncludeSchema source, NSRef dest) { history.pop(); } public void before_attrs(IncludeSchema source, AttrValue_List dest) { IncludeSchema it = (IncludeSchema) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(IncludeSchema source, AttrValue_List dest) { history.pop(); } public void before_restofincludeschema(IncludeSchema source, RestOfIncludeSchema dest) { IncludeSchema it = (IncludeSchema) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofincludeschema((RestOfIncludeSchema) p); history.push(p); } public void after_restofincludeschema(IncludeSchema source, RestOfIncludeSchema dest) { history.pop(); } public void before_annotation(NonEmptyIncludeSchema source, Annotation dest) { NonEmptyIncludeSchema it = (NonEmptyIncludeSchema) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyIncludeSchema source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyIncludeSchema source, NSRef dest) { NonEmptyIncludeSchema it = (NonEmptyIncludeSchema) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyIncludeSchema source, NSRef dest) { history.pop(); } public void before_prefixS(RedefineSchema source, NSRef dest) { RedefineSchema it = (RedefineSchema) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(RedefineSchema source, NSRef dest) { history.pop(); } public void before_attrs(RedefineSchema source, AttrValue_List dest) { RedefineSchema it = (RedefineSchema) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(RedefineSchema source, AttrValue_List dest) { history.pop(); } public void before_restofredefineschema(RedefineSchema source, RestOfRedefineSchema dest) { RedefineSchema it = (RedefineSchema) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofredefineschema((RestOfRedefineSchema) p); history.push(p); } public void after_restofredefineschema(RedefineSchema source, RestOfRedefineSchema dest) { history.pop(); } public void before_schemaitem_list(NonEmptyRedefineSchema source, SchemaItem_List dest) { NonEmptyRedefineSchema it = (NonEmptyRedefineSchema) history.peek(); SchemaItem_List p = new SchemaItem_List(); it.set_schemaitem_list(p); history.push(p); } public void after_schemaitem_list(NonEmptyRedefineSchema source, SchemaItem_List dest) { history.pop(); } public void before_prefixE(NonEmptyRedefineSchema source, NSRef dest) { NonEmptyRedefineSchema it = (NonEmptyRedefineSchema) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyRedefineSchema source, NSRef dest) { history.pop(); } public void before_prefixS(Annotation source, NSRef dest) { Annotation it = (Annotation) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Annotation source, NSRef dest) { history.pop(); } public void before_annotationcontent_list(Annotation source, AnnotationContent_List dest) { Annotation it = (Annotation) history.peek(); AnnotationContent_List p = new AnnotationContent_List(); it.set_annotationcontent_list(p); history.push(p); } public void after_annotationcontent_list(Annotation source, AnnotationContent_List dest) { history.pop(); } public void before_prefixE(Annotation source, NSRef dest) { Annotation it = (Annotation) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(Annotation source, NSRef dest) { history.pop(); } public void before_prefixS(Appinfo source, NSRef dest) { Appinfo it = (Appinfo) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Appinfo source, NSRef dest) { history.pop(); } public void before_attrs(Appinfo source, AttrValue_List dest) { Appinfo it = (Appinfo) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Appinfo source, AttrValue_List dest) { history.pop(); } public void before_prefixE(Appinfo source, NSRef dest) { Appinfo it = (Appinfo) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(Appinfo source, NSRef dest) { history.pop(); } public void before_prefixS(Documentation source, NSRef dest) { Documentation it = (Documentation) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Documentation source, NSRef dest) { history.pop(); } public void before_attrs(Documentation source, AttrValue_List dest) { Documentation it = (Documentation) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Documentation source, AttrValue_List dest) { history.pop(); } public void before_restofdocumentation(Documentation source, RestOfDocumentation dest) { Documentation it = (Documentation) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofdocumentation((RestOfDocumentation) p); history.push(p); } public void after_restofdocumentation(Documentation source, RestOfDocumentation dest) { history.pop(); } public void before_documentation(NonEmptyDocumentation source, String dest) { NonEmptyDocumentation it = (NonEmptyDocumentation) history.peek(); it.set_documentation(dest); } public void before_prefixE(NonEmptyDocumentation source, NSRef dest) { NonEmptyDocumentation it = (NonEmptyDocumentation) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyDocumentation source, NSRef dest) { history.pop(); } public void before_prefixS(Attribute source, NSRef dest) { Attribute it = (Attribute) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Attribute source, NSRef dest) { history.pop(); } public void before_attrs(Attribute source, AttrValue_List dest) { Attribute it = (Attribute) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Attribute source, AttrValue_List dest) { history.pop(); } public void before_restofattribute(Attribute source, RestOfAttribute dest) { Attribute it = (Attribute) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofattribute((RestOfAttribute) p); history.push(p); } public void after_restofattribute(Attribute source, RestOfAttribute dest) { history.pop(); } public void before_annotation(NonEmptyAttribute source, Annotation dest) { NonEmptyAttribute it = (NonEmptyAttribute) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyAttribute source, Annotation dest) { history.pop(); } public void before_type(NonEmptyAttribute source, SimpleType dest) { NonEmptyAttribute it = (NonEmptyAttribute) history.peek(); SimpleType p = new SimpleType(); it.set_type(p); history.push(p); } public void after_type(NonEmptyAttribute source, SimpleType dest) { history.pop(); } public void before_prefixE(NonEmptyAttribute source, NSRef dest) { NonEmptyAttribute it = (NonEmptyAttribute) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyAttribute source, NSRef dest) { history.pop(); } public void before_prefixS(AttributeGroup source, NSRef dest) { AttributeGroup it = (AttributeGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(AttributeGroup source, NSRef dest) { history.pop(); } public void before_attrs(AttributeGroup source, AttrValue_List dest) { AttributeGroup it = (AttributeGroup) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(AttributeGroup source, AttrValue_List dest) { history.pop(); } public void before_restofattrgroup(AttributeGroup source, RestOfAttrGroup dest) { AttributeGroup it = (AttributeGroup) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofattrgroup((RestOfAttrGroup) p); history.push(p); } public void after_restofattrgroup(AttributeGroup source, RestOfAttrGroup dest) { history.pop(); } public void before_annotation(NonEmptyAttrGroup source, Annotation dest) { NonEmptyAttrGroup it = (NonEmptyAttrGroup) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyAttrGroup source, Annotation dest) { history.pop(); } public void before_attributes(NonEmptyAttrGroup source, AttributeItem_List dest) { NonEmptyAttrGroup it = (NonEmptyAttrGroup) history.peek(); AttributeItem_List p = new AttributeItem_List(); it.set_attributes(p); history.push(p); } public void after_attributes(NonEmptyAttrGroup source, AttributeItem_List dest) { history.pop(); } public void before_prefixE(NonEmptyAttrGroup source, NSRef dest) { NonEmptyAttrGroup it = (NonEmptyAttrGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyAttrGroup source, NSRef dest) { history.pop(); } public void before_prefixS(Element source, NSRef dest) { Element it = (Element) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Element source, NSRef dest) { history.pop(); } public void before_attrs(Element source, AttrValue_List dest) { Element it = (Element) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Element source, AttrValue_List dest) { history.pop(); } public void before_restofelement(Element source, RestOfElement dest) { Element it = (Element) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofelement((RestOfElement) p); history.push(p); } public void after_restofelement(Element source, RestOfElement dest) { history.pop(); } public void before_annotation(NonEmptyElement source, Annotation dest) { NonEmptyElement it = (NonEmptyElement) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyElement source, Annotation dest) { history.pop(); } public void before_type(NonEmptyElement source, TypeDef dest) { NonEmptyElement it = (NonEmptyElement) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_type((TypeDef) p); history.push(p); } public void after_type(NonEmptyElement source, TypeDef dest) { history.pop(); } public void before_key(NonEmptyElement source, Key dest) { NonEmptyElement it = (NonEmptyElement) history.peek(); Key p = new Key(); it.set_key(p); history.push(p); } public void after_key(NonEmptyElement source, Key dest) { history.pop(); } public void before_keyref(NonEmptyElement source, Keyref dest) { NonEmptyElement it = (NonEmptyElement) history.peek(); Keyref p = new Keyref(); it.set_keyref(p); history.push(p); } public void after_keyref(NonEmptyElement source, Keyref dest) { history.pop(); } public void before_uniqueSpec(NonEmptyElement source, UniqueSpec dest) { NonEmptyElement it = (NonEmptyElement) history.peek(); UniqueSpec p = new UniqueSpec(); it.set_uniqueSpec(p); history.push(p); } public void after_uniqueSpec(NonEmptyElement source, UniqueSpec dest) { history.pop(); } public void before_prefixE(NonEmptyElement source, NSRef dest) { NonEmptyElement it = (NonEmptyElement) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyElement source, NSRef dest) { history.pop(); } public void before_prefixS(Key source, NSRef dest) { Key it = (Key) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Key source, NSRef dest) { history.pop(); } public void before_attrs(Key source, AttrValue_List dest) { Key it = (Key) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Key source, AttrValue_List dest) { history.pop(); } public void before_annotation(Key source, Annotation dest) { Key it = (Key) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(Key source, Annotation dest) { history.pop(); } public void before_selector(Key source, Selector dest) { Key it = (Key) history.peek(); Selector p = new Selector(); it.set_selector(p); history.push(p); } public void after_selector(Key source, Selector dest) { history.pop(); } public void before_field_list(Key source, Field_List dest) { Key it = (Key) history.peek(); Field_List p = new Field_List(); it.set_field_list(p); history.push(p); } public void after_field_list(Key source, Field_List dest) { history.pop(); } public void before_prefixE(Key source, NSRef dest) { Key it = (Key) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(Key source, NSRef dest) { history.pop(); } public void before_prefixS(Keyref source, NSRef dest) { Keyref it = (Keyref) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Keyref source, NSRef dest) { history.pop(); } public void before_attrs(Keyref source, AttrValue_List dest) { Keyref it = (Keyref) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Keyref source, AttrValue_List dest) { history.pop(); } public void before_annotation(Keyref source, Annotation dest) { Keyref it = (Keyref) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(Keyref source, Annotation dest) { history.pop(); } public void before_selector(Keyref source, Selector dest) { Keyref it = (Keyref) history.peek(); Selector p = new Selector(); it.set_selector(p); history.push(p); } public void after_selector(Keyref source, Selector dest) { history.pop(); } public void before_field_list(Keyref source, Field_List dest) { Keyref it = (Keyref) history.peek(); Field_List p = new Field_List(); it.set_field_list(p); history.push(p); } public void after_field_list(Keyref source, Field_List dest) { history.pop(); } public void before_prefixE(Keyref source, NSRef dest) { Keyref it = (Keyref) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(Keyref source, NSRef dest) { history.pop(); } public void before_prefixS(UniqueSpec source, NSRef dest) { UniqueSpec it = (UniqueSpec) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(UniqueSpec source, NSRef dest) { history.pop(); } public void before_attrs(UniqueSpec source, AttrValue_List dest) { UniqueSpec it = (UniqueSpec) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(UniqueSpec source, AttrValue_List dest) { history.pop(); } public void before_annotation(UniqueSpec source, Annotation dest) { UniqueSpec it = (UniqueSpec) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(UniqueSpec source, Annotation dest) { history.pop(); } public void before_selector(UniqueSpec source, Selector dest) { UniqueSpec it = (UniqueSpec) history.peek(); Selector p = new Selector(); it.set_selector(p); history.push(p); } public void after_selector(UniqueSpec source, Selector dest) { history.pop(); } public void before_field_list(UniqueSpec source, Field_List dest) { UniqueSpec it = (UniqueSpec) history.peek(); Field_List p = new Field_List(); it.set_field_list(p); history.push(p); } public void after_field_list(UniqueSpec source, Field_List dest) { history.pop(); } public void before_prefixE(UniqueSpec source, NSRef dest) { UniqueSpec it = (UniqueSpec) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(UniqueSpec source, NSRef dest) { history.pop(); } public void before_prefixS(Selector source, NSRef dest) { Selector it = (Selector) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Selector source, NSRef dest) { history.pop(); } public void before_attrs(Selector source, AttrValue_List dest) { Selector it = (Selector) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Selector source, AttrValue_List dest) { history.pop(); } public void before_restofselector(Selector source, RestOfSelector dest) { Selector it = (Selector) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofselector((RestOfSelector) p); history.push(p); } public void after_restofselector(Selector source, RestOfSelector dest) { history.pop(); } public void before_annotation(NonEmptySelector source, Annotation dest) { NonEmptySelector it = (NonEmptySelector) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptySelector source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptySelector source, NSRef dest) { NonEmptySelector it = (NonEmptySelector) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptySelector source, NSRef dest) { history.pop(); } public void before_prefixS(Field source, NSRef dest) { Field it = (Field) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Field source, NSRef dest) { history.pop(); } public void before_attrs(Field source, AttrValue_List dest) { Field it = (Field) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Field source, AttrValue_List dest) { history.pop(); } public void before_restoffield(Field source, RestOfField dest) { Field it = (Field) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restoffield((RestOfField) p); history.push(p); } public void after_restoffield(Field source, RestOfField dest) { history.pop(); } public void before_annotation(NonEmptyField source, Annotation dest) { NonEmptyField it = (NonEmptyField) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyField source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyField source, NSRef dest) { NonEmptyField it = (NonEmptyField) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyField source, NSRef dest) { history.pop(); } public void before_prefixS(ElementGroup source, NSRef dest) { ElementGroup it = (ElementGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(ElementGroup source, NSRef dest) { history.pop(); } public void before_attrs(ElementGroup source, AttrValue_List dest) { ElementGroup it = (ElementGroup) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(ElementGroup source, AttrValue_List dest) { history.pop(); } public void before_restofelementgroup(ElementGroup source, RestOfElementGroup dest) { ElementGroup it = (ElementGroup) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofelementgroup((RestOfElementGroup) p); history.push(p); } public void after_restofelementgroup(ElementGroup source, RestOfElementGroup dest) { history.pop(); } public void before_annotation(NonEmptyElementGroup source, Annotation dest) { NonEmptyElementGroup it = (NonEmptyElementGroup) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyElementGroup source, Annotation dest) { history.pop(); } public void before_elements(NonEmptyElementGroup source, ElementItem_List dest) { NonEmptyElementGroup it = (NonEmptyElementGroup) history.peek(); ElementItem_List p = new ElementItem_List(); it.set_elements(p); history.push(p); } public void after_elements(NonEmptyElementGroup source, ElementItem_List dest) { history.pop(); } public void before_prefixE(NonEmptyElementGroup source, NSRef dest) { NonEmptyElementGroup it = (NonEmptyElementGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyElementGroup source, NSRef dest) { history.pop(); } public void before_prefixS(Notation source, NSRef dest) { Notation it = (Notation) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Notation source, NSRef dest) { history.pop(); } public void before_attrs(Notation source, AttrValue_List dest) { Notation it = (Notation) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Notation source, AttrValue_List dest) { history.pop(); } public void before_restofnotation(Notation source, RestOfNotation dest) { Notation it = (Notation) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofnotation((RestOfNotation) p); history.push(p); } public void after_restofnotation(Notation source, RestOfNotation dest) { history.pop(); } public void before_annotation(NonEmptyNotation source, Annotation dest) { NonEmptyNotation it = (NonEmptyNotation) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyNotation source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyNotation source, NSRef dest) { NonEmptyNotation it = (NonEmptyNotation) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyNotation source, NSRef dest) { history.pop(); } public void before_prefixS(SimpleType source, NSRef dest) { SimpleType it = (SimpleType) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(SimpleType source, NSRef dest) { history.pop(); } public void before_attrs(SimpleType source, AttrValue_List dest) { SimpleType it = (SimpleType) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(SimpleType source, AttrValue_List dest) { history.pop(); } public void before_annotation(SimpleType source, Annotation dest) { SimpleType it = (SimpleType) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(SimpleType source, Annotation dest) { history.pop(); } public void before_simpletypevariety(SimpleType source, SimpleTypeVariety dest) { SimpleType it = (SimpleType) history.peek(); SimpleTypeVariety p = new SimpleTypeVariety(); it.set_simpletypevariety(p); history.push(p); } public void after_simpletypevariety(SimpleType source, SimpleTypeVariety dest) { history.pop(); } public void before_prefixE(SimpleType source, NSRef dest) { SimpleType it = (SimpleType) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(SimpleType source, NSRef dest) { history.pop(); } public void before_listvariety(SimpleTypeVariety source, ListVariety dest) { SimpleTypeVariety it = (SimpleTypeVariety) history.peek(); ListVariety p = new ListVariety(); it.set_listvariety(p); history.push(p); } public void after_listvariety(SimpleTypeVariety source, ListVariety dest) { history.pop(); } public void before_unionvariety(SimpleTypeVariety source, UnionVariety dest) { SimpleTypeVariety it = (SimpleTypeVariety) history.peek(); UnionVariety p = new UnionVariety(); it.set_unionvariety(p); history.push(p); } public void after_unionvariety(SimpleTypeVariety source, UnionVariety dest) { history.pop(); } public void before_restriction(SimpleTypeVariety source, Restriction dest) { SimpleTypeVariety it = (SimpleTypeVariety) history.peek(); Restriction p = new Restriction(); it.set_restriction(p); history.push(p); } public void after_restriction(SimpleTypeVariety source, Restriction dest) { history.pop(); } public void before_prefixS(ListVariety source, NSRef dest) { ListVariety it = (ListVariety) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(ListVariety source, NSRef dest) { history.pop(); } public void before_attrs(ListVariety source, AttrValue_List dest) { ListVariety it = (ListVariety) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(ListVariety source, AttrValue_List dest) { history.pop(); } public void before_restoflistvariety(ListVariety source, RestOfListVariety dest) { ListVariety it = (ListVariety) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restoflistvariety((RestOfListVariety) p); history.push(p); } public void after_restoflistvariety(ListVariety source, RestOfListVariety dest) { history.pop(); } public void before_annotation(NonEmptyListVariety source, Annotation dest) { NonEmptyListVariety it = (NonEmptyListVariety) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyListVariety source, Annotation dest) { history.pop(); } public void before_type(NonEmptyListVariety source, SimpleType dest) { NonEmptyListVariety it = (NonEmptyListVariety) history.peek(); SimpleType p = new SimpleType(); it.set_type(p); history.push(p); } public void after_type(NonEmptyListVariety source, SimpleType dest) { history.pop(); } public void before_prefixE(NonEmptyListVariety source, NSRef dest) { NonEmptyListVariety it = (NonEmptyListVariety) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyListVariety source, NSRef dest) { history.pop(); } public void before_prefixS(UnionVariety source, NSRef dest) { UnionVariety it = (UnionVariety) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(UnionVariety source, NSRef dest) { history.pop(); } public void before_attrs(UnionVariety source, AttrValue_List dest) { UnionVariety it = (UnionVariety) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(UnionVariety source, AttrValue_List dest) { history.pop(); } public void before_restofunionvariety(UnionVariety source, RestOfUnionVariety dest) { UnionVariety it = (UnionVariety) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofunionvariety((RestOfUnionVariety) p); history.push(p); } public void after_restofunionvariety(UnionVariety source, RestOfUnionVariety dest) { history.pop(); } public void before_annotation(NonEmptyUnionVariety source, Annotation dest) { NonEmptyUnionVariety it = (NonEmptyUnionVariety) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyUnionVariety source, Annotation dest) { history.pop(); } public void before_type(NonEmptyUnionVariety source, SimpleType dest) { NonEmptyUnionVariety it = (NonEmptyUnionVariety) history.peek(); SimpleType p = new SimpleType(); it.set_type(p); history.push(p); } public void after_type(NonEmptyUnionVariety source, SimpleType dest) { history.pop(); } public void before_prefixE(NonEmptyUnionVariety source, NSRef dest) { NonEmptyUnionVariety it = (NonEmptyUnionVariety) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyUnionVariety source, NSRef dest) { history.pop(); } public void before_prefixS(ComplexType source, NSRef dest) { ComplexType it = (ComplexType) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(ComplexType source, NSRef dest) { history.pop(); } public void before_attrs(ComplexType source, AttrValue_List dest) { ComplexType it = (ComplexType) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(ComplexType source, AttrValue_List dest) { history.pop(); } public void before_restofcomplextype(ComplexType source, RestOfComplexType dest) { ComplexType it = (ComplexType) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofcomplextype((RestOfComplexType) p); history.push(p); } public void after_restofcomplextype(ComplexType source, RestOfComplexType dest) { history.pop(); } public void before_annotation(NonEmptyComplexType source, Annotation dest) { NonEmptyComplexType it = (NonEmptyComplexType) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyComplexType source, Annotation dest) { history.pop(); } public void before_complextypecontent(NonEmptyComplexType source, ComplexTypeContent dest) { NonEmptyComplexType it = (NonEmptyComplexType) history.peek(); ComplexTypeContent p = new ComplexTypeContent(); it.set_complextypecontent(p); history.push(p); } public void after_complextypecontent(NonEmptyComplexType source, ComplexTypeContent dest) { history.pop(); } public void before_attributeitem_list(NonEmptyComplexType source, AttributeItem_List dest) { NonEmptyComplexType it = (NonEmptyComplexType) history.peek(); AttributeItem_List p = new AttributeItem_List(); it.set_attributeitem_list(p); history.push(p); } public void after_attributeitem_list(NonEmptyComplexType source, AttributeItem_List dest) { history.pop(); } public void before_prefixE(NonEmptyComplexType source, NSRef dest) { NonEmptyComplexType it = (NonEmptyComplexType) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyComplexType source, NSRef dest) { history.pop(); } public void before_simplecontent(ComplexTypeContent source, SimpleContent dest) { ComplexTypeContent it = (ComplexTypeContent) history.peek(); SimpleContent p = new SimpleContent(); it.set_simplecontent(p); history.push(p); } public void after_simplecontent(ComplexTypeContent source, SimpleContent dest) { history.pop(); } public void before_complexcontent(ComplexTypeContent source, ComplexContent dest) { ComplexTypeContent it = (ComplexTypeContent) history.peek(); ComplexContent p = new ComplexContent(); it.set_complexcontent(p); history.push(p); } public void after_complexcontent(ComplexTypeContent source, ComplexContent dest) { history.pop(); } public void before_elementitem(ComplexTypeContent source, ElementItem dest) { ComplexTypeContent it = (ComplexTypeContent) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_elementitem((ElementItem) p); history.push(p); } public void after_elementitem(ComplexTypeContent source, ElementItem dest) { history.pop(); } public void before_prefixS(SimpleContent source, NSRef dest) { SimpleContent it = (SimpleContent) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(SimpleContent source, NSRef dest) { history.pop(); } public void before_attrs(SimpleContent source, AttrValue_List dest) { SimpleContent it = (SimpleContent) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(SimpleContent source, AttrValue_List dest) { history.pop(); } public void before_annotation(SimpleContent source, Annotation dest) { SimpleContent it = (SimpleContent) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(SimpleContent source, Annotation dest) { history.pop(); } public void before_typederivation(SimpleContent source, TypeDerivation dest) { SimpleContent it = (SimpleContent) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_typederivation((TypeDerivation) p); history.push(p); } public void after_typederivation(SimpleContent source, TypeDerivation dest) { history.pop(); } public void before_prefixE(SimpleContent source, NSRef dest) { SimpleContent it = (SimpleContent) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(SimpleContent source, NSRef dest) { history.pop(); } public void before_prefixS(Restriction source, NSRef dest) { Restriction it = (Restriction) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Restriction source, NSRef dest) { history.pop(); } public void before_attrs(Restriction source, AttrValue_List dest) { Restriction it = (Restriction) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Restriction source, AttrValue_List dest) { history.pop(); } public void before_restofrestriction(Restriction source, RestOfRestriction dest) { Restriction it = (Restriction) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofrestriction((RestOfRestriction) p); history.push(p); } public void after_restofrestriction(Restriction source, RestOfRestriction dest) { history.pop(); } public void before_annotation(NonEmptyRestriction source, Annotation dest) { NonEmptyRestriction it = (NonEmptyRestriction) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyRestriction source, Annotation dest) { history.pop(); } public void before_constrainingfacet_l4list(NonEmptyRestriction source, ConstrainingFacet_L4List dest) { NonEmptyRestriction it = (NonEmptyRestriction) history.peek(); ConstrainingFacet_L4List p = new ConstrainingFacet_L4List(); it.set_constrainingfacet_l4list(p); history.push(p); } public void after_constrainingfacet_l4list(NonEmptyRestriction source, ConstrainingFacet_L4List dest) { history.pop(); } public void before_elementitem(NonEmptyRestriction source, ElementItem dest) { NonEmptyRestriction it = (NonEmptyRestriction) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_elementitem((ElementItem) p); history.push(p); } public void after_elementitem(NonEmptyRestriction source, ElementItem dest) { history.pop(); } public void before_attributeitem_list(NonEmptyRestriction source, AttributeItem_List dest) { NonEmptyRestriction it = (NonEmptyRestriction) history.peek(); AttributeItem_List p = new AttributeItem_List(); it.set_attributeitem_list(p); history.push(p); } public void after_attributeitem_list(NonEmptyRestriction source, AttributeItem_List dest) { history.pop(); } public void before_prefixE(NonEmptyRestriction source, NSRef dest) { NonEmptyRestriction it = (NonEmptyRestriction) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyRestriction source, NSRef dest) { history.pop(); } public void before_prefixS(EnumerationSpec source, NSRef dest) { EnumerationSpec it = (EnumerationSpec) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(EnumerationSpec source, NSRef dest) { history.pop(); } public void before_attrs(EnumerationSpec source, AttrValue_List dest) { EnumerationSpec it = (EnumerationSpec) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(EnumerationSpec source, AttrValue_List dest) { history.pop(); } public void before_restofenumerationspec(EnumerationSpec source, RestOfEnumerationSpec dest) { EnumerationSpec it = (EnumerationSpec) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofenumerationspec((RestOfEnumerationSpec) p); history.push(p); } public void after_restofenumerationspec(EnumerationSpec source, RestOfEnumerationSpec dest) { history.pop(); } public void before_annotation(NonEmptyEnumerationSpec source, Annotation dest) { NonEmptyEnumerationSpec it = (NonEmptyEnumerationSpec) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyEnumerationSpec source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyEnumerationSpec source, NSRef dest) { NonEmptyEnumerationSpec it = (NonEmptyEnumerationSpec) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyEnumerationSpec source, NSRef dest) { history.pop(); } public void before_prefixS(LengthSpec source, NSRef dest) { LengthSpec it = (LengthSpec) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(LengthSpec source, NSRef dest) { history.pop(); } public void before_attrs(LengthSpec source, AttrValue_List dest) { LengthSpec it = (LengthSpec) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(LengthSpec source, AttrValue_List dest) { history.pop(); } public void before_restoflengthspec(LengthSpec source, RestOfLengthSpec dest) { LengthSpec it = (LengthSpec) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restoflengthspec((RestOfLengthSpec) p); history.push(p); } public void after_restoflengthspec(LengthSpec source, RestOfLengthSpec dest) { history.pop(); } public void before_annotation(NonEmptyLengthSpec source, Annotation dest) { NonEmptyLengthSpec it = (NonEmptyLengthSpec) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyLengthSpec source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyLengthSpec source, NSRef dest) { NonEmptyLengthSpec it = (NonEmptyLengthSpec) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyLengthSpec source, NSRef dest) { history.pop(); } public void before_prefixS(MaxExclusive source, NSRef dest) { MaxExclusive it = (MaxExclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(MaxExclusive source, NSRef dest) { history.pop(); } public void before_attrs(MaxExclusive source, AttrValue_List dest) { MaxExclusive it = (MaxExclusive) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(MaxExclusive source, AttrValue_List dest) { history.pop(); } public void before_restofmaxexclusive(MaxExclusive source, RestOfMaxExclusive dest) { MaxExclusive it = (MaxExclusive) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofmaxexclusive((RestOfMaxExclusive) p); history.push(p); } public void after_restofmaxexclusive(MaxExclusive source, RestOfMaxExclusive dest) { history.pop(); } public void before_annotation(NonEmptyMaxExclusive source, Annotation dest) { NonEmptyMaxExclusive it = (NonEmptyMaxExclusive) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyMaxExclusive source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyMaxExclusive source, NSRef dest) { NonEmptyMaxExclusive it = (NonEmptyMaxExclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyMaxExclusive source, NSRef dest) { history.pop(); } public void before_prefixS(MaxInclusive source, NSRef dest) { MaxInclusive it = (MaxInclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(MaxInclusive source, NSRef dest) { history.pop(); } public void before_attrs(MaxInclusive source, AttrValue_List dest) { MaxInclusive it = (MaxInclusive) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(MaxInclusive source, AttrValue_List dest) { history.pop(); } public void before_restofmaxinclusive(MaxInclusive source, RestOfMaxInclusive dest) { MaxInclusive it = (MaxInclusive) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofmaxinclusive((RestOfMaxInclusive) p); history.push(p); } public void after_restofmaxinclusive(MaxInclusive source, RestOfMaxInclusive dest) { history.pop(); } public void before_annotation(NonEmptyMaxInclusive source, Annotation dest) { NonEmptyMaxInclusive it = (NonEmptyMaxInclusive) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyMaxInclusive source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyMaxInclusive source, NSRef dest) { NonEmptyMaxInclusive it = (NonEmptyMaxInclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyMaxInclusive source, NSRef dest) { history.pop(); } public void before_prefixS(MaxLength source, NSRef dest) { MaxLength it = (MaxLength) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(MaxLength source, NSRef dest) { history.pop(); } public void before_attrs(MaxLength source, AttrValue_List dest) { MaxLength it = (MaxLength) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(MaxLength source, AttrValue_List dest) { history.pop(); } public void before_restofmaxlength(MaxLength source, RestOfMaxLength dest) { MaxLength it = (MaxLength) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofmaxlength((RestOfMaxLength) p); history.push(p); } public void after_restofmaxlength(MaxLength source, RestOfMaxLength dest) { history.pop(); } public void before_annotation(NonEmptyMaxLength source, Annotation dest) { NonEmptyMaxLength it = (NonEmptyMaxLength) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyMaxLength source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyMaxLength source, NSRef dest) { NonEmptyMaxLength it = (NonEmptyMaxLength) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyMaxLength source, NSRef dest) { history.pop(); } public void before_prefixS(MinExclusive source, NSRef dest) { MinExclusive it = (MinExclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(MinExclusive source, NSRef dest) { history.pop(); } public void before_attrs(MinExclusive source, AttrValue_List dest) { MinExclusive it = (MinExclusive) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(MinExclusive source, AttrValue_List dest) { history.pop(); } public void before_restofminexclusive(MinExclusive source, RestOfMinExclusive dest) { MinExclusive it = (MinExclusive) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofminexclusive((RestOfMinExclusive) p); history.push(p); } public void after_restofminexclusive(MinExclusive source, RestOfMinExclusive dest) { history.pop(); } public void before_annotation(NonEmptyMinExclusive source, Annotation dest) { NonEmptyMinExclusive it = (NonEmptyMinExclusive) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyMinExclusive source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyMinExclusive source, NSRef dest) { NonEmptyMinExclusive it = (NonEmptyMinExclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyMinExclusive source, NSRef dest) { history.pop(); } public void before_prefixS(MinInclusive source, NSRef dest) { MinInclusive it = (MinInclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(MinInclusive source, NSRef dest) { history.pop(); } public void before_attrs(MinInclusive source, AttrValue_List dest) { MinInclusive it = (MinInclusive) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(MinInclusive source, AttrValue_List dest) { history.pop(); } public void before_restofmininclusive(MinInclusive source, RestOfMinInclusive dest) { MinInclusive it = (MinInclusive) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofmininclusive((RestOfMinInclusive) p); history.push(p); } public void after_restofmininclusive(MinInclusive source, RestOfMinInclusive dest) { history.pop(); } public void before_annotation(NonEmptyMinInclusive source, Annotation dest) { NonEmptyMinInclusive it = (NonEmptyMinInclusive) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyMinInclusive source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyMinInclusive source, NSRef dest) { NonEmptyMinInclusive it = (NonEmptyMinInclusive) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyMinInclusive source, NSRef dest) { history.pop(); } public void before_prefixS(MinLength source, NSRef dest) { MinLength it = (MinLength) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(MinLength source, NSRef dest) { history.pop(); } public void before_attrs(MinLength source, AttrValue_List dest) { MinLength it = (MinLength) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(MinLength source, AttrValue_List dest) { history.pop(); } public void before_restofminlength(MinLength source, RestOfMinLength dest) { MinLength it = (MinLength) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofminlength((RestOfMinLength) p); history.push(p); } public void after_restofminlength(MinLength source, RestOfMinLength dest) { history.pop(); } public void before_annotation(NonEmptyMinLength source, Annotation dest) { NonEmptyMinLength it = (NonEmptyMinLength) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyMinLength source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyMinLength source, NSRef dest) { NonEmptyMinLength it = (NonEmptyMinLength) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyMinLength source, NSRef dest) { history.pop(); } public void before_prefixS(Pattern source, NSRef dest) { Pattern it = (Pattern) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Pattern source, NSRef dest) { history.pop(); } public void before_attrs(Pattern source, AttrValue_List dest) { Pattern it = (Pattern) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Pattern source, AttrValue_List dest) { history.pop(); } public void before_restofpattern(Pattern source, RestOfPattern dest) { Pattern it = (Pattern) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofpattern((RestOfPattern) p); history.push(p); } public void after_restofpattern(Pattern source, RestOfPattern dest) { history.pop(); } public void before_annotation(NonEmptyPattern source, Annotation dest) { NonEmptyPattern it = (NonEmptyPattern) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyPattern source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyPattern source, NSRef dest) { NonEmptyPattern it = (NonEmptyPattern) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyPattern source, NSRef dest) { history.pop(); } public void before_prefixS(TotalDigits source, NSRef dest) { TotalDigits it = (TotalDigits) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(TotalDigits source, NSRef dest) { history.pop(); } public void before_attrs(TotalDigits source, AttrValue_List dest) { TotalDigits it = (TotalDigits) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(TotalDigits source, AttrValue_List dest) { history.pop(); } public void before_restoftotaldigits(TotalDigits source, RestOfTotalDigits dest) { TotalDigits it = (TotalDigits) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restoftotaldigits((RestOfTotalDigits) p); history.push(p); } public void after_restoftotaldigits(TotalDigits source, RestOfTotalDigits dest) { history.pop(); } public void before_annotation(NonEmptyTotalDigits source, Annotation dest) { NonEmptyTotalDigits it = (NonEmptyTotalDigits) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyTotalDigits source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyTotalDigits source, NSRef dest) { NonEmptyTotalDigits it = (NonEmptyTotalDigits) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyTotalDigits source, NSRef dest) { history.pop(); } public void before_prefixS(FractionDigits source, NSRef dest) { FractionDigits it = (FractionDigits) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(FractionDigits source, NSRef dest) { history.pop(); } public void before_attrs(FractionDigits source, AttrValue_List dest) { FractionDigits it = (FractionDigits) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(FractionDigits source, AttrValue_List dest) { history.pop(); } public void before_restoffractiondigits(FractionDigits source, RestOfFractionDigits dest) { FractionDigits it = (FractionDigits) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restoffractiondigits((RestOfFractionDigits) p); history.push(p); } public void after_restoffractiondigits(FractionDigits source, RestOfFractionDigits dest) { history.pop(); } public void before_annotation(NonEmptyFractionDigits source, Annotation dest) { NonEmptyFractionDigits it = (NonEmptyFractionDigits) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyFractionDigits source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyFractionDigits source, NSRef dest) { NonEmptyFractionDigits it = (NonEmptyFractionDigits) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyFractionDigits source, NSRef dest) { history.pop(); } public void before_prefixS(Whitespace source, NSRef dest) { Whitespace it = (Whitespace) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Whitespace source, NSRef dest) { history.pop(); } public void before_attrs(Whitespace source, AttrValue_List dest) { Whitespace it = (Whitespace) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Whitespace source, AttrValue_List dest) { history.pop(); } public void before_restofwhitespace(Whitespace source, RestOfWhitespace dest) { Whitespace it = (Whitespace) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofwhitespace((RestOfWhitespace) p); history.push(p); } public void after_restofwhitespace(Whitespace source, RestOfWhitespace dest) { history.pop(); } public void before_annotation(NonEmptyWhitespace source, Annotation dest) { NonEmptyWhitespace it = (NonEmptyWhitespace) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyWhitespace source, Annotation dest) { history.pop(); } public void before_prefixE(NonEmptyWhitespace source, NSRef dest) { NonEmptyWhitespace it = (NonEmptyWhitespace) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyWhitespace source, NSRef dest) { history.pop(); } public void before_prefixS(Extension source, NSRef dest) { Extension it = (Extension) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(Extension source, NSRef dest) { history.pop(); } public void before_attrs(Extension source, AttrValue_List dest) { Extension it = (Extension) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(Extension source, AttrValue_List dest) { history.pop(); } public void before_restofextension(Extension source, RestOfExtension dest) { Extension it = (Extension) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_restofextension((RestOfExtension) p); history.push(p); } public void after_restofextension(Extension source, RestOfExtension dest) { history.pop(); } public void before_annotation(NonEmptyExtension source, Annotation dest) { NonEmptyExtension it = (NonEmptyExtension) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(NonEmptyExtension source, Annotation dest) { history.pop(); } public void before_elementitem(NonEmptyExtension source, ElementItem dest) { NonEmptyExtension it = (NonEmptyExtension) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_elementitem((ElementItem) p); history.push(p); } public void after_elementitem(NonEmptyExtension source, ElementItem dest) { history.pop(); } public void before_attributeitem_list(NonEmptyExtension source, AttributeItem_List dest) { NonEmptyExtension it = (NonEmptyExtension) history.peek(); AttributeItem_List p = new AttributeItem_List(); it.set_attributeitem_list(p); history.push(p); } public void after_attributeitem_list(NonEmptyExtension source, AttributeItem_List dest) { history.pop(); } public void before_prefixE(NonEmptyExtension source, NSRef dest) { NonEmptyExtension it = (NonEmptyExtension) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(NonEmptyExtension source, NSRef dest) { history.pop(); } public void before_prefixS(ComplexContent source, NSRef dest) { ComplexContent it = (ComplexContent) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(ComplexContent source, NSRef dest) { history.pop(); } public void before_attrs(ComplexContent source, AttrValue_List dest) { ComplexContent it = (ComplexContent) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(ComplexContent source, AttrValue_List dest) { history.pop(); } public void before_annotation(ComplexContent source, Annotation dest) { ComplexContent it = (ComplexContent) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(ComplexContent source, Annotation dest) { history.pop(); } public void before_typederivation(ComplexContent source, TypeDerivation dest) { ComplexContent it = (ComplexContent) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_typederivation((TypeDerivation) p); history.push(p); } public void after_typederivation(ComplexContent source, TypeDerivation dest) { history.pop(); } public void before_prefixE(ComplexContent source, NSRef dest) { ComplexContent it = (ComplexContent) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(ComplexContent source, NSRef dest) { history.pop(); } public void before_prefixS(AllGroup source, NSRef dest) { AllGroup it = (AllGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(AllGroup source, NSRef dest) { history.pop(); } public void before_attrs(AllGroup source, AttrValue_List dest) { AllGroup it = (AllGroup) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(AllGroup source, AttrValue_List dest) { history.pop(); } public void before_annotation(AllGroup source, Annotation dest) { AllGroup it = (AllGroup) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(AllGroup source, Annotation dest) { history.pop(); } public void before_element_list(AllGroup source, Element_List dest) { AllGroup it = (AllGroup) history.peek(); Element_List p = new Element_List(); it.set_element_list(p); history.push(p); } public void after_element_list(AllGroup source, Element_List dest) { history.pop(); } public void before_prefixE(AllGroup source, NSRef dest) { AllGroup it = (AllGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(AllGroup source, NSRef dest) { history.pop(); } public void before_prefixS(ChoiceGroup source, NSRef dest) { ChoiceGroup it = (ChoiceGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(ChoiceGroup source, NSRef dest) { history.pop(); } public void before_attrs(ChoiceGroup source, AttrValue_List dest) { ChoiceGroup it = (ChoiceGroup) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(ChoiceGroup source, AttrValue_List dest) { history.pop(); } public void before_annotation(ChoiceGroup source, Annotation dest) { ChoiceGroup it = (ChoiceGroup) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(ChoiceGroup source, Annotation dest) { history.pop(); } public void before_elementitem_list(ChoiceGroup source, ElementItem_List dest) { ChoiceGroup it = (ChoiceGroup) history.peek(); ElementItem_List p = new ElementItem_List(); it.set_elementitem_list(p); history.push(p); } public void after_elementitem_list(ChoiceGroup source, ElementItem_List dest) { history.pop(); } public void before_prefixE(ChoiceGroup source, NSRef dest) { ChoiceGroup it = (ChoiceGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(ChoiceGroup source, NSRef dest) { history.pop(); } public void before_prefixS(SequenceGroup source, NSRef dest) { SequenceGroup it = (SequenceGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixS(p); history.push(p); } public void after_prefixS(SequenceGroup source, NSRef dest) { history.pop(); } public void before_attrs(SequenceGroup source, AttrValue_List dest) { SequenceGroup it = (SequenceGroup) history.peek(); AttrValue_List p = new AttrValue_List(); it.set_attrs(p); history.push(p); } public void after_attrs(SequenceGroup source, AttrValue_List dest) { history.pop(); } public void before_annotation(SequenceGroup source, Annotation dest) { SequenceGroup it = (SequenceGroup) history.peek(); Annotation p = new Annotation(); it.set_annotation(p); history.push(p); } public void after_annotation(SequenceGroup source, Annotation dest) { history.pop(); } public void before_elementitem_list(SequenceGroup source, ElementItem_List dest) { SequenceGroup it = (SequenceGroup) history.peek(); ElementItem_List p = new ElementItem_List(); it.set_elementitem_list(p); history.push(p); } public void after_elementitem_list(SequenceGroup source, ElementItem_List dest) { history.pop(); } public void before_prefixE(SequenceGroup source, NSRef dest) { SequenceGroup it = (SequenceGroup) history.peek(); NSRef p = new NSRef(); it.set_prefixE(p); history.push(p); } public void after_prefixE(SequenceGroup source, NSRef dest) { history.pop(); } public void before_comment(Comment source, String dest) { Comment it = (Comment) history.peek(); it.set_comment(dest); } public void before_root_element(CDDef source, DataElement dest) { CDDef it = (CDDef) history.peek(); DataElement p = new DataElement(); it.set_root_element(p); history.push(p); } public void after_root_element(CDDef source, DataElement dest) { history.pop(); } public void before_global_elements(CDDef source, Hashtable dest) { CDDef it = (CDDef) history.peek(); it.set_global_elements(dest); } public void before_global_attributes(CDDef source, Hashtable dest) { CDDef it = (CDDef) history.peek(); it.set_global_attributes(dest); } public void before_global_groups(CDDef source, Hashtable dest) { CDDef it = (CDDef) history.peek(); it.set_global_groups(dest); } public void before_global_attribute_groups(CDDef source, Hashtable dest) { CDDef it = (CDDef) history.peek(); it.set_global_attribute_groups(dest); } public void before_types(CDDef source, DataClass_List dest) { CDDef it = (CDDef) history.peek(); DataClass_List p = new DataClass_List(); it.set_types(p); history.push(p); } public void after_types(CDDef source, DataClass_List dest) { history.pop(); } public void before_name(DataItem source, String dest) { DataItem it = (DataItem) history.peek(); it.set_name(dest); } public void before_type(DataItem source, String dest) { DataItem it = (DataItem) history.peek(); it.set_type(dest); } public void before_nillable_flag(DataItem source, Boolean dest) { DataItem it = (DataItem) history.peek(); it.set_nillable_flag(dest); } public void before_abstract_ind(DataElement source, Boolean dest) { DataElement it = (DataElement) history.peek(); it.set_abstract_ind(dest); } public void before_constraint(ClassPart source, Constraint dest) { ClassPart it = (ClassPart) history.peek(); Constraint p = new Constraint(); it.set_constraint(p); history.push(p); } public void after_constraint(ClassPart source, Constraint dest) { history.pop(); } public void before_filler_flag(ElementClassPart source, Boolean dest) { ElementClassPart it = (ElementClassPart) history.peek(); it.set_filler_flag(dest); } public void before_name(GlobalAttrGroup source, String dest) { GlobalAttrGroup it = (GlobalAttrGroup) history.peek(); it.set_name(dest); } public void before_attributes(GlobalAttrGroup source, AttrClassPart_List dest) { GlobalAttrGroup it = (GlobalAttrGroup) history.peek(); AttrClassPart_List p = new AttrClassPart_List(); it.set_attributes(p); history.push(p); } public void after_attributes(GlobalAttrGroup source, AttrClassPart_List dest) { history.pop(); } public void before_name(DataClass source, String dest) { DataClass it = (DataClass) history.peek(); it.set_name(dest); } public void before_category(DataClass source, String dest) { DataClass it = (DataClass) history.peek(); it.set_category(dest); } public void before_abstract_ind(DataClass source, boolean dest) { DataClass it = (DataClass) history.peek(); it.set_abstract_ind(dest); } public void before_subclasses(DataClass source, SubclassSpec_List dest) { DataClass it = (DataClass) history.peek(); SubclassSpec_List p = new SubclassSpec_List(); it.set_subclasses(p); history.push(p); } public void after_subclasses(DataClass source, SubclassSpec_List dest) { history.pop(); } public void before_attr_parts(DataClass source, AttrClassPart_List dest) { DataClass it = (DataClass) history.peek(); AttrClassPart_List p = new AttrClassPart_List(); it.set_attr_parts(p); history.push(p); } public void after_attr_parts(DataClass source, AttrClassPart_List dest) { history.pop(); } public void before_element_parts(DataClass source, ElementClassPart_List dest) { DataClass it = (DataClass) history.peek(); ElementClassPart_List p = new ElementClassPart_List(); it.set_element_parts(p); history.push(p); } public void after_element_parts(DataClass source, ElementClassPart_List dest) { history.pop(); } public void before_superclass(DataClass source, String dest) { DataClass it = (DataClass) history.peek(); it.set_superclass(dest); } public void before_superclass_abstract_ind(DataClass source, Boolean dest) { DataClass it = (DataClass) history.peek(); it.set_superclass_abstract_ind(dest); } public void before_mixed_content_ind(DataClass source, Boolean dest) { DataClass it = (DataClass) history.peek(); it.set_mixed_content_ind(dest); } public void before_name(SubclassSpec source, String dest) { SubclassSpec it = (SubclassSpec) history.peek(); it.set_name(dest); } public void before_lookaheadCount(SubclassSpec source, int dest) { SubclassSpec it = (SubclassSpec) history.peek(); it.set_lookaheadCount(dest); } public void before_min_occurs(Constraint source, int dest) { Constraint it = (Constraint) history.peek(); it.set_min_occurs(dest); } public void before_max_occurs(Constraint source, int dest) { Constraint it = (Constraint) history.peek(); it.set_max_occurs(dest); } public void before_group_part_flag(Constraint source, Boolean dest) { Constraint it = (Constraint) history.peek(); it.set_group_part_flag(dest); } public void before_all_group_flag(Constraint source, Boolean dest) { Constraint it = (Constraint) history.peek(); it.set_all_group_flag(dest); } public void before_fixed_value(Constraint source, String dest) { Constraint it = (Constraint) history.peek(); it.set_fixed_value(dest); } public void before_default_value(Constraint source, String dest) { Constraint it = (Constraint) history.peek(); it.set_default_value(dest); } public void before_id_flag(Constraint source, Boolean dest) { Constraint it = (Constraint) history.peek(); it.set_id_flag(dest); } public void before_idref_flag(Constraint source, Boolean dest) { Constraint it = (Constraint) history.peek(); it.set_idref_flag(dest); } public void before_enum_values(Constraint source, String dest) { Constraint it = (Constraint) history.peek(); it.set_enum_values(dest); } public void before_length(Constraint source, Integer dest) { Constraint it = (Constraint) history.peek(); it.set_length(dest); } public void before_max_length(Constraint source, Integer dest) { Constraint it = (Constraint) history.peek(); it.set_max_length(dest); } public void before_min_length(Constraint source, Integer dest) { Constraint it = (Constraint) history.peek(); it.set_min_length(dest); } public void before_max_value(Constraint source, String dest) { Constraint it = (Constraint) history.peek(); it.set_max_value(dest); } public void before_max_included(Constraint source, Boolean dest) { Constraint it = (Constraint) history.peek(); it.set_max_included(dest); } public void before_min_value(Constraint source, String dest) { Constraint it = (Constraint) history.peek(); it.set_min_value(dest); } public void before_min_included(Constraint source, Boolean dest) { Constraint it = (Constraint) history.peek(); it.set_min_included(dest); } public void before_pattern(Constraint source, String dest) { Constraint it = (Constraint) history.peek(); it.set_pattern(dest); } public void before_total_digits(Constraint source, Integer dest) { Constraint it = (Constraint) history.peek(); it.set_total_digits(dest); } public void before_fraction_digits(Constraint source, Integer dest) { Constraint it = (Constraint) history.peek(); it.set_fraction_digits(dest); } public void before_whitespace(Constraint source, String dest) { Constraint it = (Constraint) history.peek(); it.set_whitespace(dest); } public void before_def(SchemaVisitor source, CDDef dest) { SchemaVisitor it = (SchemaVisitor) history.peek(); CDDef p = new CDDef(); it.set_def(p); history.push(p); } public void after_def(SchemaVisitor source, CDDef dest) { history.pop(); } public void before_filename(GenerateCDVisitor source, String dest) { GenerateCDVisitor it = (GenerateCDVisitor) history.peek(); it.set_filename(dest); } public void before_behCodeType(GenerateCDVisitor source, String dest) { GenerateCDVisitor it = (GenerateCDVisitor) history.peek(); it.set_behCodeType(dest); } public void before_filename(GenerateInitsVisitor source, String dest) { GenerateInitsVisitor it = (GenerateInitsVisitor) history.peek(); it.set_filename(dest); } public void before_behCodeType(GenerateInitsVisitor source, String dest) { GenerateInitsVisitor it = (GenerateInitsVisitor) history.peek(); it.set_behCodeType(dest); } public void before_filename(GenerateValidationsVisitor source, String dest) { GenerateValidationsVisitor it = (GenerateValidationsVisitor) history.peek(); it.set_filename(dest); } public void before_behCodeType(GenerateValidationsVisitor source, String dest) { GenerateValidationsVisitor it = (GenerateValidationsVisitor) history.peek(); it.set_behCodeType(dest); } public void before_indent(PrintVisitor source, int dest) { PrintVisitor it = (PrintVisitor) history.peek(); it.set_indent(dest); } public void before_needSpace(PrintVisitor source, boolean dest) { PrintVisitor it = (PrintVisitor) history.peek(); it.set_needSpace(dest); } public void before_is_equal(SubgraphVisitor source, boolean dest) { SubgraphVisitor it = (SubgraphVisitor) history.peek(); it.set_is_equal(dest); } public void before_is_equal(EqualVisitor source, boolean dest) { EqualVisitor it = (EqualVisitor) history.peek(); it.set_is_equal(dest); } public void before_indent(DisplayVisitor source, int dest) { DisplayVisitor it = (DisplayVisitor) history.peek(); it.set_indent(dest); } public void before_indent(TraceVisitor source, int dest) { TraceVisitor it = (TraceVisitor) history.peek(); it.set_indent(dest); } public void before_first(AttrValue_List source, Nonempty_AttrValue_List dest) { AttrValue_List it = (AttrValue_List) history.peek(); Nonempty_AttrValue_List p = new Nonempty_AttrValue_List(); it.set_first(p); history.push(p); } public void after_first(AttrValue_List source, Nonempty_AttrValue_List dest) { history.pop(); } public void before_first(SchemaItem_List source, Nonempty_SchemaItem_List dest) { SchemaItem_List it = (SchemaItem_List) history.peek(); Nonempty_SchemaItem_List p = new Nonempty_SchemaItem_List(); it.set_first(p); history.push(p); } public void after_first(SchemaItem_List source, Nonempty_SchemaItem_List dest) { history.pop(); } public void before_first(AnnotationContent_List source, Nonempty_AnnotationContent_List dest) { AnnotationContent_List it = (AnnotationContent_List) history.peek(); Nonempty_AnnotationContent_List p = new Nonempty_AnnotationContent_List(); it.set_first(p); history.push(p); } public void after_first(AnnotationContent_List source, Nonempty_AnnotationContent_List dest) { history.pop(); } public void before_first(AttributeItem_List source, Nonempty_AttributeItem_List dest) { AttributeItem_List it = (AttributeItem_List) history.peek(); Nonempty_AttributeItem_List p = new Nonempty_AttributeItem_List(); it.set_first(p); history.push(p); } public void after_first(AttributeItem_List source, Nonempty_AttributeItem_List dest) { history.pop(); } public void before_first(Field_List source, Nonempty_Field_List dest) { Field_List it = (Field_List) history.peek(); Nonempty_Field_List p = new Nonempty_Field_List(); it.set_first(p); history.push(p); } public void after_first(Field_List source, Nonempty_Field_List dest) { history.pop(); } public void before_first(ElementItem_List source, Nonempty_ElementItem_List dest) { ElementItem_List it = (ElementItem_List) history.peek(); Nonempty_ElementItem_List p = new Nonempty_ElementItem_List(); it.set_first(p); history.push(p); } public void after_first(ElementItem_List source, Nonempty_ElementItem_List dest) { history.pop(); } public void before_first(ConstrainingFacet_L4List source, Nonempty_ConstrainingFacet_L4List dest) { ConstrainingFacet_L4List it = (ConstrainingFacet_L4List) history.peek(); Nonempty_ConstrainingFacet_L4List p = new Nonempty_ConstrainingFacet_L4List(); it.set_first(p); history.push(p); } public void after_first(ConstrainingFacet_L4List source, Nonempty_ConstrainingFacet_L4List dest) { history.pop(); } public void before_first(Element_List source, Nonempty_Element_List dest) { Element_List it = (Element_List) history.peek(); Nonempty_Element_List p = new Nonempty_Element_List(); it.set_first(p); history.push(p); } public void after_first(Element_List source, Nonempty_Element_List dest) { history.pop(); } public void before_first(DataClass_List source, Nonempty_DataClass_List dest) { DataClass_List it = (DataClass_List) history.peek(); Nonempty_DataClass_List p = new Nonempty_DataClass_List(); it.set_first(p); history.push(p); } public void after_first(DataClass_List source, Nonempty_DataClass_List dest) { history.pop(); } public void before_first(AttrClassPart_List source, Nonempty_AttrClassPart_List dest) { AttrClassPart_List it = (AttrClassPart_List) history.peek(); Nonempty_AttrClassPart_List p = new Nonempty_AttrClassPart_List(); it.set_first(p); history.push(p); } public void after_first(AttrClassPart_List source, Nonempty_AttrClassPart_List dest) { history.pop(); } public void before_first(SubclassSpec_List source, Nonempty_SubclassSpec_List dest) { SubclassSpec_List it = (SubclassSpec_List) history.peek(); Nonempty_SubclassSpec_List p = new Nonempty_SubclassSpec_List(); it.set_first(p); history.push(p); } public void after_first(SubclassSpec_List source, Nonempty_SubclassSpec_List dest) { history.pop(); } public void before_first(ElementClassPart_List source, Nonempty_ElementClassPart_List dest) { ElementClassPart_List it = (ElementClassPart_List) history.peek(); Nonempty_ElementClassPart_List p = new Nonempty_ElementClassPart_List(); it.set_first(p); history.push(p); } public void after_first(ElementClassPart_List source, Nonempty_ElementClassPart_List dest) { history.pop(); } public void before_it(Nonempty_AttrValue_List source, AttrValue dest) { Nonempty_AttrValue_List it = (Nonempty_AttrValue_List) history.peek(); AttrValue p = new AttrValue(); it.set_it(p); history.push(p); } public void after_it(Nonempty_AttrValue_List source, AttrValue dest) { history.pop(); } public void before_next(Nonempty_AttrValue_List source, Nonempty_AttrValue_List dest) { Nonempty_AttrValue_List it = (Nonempty_AttrValue_List) history.peek(); Nonempty_AttrValue_List p = new Nonempty_AttrValue_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_AttrValue_List source, Nonempty_AttrValue_List dest) { history.pop(); } public void before_it(Nonempty_SchemaItem_List source, SchemaItem dest) { Nonempty_SchemaItem_List it = (Nonempty_SchemaItem_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((SchemaItem) p); history.push(p); } public void after_it(Nonempty_SchemaItem_List source, SchemaItem dest) { history.pop(); } public void before_next(Nonempty_SchemaItem_List source, Nonempty_SchemaItem_List dest) { Nonempty_SchemaItem_List it = (Nonempty_SchemaItem_List) history.peek(); Nonempty_SchemaItem_List p = new Nonempty_SchemaItem_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_SchemaItem_List source, Nonempty_SchemaItem_List dest) { history.pop(); } public void before_it(Nonempty_AnnotationContent_List source, AnnotationContent dest) { Nonempty_AnnotationContent_List it = (Nonempty_AnnotationContent_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((AnnotationContent) p); history.push(p); } public void after_it(Nonempty_AnnotationContent_List source, AnnotationContent dest) { history.pop(); } public void before_next(Nonempty_AnnotationContent_List source, Nonempty_AnnotationContent_List dest) { Nonempty_AnnotationContent_List it = (Nonempty_AnnotationContent_List) history.peek(); Nonempty_AnnotationContent_List p = new Nonempty_AnnotationContent_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_AnnotationContent_List source, Nonempty_AnnotationContent_List dest) { history.pop(); } public void before_it(Nonempty_AttributeItem_List source, AttributeItem dest) { Nonempty_AttributeItem_List it = (Nonempty_AttributeItem_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((AttributeItem) p); history.push(p); } public void after_it(Nonempty_AttributeItem_List source, AttributeItem dest) { history.pop(); } public void before_next(Nonempty_AttributeItem_List source, Nonempty_AttributeItem_List dest) { Nonempty_AttributeItem_List it = (Nonempty_AttributeItem_List) history.peek(); Nonempty_AttributeItem_List p = new Nonempty_AttributeItem_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_AttributeItem_List source, Nonempty_AttributeItem_List dest) { history.pop(); } public void before_it(Nonempty_Field_List source, Field dest) { Nonempty_Field_List it = (Nonempty_Field_List) history.peek(); Field p = new Field(); it.set_it(p); history.push(p); } public void after_it(Nonempty_Field_List source, Field dest) { history.pop(); } public void before_next(Nonempty_Field_List source, Nonempty_Field_List dest) { Nonempty_Field_List it = (Nonempty_Field_List) history.peek(); Nonempty_Field_List p = new Nonempty_Field_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_Field_List source, Nonempty_Field_List dest) { history.pop(); } public void before_it(Nonempty_ElementItem_List source, ElementItem dest) { Nonempty_ElementItem_List it = (Nonempty_ElementItem_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((ElementItem) p); history.push(p); } public void after_it(Nonempty_ElementItem_List source, ElementItem dest) { history.pop(); } public void before_next(Nonempty_ElementItem_List source, Nonempty_ElementItem_List dest) { Nonempty_ElementItem_List it = (Nonempty_ElementItem_List) history.peek(); Nonempty_ElementItem_List p = new Nonempty_ElementItem_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_ElementItem_List source, Nonempty_ElementItem_List dest) { history.pop(); } public void before_it(Nonempty_ConstrainingFacet_L4List source, ConstrainingFacet dest) { Nonempty_ConstrainingFacet_L4List it = (Nonempty_ConstrainingFacet_L4List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((ConstrainingFacet) p); history.push(p); } public void after_it(Nonempty_ConstrainingFacet_L4List source, ConstrainingFacet dest) { history.pop(); } public void before_next(Nonempty_ConstrainingFacet_L4List source, Nonempty_ConstrainingFacet_L4List dest) { Nonempty_ConstrainingFacet_L4List it = (Nonempty_ConstrainingFacet_L4List) history.peek(); Nonempty_ConstrainingFacet_L4List p = new Nonempty_ConstrainingFacet_L4List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_ConstrainingFacet_L4List source, Nonempty_ConstrainingFacet_L4List dest) { history.pop(); } public void before_it(Nonempty_Element_List source, Element dest) { Nonempty_Element_List it = (Nonempty_Element_List) history.peek(); Element p = new Element(); it.set_it(p); history.push(p); } public void after_it(Nonempty_Element_List source, Element dest) { history.pop(); } public void before_next(Nonempty_Element_List source, Nonempty_Element_List dest) { Nonempty_Element_List it = (Nonempty_Element_List) history.peek(); Nonempty_Element_List p = new Nonempty_Element_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_Element_List source, Nonempty_Element_List dest) { history.pop(); } public void before_it(Nonempty_DataClass_List source, DataClass dest) { Nonempty_DataClass_List it = (Nonempty_DataClass_List) history.peek(); DataClass p = new DataClass(); it.set_it(p); history.push(p); } public void after_it(Nonempty_DataClass_List source, DataClass dest) { history.pop(); } public void before_next(Nonempty_DataClass_List source, Nonempty_DataClass_List dest) { Nonempty_DataClass_List it = (Nonempty_DataClass_List) history.peek(); Nonempty_DataClass_List p = new Nonempty_DataClass_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_DataClass_List source, Nonempty_DataClass_List dest) { history.pop(); } public void before_it(Nonempty_AttrClassPart_List source, AttrClassPart dest) { Nonempty_AttrClassPart_List it = (Nonempty_AttrClassPart_List) history.peek(); AttrClassPart p = new AttrClassPart(); it.set_it(p); history.push(p); } public void after_it(Nonempty_AttrClassPart_List source, AttrClassPart dest) { history.pop(); } public void before_next(Nonempty_AttrClassPart_List source, Nonempty_AttrClassPart_List dest) { Nonempty_AttrClassPart_List it = (Nonempty_AttrClassPart_List) history.peek(); Nonempty_AttrClassPart_List p = new Nonempty_AttrClassPart_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_AttrClassPart_List source, Nonempty_AttrClassPart_List dest) { history.pop(); } public void before_it(Nonempty_SubclassSpec_List source, SubclassSpec dest) { Nonempty_SubclassSpec_List it = (Nonempty_SubclassSpec_List) history.peek(); SubclassSpec p = new SubclassSpec(); it.set_it(p); history.push(p); } public void after_it(Nonempty_SubclassSpec_List source, SubclassSpec dest) { history.pop(); } public void before_next(Nonempty_SubclassSpec_List source, Nonempty_SubclassSpec_List dest) { Nonempty_SubclassSpec_List it = (Nonempty_SubclassSpec_List) history.peek(); Nonempty_SubclassSpec_List p = new Nonempty_SubclassSpec_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_SubclassSpec_List source, Nonempty_SubclassSpec_List dest) { history.pop(); } public void before_it(Nonempty_ElementClassPart_List source, ElementClassPart dest) { Nonempty_ElementClassPart_List it = (Nonempty_ElementClassPart_List) history.peek(); ElementClassPart p = new ElementClassPart(); it.set_it(p); history.push(p); } public void after_it(Nonempty_ElementClassPart_List source, ElementClassPart dest) { history.pop(); } public void before_next(Nonempty_ElementClassPart_List source, Nonempty_ElementClassPart_List dest) { Nonempty_ElementClassPart_List it = (Nonempty_ElementClassPart_List) history.peek(); Nonempty_ElementClassPart_List p = new Nonempty_ElementClassPart_List(); it.set_next(p); history.push(p); } public void after_next(Nonempty_ElementClassPart_List source, Nonempty_ElementClassPart_List dest) { history.pop(); } void universal_trv0_bef(UniversalVisitor _v_) { super.universal_trv0_bef(_v_); } void universal_trv0_aft(UniversalVisitor _v_) { super.universal_trv0_aft(_v_); } void universal_trv0(UniversalVisitor _v_) { universal_trv0_bef(_v_); Object copy = get_copy(); super.universal_trv0(_v_); universal_trv0_aft(_v_); } }