public T attributeDecl(XSAttributeDecl attributeDecl) { return attributeDecl.getType() .apply((XSSimpleTypeFunction<T>) this); }
public T attributeDecl(XSAttributeDecl attributeDecl) { return attributeDecl.getType() .apply((XSSimpleTypeFunction<T>) this); }
public void attributeDecl(XSAttributeDecl decl) { decl.getType().visit((XSSimpleTypeVisitor) this); }
public Iterator<XSType> attributeDecl(XSAttributeDecl decl) { return singleton(decl.getType()); }
public void attributeDecl(XSAttributeDecl decl) { decl.getType().visit(this); }
public void attributeDecl(XSAttributeDecl decl) { decl.getType().visit((XSSimpleTypeVisitor) this); }
public void attributeDecl(XSAttributeDecl decl) { decl.getType().visit(this); }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
public void attributeDecl(XSAttributeDecl decl) { if(check(decl)) decl.getType().visit((XSSimpleTypeVisitor)this); }
public void attributeDecl(XSAttributeDecl decl) { if(check(decl)) decl.getType().visit((XSSimpleTypeVisitor)this); }
public void attributeDecl(XSAttributeDecl decl) { if(check(decl)) decl.getType().visit((XSSimpleTypeVisitor)this); }
public void attributeDecl(XSAttributeDecl decl) { if(check(decl)) decl.getType().visit((XSSimpleTypeVisitor)this); }
public void attributeDecl(XSAttributeDecl decl) { if(check(decl)) decl.getType().visit((XSSimpleTypeVisitor)this); }
protected void loadAttributes(Schema schema, XSComplexType xsct, ComplexType ct) throws TypeBindingException { Collection<? extends XSAttributeUse> attrs = xsct.getAttributeUses(); for (XSAttributeUse attr : attrs) { XSAttributeDecl at = attr.getDecl(); Type fieldType = loadType(schema, at.getType(), at.getName()); if (fieldType == null) { throw new TypeBindingException("Cannot add type for '" + at.getName() + "'"); } createField(ct, at, fieldType, !attr.isRequired()); } }