Examples of removeTag()


Examples of net.minecraft.nbt.NBTTagCompound.removeTag()

    }
    NBTTagCompound tagA = (NBTTagCompound)a.getTagCompound().copy(),
        tagB = (NBTTagCompound)b.getTagCompound().copy();
    tagA.removeTag("display"); tagB.removeTag("display");
    tagA.removeTag("ench"); tagB.removeTag("ench");
    tagA.removeTag("RepairCost"); tagB.removeTag("RepairCost");
    return tagA.equals(tagB);
  }
 
  //assumes a 3x3 grid in inventory slots 0-8
  //slot 0 is northwest, slot 2 is northeast, etc
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.removeTag()

                        {
                          Vector3 vector = new Vector3((NBTTagCompound) list.tagAt(i));

                          if (vector.equals(position))
                          {
                            list.removeTag(i);
                          }
                        }
                      }
                    }
                  }
View Full Code Here

Examples of org.apache.helix.model.InstanceConfig.removeTag()

    ZKHelixDataAccessor accessor =
        new ZKHelixDataAccessor(clusterName, new ZkBaseDataAccessor<ZNRecord>(_zkClient));
    Builder keyBuilder = accessor.keyBuilder();

    InstanceConfig config = accessor.getProperty(keyBuilder.instanceConfig(instanceName));
    config.removeTag(tag);
    accessor.setProperty(keyBuilder.instanceConfig(instanceName), config);
  }

  public void close() {
    if (_zkClient != null) {
View Full Code Here

Examples of org.apache.helix.model.InstanceConfig.removeTag()

    ZKHelixDataAccessor accessor =
        new ZKHelixDataAccessor(clusterName, new ZkBaseDataAccessor<ZNRecord>(_zkClient));
    Builder keyBuilder = accessor.keyBuilder();

    InstanceConfig config = accessor.getProperty(keyBuilder.instanceConfig(instanceName));
    config.removeTag(tag);
    accessor.setProperty(keyBuilder.instanceConfig(instanceName), config);
  }

  @Override
  public void close() {
View Full Code Here

Examples of org.apache.helix.model.InstanceConfig.removeTag()

    ZKHelixDataAccessor accessor =
        new ZKHelixDataAccessor(clusterName, new ZkBaseDataAccessor<ZNRecord>(_zkClient));
    Builder keyBuilder = accessor.keyBuilder();

    InstanceConfig config = accessor.getProperty(keyBuilder.instanceConfig(instanceName));
    config.removeTag(tag);
    accessor.setProperty(keyBuilder.instanceConfig(instanceName), config);
  }

  public void close() {
    if (_zkClient != null) {
View Full Code Here

Examples of org.apache.helix.model.InstanceConfig.removeTag()

    ZKHelixDataAccessor accessor =
        new ZKHelixDataAccessor(clusterName, new ZkBaseDataAccessor<ZNRecord>(_zkClient));
    Builder keyBuilder = accessor.keyBuilder();

    InstanceConfig config = accessor.getProperty(keyBuilder.instanceConfig(instanceName));
    config.removeTag(tag);
    accessor.setProperty(keyBuilder.instanceConfig(instanceName), config);
  }

  @Override
  public void close() {
View Full Code Here

Examples of org.apache.helix.model.InstanceConfig.removeTag()

    ZKHelixDataAccessor accessor =
        new ZKHelixDataAccessor(clusterName, new ZkBaseDataAccessor<ZNRecord>(_zkClient));
    Builder keyBuilder = accessor.keyBuilder();
   
    InstanceConfig config =  accessor.getProperty(keyBuilder.instanceConfig(instanceName));
    config.removeTag(tag);
    accessor.setProperty(keyBuilder.instanceConfig(instanceName), config);
  }

  public void close()
  {
View Full Code Here

Examples of org.apache.roller.pojos.WeblogEntryData.removeTag()

        entry = mgr.getWeblogEntry(id);
        assertEquals(2, entry.getTags().size());
        TestUtils.endSession(true);

        entry = mgr.getWeblogEntry(id);
        entry.removeTag("testtag");
        entry.removeTag("testtag2");
        mgr.saveWeblogEntry(entry);
        TestUtils.endSession(true);

        entry = mgr.getWeblogEntry(id);
View Full Code Here

Examples of org.opencastproject.mediapackage.MediaPackageElement.removeTag()

        if (targetTags != null)
          // Assume the tags starting with "-" means we want to eliminate such tags form the result element
          for (String tag : asList(targetTags)) {
            if (tag.startsWith("-"))
              // We remove the tag resulting from stripping all the '-' characters at the beginning of the tag
              resultElement.removeTag(tag.replaceAll("^-+", ""));
            else
              resultElement.addTag(tag);             
          }

      }
View Full Code Here

Examples of org.saiku.olap.query.IQuery.removeTag()

    query.setTag(tag);
  }

  public void disableTag(String queryName) {
    IQuery query = getIQuery(queryName);
    query.removeTag();
  }

  private void putIQuery(String queryName, IQuery query) {
    queries.put(queryName, query);
  }
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.