Examples of Sign


Examples of org.jboss.ws.metadata.wsse.Sign

            operations.add(new OperationDescription<EncodingOperation>(SendUsernameOperation.class, null, user.toString(), pass.toString(), null));
            ctx.put(StubExt.PROPERTY_AUTH_TYPE, StubExt.PROPERTY_AUTH_TYPE_WSSE);
         }
      }

      Sign sign = operationConfig.getSign();
      if (sign != null)
      {
         List<Target> targets = convertTargets(sign.getTargets());
         if (sign.isIncludeTimestamp())
         {
            if (timestamp == null)
               operations.add(new OperationDescription<EncodingOperation>(TimestampOperation.class, null, null, null, null));

            if (targets != null && targets.size() > 0)
               targets.add(new WsuIdTarget("timestamp"));
         }

         operations.add(new OperationDescription<EncodingOperation>(SignatureOperation.class, targets, sign.getAlias(), null, null));
      }

      Encrypt encrypt = operationConfig.getEncrypt();
      if (encrypt != null)
      {
View Full Code Here

Examples of org.spout.vanilla.component.block.material.Sign

  @Override
  public abstract boolean canSupport(BlockMaterial material, BlockFace face);

  @Override
  public ProtocolEvent getUpdate(World world, int x, int y, int z, BlockComponentOwner owner) {
    Sign sign = owner.get(Sign.class);
    if (sign != null) {
      return new SignUpdateEvent(sign, sign.getText(), null);
    }
    return null;
  }
View Full Code Here

Examples of org.spout.vanilla.component.block.material.Sign

    event.getMessages().add(new EntityMetadataMessage(event.getEntity().getId(), event.getParameters()));
  }

  @EventHandler
  public void onSignUpdate(SignUpdateEvent event) {
    Sign sign = event.getSign();
    event.getMessages().add(new SignMessage(sign.getOwner().getX(), sign.getOwner().getY(), sign.getOwner().getZ(), event.getLines(), getRepositionManager()));
  }
View Full Code Here

Examples of org.spout.vanilla.component.block.material.Sign

    int x = rmInverse.convertX(message.getX());
    int y = rmInverse.convertY(message.getY());
    int z = rmInverse.convertZ(message.getZ());

    Sign sign = player.getWorld().getBlock(x, y, z).get(Sign.class);
    if (sign == null) {
      return;
    }

    String[] text = message.getMessage();
    if (text.length != 4) {
      return;
    }

    sign.setText(text, new PlayerCause(player));
  }
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.