Examples of wrap()


Examples of org.gephi.graph.dhns.utils.TreeNodeWrapper.wrap()

    public ImmutableTreeNode wrapToTreeNode() {
        TreeNodeWrapper wrapper = new TreeNodeWrapper(structure);
        ImmutableTreeNode treeNode;
        readLock();
        treeNode = wrapper.wrap(new TreeIterator(structure, false, Tautology.instance));
        readUnlock();
        return treeNode;
    }

    public int getChildrenCount(Node node) {
View Full Code Here

Examples of org.hibernate.engine.jdbc.LobCreator.wrap()

    LobCreator lobCreator = JdbcSupportLoader.loadJdbcSupport( null ).getLobCreator( lobCreationContext );

    Blob blob = lobCreator.createBlob( new byte[] {} );
    assertTrue( blob instanceof BlobImplementer );
    blob = lobCreator.wrap( blob );
    assertTrue( blob instanceof WrappedBlob );

    Clob clob = lobCreator.createClob( "Hi" );
    assertTrue( clob instanceof ClobImplementer );
    clob = lobCreator.wrap( clob );
View Full Code Here

Examples of org.ietf.jgss.GSSContext.wrap()

                            LOGGER.info("Context Established with Client " + clientName);

                            //encrypt
                            final MessageProp msgProp = new MessageProp(true);
                            final byte[] clientNameBytes = clientName.getBytes(GSSTestConstants.CHAR_ENC);
                            final byte[] outToken = gssContext.wrap(clientNameBytes, 0, clientNameBytes.length, msgProp);

                            dataOutputStream.writeInt(outToken.length);
                            dataOutputStream.write(outToken);
                            dataOutputStream.flush();
                            LOGGER.info("Client name was returned as the token value.");
View Full Code Here

Examples of org.jboss.capedwarf.jpa.ProxyingWrapper.wrap()

            synchronized (this) {
                if (emf == null) {
                    ProxyingWrapper wrapper = info.getWrapper();
                    EntityManagerFactory delegate = wrapper.lazy(info.getUnitName());
                    EntityManagerProvider provider = new CurrentEntityManagerProvider(delegate, info.getEmInjector());
                    emf = wrapper.wrap(delegate, provider);
                }
            }
        }
        return emf;
    }
View Full Code Here

Examples of org.jboss.seam.Component.wrap()

            proxy.setHandler(this);
            return proxy;
         }
         else
         {
            return comp.wrap(bean, this);
         }
      }
      catch (Exception e)
      {
         throw new RuntimeException(e);
View Full Code Here

Examples of org.jboss.seam.databinding.DataBinder.wrap()

     
      if (dirty)
      {
         if ( list!=null )
         {
            context.set( name, wrapper.wrap(dataModelAnn, list) );
         }
         else
         {
            context.remove(name);
         }
View Full Code Here

Examples of org.jemmy.control.Wrapper.wrap()

            }
        }
        MyTreeNode node;
        if (controls != null) {
            for (Object c : controls) {
                node = new MyTreeNode(c, wrapper.wrap(Object.class, c));
                parent.add(node);
                fillAll(subDescr, node, node.getWrap());
            }
        }
        if (wrap != null) {
View Full Code Here

Examples of org.jemmy.fx.NodeDock.wrap()

    dock.wrap().clear();
    dock.wrap().keyboard().pressKey(KeyboardButtons.D1);
    dock.wrap().keyboard().pressKey(KeyboardButtons.D0);
    dock.wrap().keyboard().pressKey(KeyboardButtons.D0);
    NodeDock button = new NodeDock(scene.asParent(), Button.class, "button_windowX");
    button.wrap().mouse().click();
  }
}
View Full Code Here

Examples of org.jemmy.fx.control.TextInputControlDock.wrap()

  }

  @Test
  public void moveWindowX() {
    TextInputControlDock dock = new TextInputControlDock(scene.asParent(),TextField.class,"text_windowX");
    dock.wrap().clear();
    dock.wrap().keyboard().pressKey(KeyboardButtons.D1);
    dock.wrap().keyboard().pressKey(KeyboardButtons.D0);
    dock.wrap().keyboard().pressKey(KeyboardButtons.D0);
    NodeDock button = new NodeDock(scene.asParent(), Button.class, "button_windowX");
    button.wrap().mouse().click();
View Full Code Here

Examples of org.jsoup.nodes.Element.wrap()

    // add topDiv to the body
    element.appendChild(topDiv);

    // wrap topDiv
    topDiv.wrap(html);
    // now unwrap topDiv - will remove it from the hierarchy
    topDiv.unwrap();
   
    return element;
  }
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.