Examples of removeAttribute()


Examples of org.graphstream.graph.Edge.removeAttribute()

      if (edge != null) {
        sendEdgeAttributeRemoved(sourceId, timeId, edgeId, attribute);
        passYourWay = true;

        try {
          edge.removeAttribute(attribute);
        } finally {
          passYourWay = false;
        }

      }
View Full Code Here

Examples of org.graphstream.graph.Graph.removeAttribute()

                          // null value, You can !

    assertTrue(graph.hasAttribute("foo"));
    assertTrue(graph.hasAttribute("bar"));

    graph.removeAttribute("foo");
    graph.removeAttribute("bar");

    assertFalse(graph.hasAttribute("foo"));
    assertFalse(graph.hasAttribute("bar"));
  }
View Full Code Here

Examples of org.graphstream.graph.Node.removeAttribute()

      if (node != null) {
        sendNodeAttributeRemoved(sourceId, timeId, nodeId, attribute);
        passYourWay = true;

        try {
          node.removeAttribute(attribute);
        } finally {
          passYourWay = false;
        }
      }
    }
View Full Code Here

Examples of org.graphstream.graph.implementations.MultiGraph.removeAttribute()

                          // null value, You can !

    assertTrue(graph.hasAttribute("foo"));
    assertTrue(graph.hasAttribute("bar"));

    graph.removeAttribute("foo");
    graph.removeAttribute("bar");

    assertFalse(graph.hasAttribute("foo"));
    assertFalse(graph.hasAttribute("bar"));
  }
View Full Code Here

Examples of org.jasig.portal.persondir.ILocalAccountPerson.removeAttribute()

            final Calendar lastPasswordChange = userType.getLastPasswordChange();
            if (lastPasswordChange != null) {
                account.setLastPasswordChange(lastPasswordChange.getTime());
            }
   
            account.removeAttribute(username);
            for (final Attribute attribute : attributes) {
                account.setAttribute(attribute.getName(), attribute.getValues());
            }
           
            this.localAccountDao.updateAccount(account);
View Full Code Here

Examples of org.jboss.errai.bus.client.api.QueueSession.removeAttribute()

            // set the session queue into direct channel mode.
            svc.getBus().getQueueBySession(sessionKey).setDirectSocketChannel(ctx.getChannel());

            // remove the web socket token so it cannot be re-used for authentication.
            session.removeAttribute(MessageParts.WebSocketToken.name());
            session.removeAttribute(SESSION_ATTR_WS_STATUS);

            return;
          }
View Full Code Here

Examples of org.jboss.errai.bus.server.api.QueueSession.removeAttribute()

            // set the session queue into direct channel mode.
            svc.getBus().getQueueBySession(sessionKey).setDirectSocketChannel(ctx.getChannel());

            // remove the web socket token so it cannot be re-used for authentication.
            session.removeAttribute(MessageParts.WebSocketToken.name());
            session.removeAttribute(SESSION_ATTR_WS_STATUS);

            return;
          }
View Full Code Here

Examples of org.jboss.errai.bus.server.util.LocalContext.removeAttribute()

              }
            });

            // set the session queue into direct channel mode.

            localContext.removeAttribute(SESSION_ATTR_WS_STATUS);

//            service.schedule(new Runnable() {
//              @Override
//              public void run() {
//                ctx.getChannel().close();
View Full Code Here

Examples of org.jboss.identity.idm.impl.model.hibernate.HibernateIdentityObject.removeAttribute()

      HibernateIdentityObject hibernateObject = safeGet(ctx, identity);

      for (String attr : mappedAttributes)
      {
         hibernateObject.removeAttribute(attr);
      }
   }

  public boolean validateCredential(IdentityStoreInvocationContext ctx, IdentityObject identityObject, IdentityObjectCredential credential) throws IdentityException
   {
View Full Code Here

Examples of org.jdom.Element.removeAttribute()

        Object o = it.next();
        if (o instanceof Element) {
          Element e = (Element) o;
          if ((file.equals(e.getAttributeValue("live_file")) || file.equals(e.getAttributeValue("file"))) && (node.equals(e.getAttributeValue("node")) || table.getSelectionCount() > 0 )) {
            found = true;                                               
            e.removeAttribute("live_file");
            e.removeAttribute("file");
            if(isLive)
              e.setAttribute("live_file", file);
            else
              e.setAttribute("file", file);
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.