import java.util.*; import java.io.*; import edu.neu.ccs.demeter.*; class AttrValue { protected NSRef prefix; public NSRef get_prefix() { return prefix; } public void set_prefix(NSRef new_prefix) { prefix = new_prefix; } protected Ident attrName; public Ident get_attrName() { return attrName; } public void set_attrName(Ident new_attrName) { attrName = new_attrName; } protected String attrValue; public String get_attrValue() { return attrValue; } public void set_attrValue(String new_attrValue) { attrValue = new_attrValue; } public AttrValue() { super(); } public AttrValue(NSRef prefix, Ident attrName, String attrValue) { super(); set_prefix(prefix); set_attrName(attrName); set_attrValue(attrValue); } public static AttrValue parse(java.io.Reader in) throws ParseException { return new Parser(in)._AttrValue(); } public static AttrValue parse(java.io.InputStream in) throws ParseException { return new Parser(in)._AttrValue(); } public static AttrValue parse(String s) { try { return parse(new java.io.StringReader(s)); } catch (ParseException e) { throw new RuntimeException(e.toString()); } } void universal_trv0_bef(UniversalVisitor _v_) { ((UniversalVisitor) _v_).before(this); } void universal_trv0_aft(UniversalVisitor _v_) { ((UniversalVisitor) _v_).after(this); } void universal_trv0(UniversalVisitor _v_) { universal_trv0_bef(_v_); if (prefix != null) { ((UniversalVisitor) _v_).before_prefix(this, prefix); prefix.universal_trv0(_v_); ((UniversalVisitor) _v_).after_prefix(this, prefix); } ((UniversalVisitor) _v_).before_attrName(this, attrName); ((UniversalVisitor) _v_).after_attrName(this, attrName); ((UniversalVisitor) _v_).before_attrValue(this, attrValue); ((UniversalVisitor) _v_).after_attrValue(this, attrValue); universal_trv0_aft(_v_); } void processDefinition_Schema_trv_bef(SchemaVisitor __v0) { ((UniversalVisitor) __v0).before(this); } void processDefinition_Schema_trv_aft(SchemaVisitor __v0) { ((UniversalVisitor) __v0).after(this); } void processDefinition_Schema_trv(SchemaVisitor __v0) { processDefinition_Schema_trv_bef(__v0); if (prefix != null) { ((UniversalVisitor) __v0).before_prefix(this, prefix); prefix.processDefinition_Schema_trv(__v0); ((UniversalVisitor) __v0).after_prefix(this, prefix); } ((UniversalVisitor) __v0).before_attrName(this, attrName); ((UniversalVisitor) __v0).after_attrName(this, attrName); ((UniversalVisitor) __v0).before_attrValue(this, attrValue); ((UniversalVisitor) __v0).after_attrValue(this, attrValue); processDefinition_Schema_trv_aft(__v0); } void __trav_print_Schema_trv_bef(DisplayVisitor __v0) { ((DisplayVisitor) __v0).before(this); } void __trav_print_Schema_trv_aft(DisplayVisitor __v0) { ((DisplayVisitor) __v0).after(this); } void __trav_print_Schema_trv(DisplayVisitor __v0) { __trav_print_Schema_trv_bef(__v0); if (prefix != null) { ((DisplayVisitor) __v0).before_prefix(this, prefix); prefix.__trav_print_Schema_trv(__v0); ((UniversalVisitor) __v0).after_prefix(this, prefix); } ((DisplayVisitor) __v0).before_attrName(this, attrName); ((UniversalVisitor) __v0).after_attrName(this, attrName); ((DisplayVisitor) __v0).before_attrValue(this, attrValue); ((UniversalVisitor) __v0).after_attrValue(this, attrValue); __trav_print_Schema_trv_aft(__v0); } }