Examples of mask()


Examples of lineage2.gameserver.templates.item.Bodypart.mask()

            {
              slot = bodypart.mask();
            }
            else
            {
              slot |= bodypart.mask();
            }
          }
        }
      }
      set.set("bodypart", slot);
View Full Code Here

Examples of net.sf.l2j.gameserver.templates.L2WeaponType.mask()

        if (weaponsAllowed == 0) return true;
        if (activeChar.getActiveWeaponItem() != null)
        {
            L2WeaponType playerWeapon;
            playerWeapon = activeChar.getActiveWeaponItem().getItemType();
            int mask = playerWeapon.mask();
            if ((mask & weaponsAllowed) != 0) return true;
            // can be on the secondary weapon
            if (activeChar.getSecondaryWeaponItem() != null)
            {
                playerWeapon = activeChar.getSecondaryWeaponItem().getItemType();
View Full Code Here

Examples of net.sf.l2j.gameserver.templates.L2WeaponType.mask()

            if ((mask & weaponsAllowed) != 0) return true;
            // can be on the secondary weapon
            if (activeChar.getSecondaryWeaponItem() != null)
            {
                playerWeapon = activeChar.getSecondaryWeaponItem().getItemType();
                mask = playerWeapon.mask();
                if ((mask & weaponsAllowed) != 0) return true;
            }
        }
        TextBuilder skillmsg = new TextBuilder();
        skillmsg.append(getName());
View Full Code Here

Examples of net.sourceforge.stripes.validation.ValidationMetadata.mask()

                    fieldInfo.append("]");
                }
                if (data.trim())
                    fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("trim:").append(
                            data.trim());
                if (data.mask() != null)
                    fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("mask:")
                            .append("/^").append(data.mask()).append("$/");
                if (data.minlength() != null)
                    fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("minlength:")
                            .append(data.minlength());
View Full Code Here

Examples of net.sourceforge.stripes.validation.ValidationMetadata.mask()

                if (data.trim())
                    fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("trim:").append(
                            data.trim());
                if (data.mask() != null)
                    fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("mask:")
                            .append("/^").append(data.mask()).append("$/");
                if (data.minlength() != null)
                    fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("minlength:")
                            .append(data.minlength());
                if (data.maxlength() != null)
                    fieldInfo.append(fieldInfo.length() > 0 ? "," : "").append("maxlength:")
View Full Code Here

Examples of net.sourceforge.stripes.validation.ValidationMetadata.mask()

                        if (it.hasNext())
                            fieldInfo.append(",");
                    }
                    fieldInfo.append("]");
                }
                if (data.mask() != null)
                    fieldInfo.append(",mask:").append("new RegExp(")
                            .append(JavaScriptBuilder.quote("^" + data.mask().toString() + "$"))
                            .append(")");
                if (data.minlength() != null)
                    fieldInfo.append(",minlength:").append(data.minlength());
View Full Code Here

Examples of net.sourceforge.stripes.validation.ValidationMetadata.mask()

                    }
                    fieldInfo.append("]");
                }
                if (data.mask() != null)
                    fieldInfo.append(",mask:").append("new RegExp(")
                            .append(JavaScriptBuilder.quote("^" + data.mask().toString() + "$"))
                            .append(")");
                if (data.minlength() != null)
                    fieldInfo.append(",minlength:").append(data.minlength());
                if (data.maxlength() != null)
                    fieldInfo.append(",maxlength:").append(data.maxlength());
View Full Code Here

Examples of net.sourceforge.stripes.validation.ValidationMetadata.mask()

                        if (it.hasNext())
                            fieldInfo.append(",");
                    }
                    fieldInfo.append("]");
                }
                if (data.mask() != null)
                    fieldInfo.append(",mask:").append("new RegExp(")
                            .append(JavaScriptBuilder.quote("^" + data.mask().toString() + "$"))
                            .append(")");
                if (data.minlength() != null)
                    fieldInfo.append(",minlength:").append(data.minlength());
View Full Code Here

Examples of net.sourceforge.stripes.validation.ValidationMetadata.mask()

                    }
                    fieldInfo.append("]");
                }
                if (data.mask() != null)
                    fieldInfo.append(",mask:").append("new RegExp(")
                            .append(JavaScriptBuilder.quote("^" + data.mask().toString() + "$"))
                            .append(")");
                if (data.minlength() != null)
                    fieldInfo.append(",minlength:").append(data.minlength());
                if (data.maxlength() != null)
                    fieldInfo.append(",maxlength:").append(data.maxlength());
View Full Code Here

Examples of org.apache.camel.api.management.ManagedAttribute.mask()

            if (ma != null) {
                String key;
                String desc = ma.description();
                Method getter = null;
                Method setter = null;
                boolean mask = ma.mask();

                if (cacheInfo.isGetter) {
                    key = cacheInfo.getterOrSetterShorthandName;
                    getter = cacheInfo.method;
                } else if (cacheInfo.isSetter) {
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.