/** * A version of the {@link #build(XSSimpleType)} method * used to bind the definition of a class generated from * the given simple type. */ public TypeUse buildDef( XSSimpleType type ) { XSSimpleType oldi = initiatingType; this.initiatingType = type; TypeUse e = type.apply(composer); initiatingType = oldi; return e; }
/** * A version of the {@link #build(XSSimpleType)} method * used to bind the definition of a class generated from * the given simple type. */ public TypeUse buildDef( XSSimpleType type ) { XSSimpleType oldi = initiatingType; this.initiatingType = type; TypeUse e = type.apply(composer); initiatingType = oldi; return e; }
/** * A version of the {@link #build(XSSimpleType)} method * used to bind the definition of a class generated from * the given simple type. */ public TypeUse buildDef( XSSimpleType type ) { XSSimpleType oldi = initiatingType; this.initiatingType = type; TypeUse e = type.apply(composer); initiatingType = oldi; return e; }
/** * A version of the {@link #build(XSSimpleType)} method * used to bind the definition of a class generated from * the given simple type. */ public TypeUse buildDef( XSSimpleType type ) { XSSimpleType oldi = initiatingType; this.initiatingType = type; TypeUse e = type.apply(composer); initiatingType = oldi; return e; }
/** * A version of the {@link #build(XSSimpleType)} method * used to bind the definition of a class generated from * the given simple type. */ public TypeUse buildDef( XSSimpleType type ) { XSSimpleType oldi = initiatingType; this.initiatingType = type; TypeUse e = type.apply(composer); initiatingType = oldi; return e; }
public T simpleType(XSSimpleType simpleType) { return simpleType.apply((XSSimpleTypeFunction<T>) this); }
public T simpleType(XSSimpleType simpleType) { return simpleType.apply((XSSimpleTypeFunction<T>) this); }
/** * Recursively decend the type inheritance chain to find a binding. */ TypeUse compose( XSSimpleType t ) { TypeUse e = find(t); if(e!=null) return e; return t.apply(composer); }
/** * Recursively decend the type inheritance chain to find a binding. */ TypeUse compose( XSSimpleType t ) { TypeUse e = find(t); if(e!=null) return e; return t.apply(composer); }
public T attributeDecl(XSAttributeDecl attributeDecl) { return attributeDecl.getType() .apply((XSSimpleTypeFunction<T>) this); }
/** * Recursively decend the type inheritance chain to find a binding. */ TypeUse compose( XSSimpleType t ) { TypeUse e = find(t); if(e!=null) return e; return t.apply(composer); }
/** * Recursively decend the type inheritance chain to find a binding. */ TypeUse compose( XSSimpleType t ) { TypeUse e = find(t); if(e!=null) return e; return t.apply(composer); }
/** * Recursively decend the type inheritance chain to find a binding. */ TypeUse compose( XSSimpleType t ) { TypeUse e = find(t); if(e!=null) return e; return t.apply(composer); }
public T listSimpleType(XSListSimpleType listSimpleType) { return listSimpleType.getItemType().apply( (XSSimpleTypeFunction<T>) this); }
public T listSimpleType(XSListSimpleType listSimpleType) { return listSimpleType.getItemType().apply( (XSSimpleTypeFunction<T>) this); }
public T attributeDecl(XSAttributeDecl attributeDecl) { return attributeDecl.getType() .apply((XSSimpleTypeFunction<T>) this); }
public T unionSimpleType(XSUnionSimpleType unionSimpleType) { final List<T> values = new ArrayList<T>(unionSimpleType .getMemberSize()); for (int index = 0; index < unionSimpleType.getMemberSize(); index++) { values.add(unionSimpleType.getMember(index).apply( (XSSimpleTypeFunction<T>) this)); } return aggregate(values); }
public T unionSimpleType(XSUnionSimpleType unionSimpleType) { final List<T> values = new ArrayList<T>(unionSimpleType .getMemberSize()); for (int index = 0; index < unionSimpleType.getMemberSize(); index++) { values.add(unionSimpleType.getMember(index).apply( (XSSimpleTypeFunction<T>) this)); } return aggregate(values); }