Package com.sissi.ucenter.relation.muc.validate

Examples of com.sissi.ucenter.relation.muc.validate.ItemStatus.error()


  public boolean input(JIDContext context, Protocol protocol) {
    JID group = super.build(protocol.parent().getTo());
    for (Item item : protocol.cast(XMucAdmin.class).getItem()) {
      ItemStatus error = this.validator.valdate(context, group, super.build(item.getJid()));
      if (!error.valid()) {
        return this.writeAndReturn(context, protocol, error.error());
      }
    }
    return true;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.