Package com.sissi.field.impl

Examples of com.sissi.field.impl.BeanFields


  }

  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    Search search = protocol.cast(Search.class);
    BeanFields fields = this.searchContext.search(search, new BeanFields(false), BeanFields.class);
    context.write(search.clear().add(fields).parent().reply().setType(ProtocolType.RESULT));
    return true;
  }
View Full Code Here


    this.applyContext = applyContext;
  }

  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    return this.applyContext.apply(context.jid(), super.build(protocol.parent().getTo()), new BeanFields(false, protocol.cast(Register.class).findField(XData.NAME, XData.class).getFields()));
  }
View Full Code Here

    super(registerContext, input);
  }

  @Override
  protected Fields process(Fields fields) {
    return new BeanFields(false, fields.findField(XData.NAME, XData.class).getFields());
  }
View Full Code Here

  }

  @Override
  public Presence add(Field<?> field) {
    if (!this.fields()) {
      this.fields = new BeanFields(false);
    }
    this.fields.add(field);
    return this;
  }
View Full Code Here

TOP

Related Classes of com.sissi.field.impl.BeanFields

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.