Examples of accept()


Examples of org.enclojure.ide.asm.signature.SignatureReader.accept()

        appendDescriptor(CLASS_SIGNATURE, signature);
        if (signature != null) {
            TraceSignatureVisitor sv = new TraceSignatureVisitor(access);
            SignatureReader r = new SignatureReader(signature);
            r.accept(sv);
            buf.append("// declaration: ")
                    .append(name)
                    .append(sv.getDeclaration())
                    .append('\n');
        }
View Full Code Here

Examples of org.exist.util.XMLFilenameFilter.accept()

     
        File dir = new File(getDirectory());
        File[] files;
        if (dir.isDirectory())
          files = dir.listFiles(filter);
        else if (filter.accept(dir.getParentFile(), dir.getName()))
          files = new File[] {dir};
        else
          return;

        try {
View Full Code Here

Examples of org.exolab.jms.net.connector.ManagedConnectionAcceptor.accept()

        // create the acceptor
        SocketRequestInfo info = getSocketRequestInfo(_uri);
        ManagedConnectionAcceptor acceptor = createAcceptor(null, info);
        TestAcceptorEventListener listener = new TestAcceptorEventListener(
                new TestInvocationHandler());
        acceptor.accept(listener);

        // create a connection
        List connections = new ArrayList();
        ManagedConnection connection = connection = createConnection(null, info);
        connections.add(connection);
View Full Code Here

Examples of org.exoplatform.services.jcr.datamodel.ItemData.accept()

         ItemData n = dataManager.getItemData(nodeData(), new QPathEntry(nd.getName(), 1), ItemType.NODE);
         if (n != null && n.isNode())
         {
            // remove node with subtree
            ItemDataRemoveVisitor remover = new ItemDataRemoveVisitor(dataManager, ancestorToSave);
            n.accept(remover);
            for (ItemState deleted : remover.getRemovedStates())
            {
               dataManager.delete(deleted.getData(), ancestorToSave);
            }
         }
View Full Code Here

Examples of org.exoplatform.services.jcr.datamodel.NodeData.accept()

      // remove child versions from VH (if found)

      ChildVersionRemoveVisitor cvremover =
         new ChildVersionRemoveVisitor(session.getTransientNodesManager(), session.getWorkspace().getNodeTypesHolder(),
            vhnode.getQPath(), ancestorToSave);
      vhnode.accept(cvremover);

      // remove VH
      delete(vhnode, ancestorToSave, true);
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.itemfilters.ItemDataFilter.accept()

            // full iterator
            List<NodeImpl> nodes = new ArrayList<NodeImpl>();
            for (int i = 0, length = childs.size(); i < length; i++)
            {
               NodeData child = childs.get(i);
               if (filter.accept(child)
                  && session.getAccessManager().hasPermission(child.getACL(), new String[]{PermissionType.READ},
                     session.getUserState().getIdentity()))
               {
                  NodeImpl item = (NodeImpl)dataManager.readItem(child, nodeData(), true, false);
                  session.getActionHandler().postRead(item);
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.itemfilters.ItemDataNamePatternFilter.accept()

            // full iterator
            List<NodeImpl> nodes = new ArrayList<NodeImpl>();
            for (int i = 0, length = childs.size(); i < length; i++)
            {
               NodeData child = childs.get(i);
               if (filter.accept(child)
                  && session.getAccessManager().hasPermission(child.getACL(), new String[]{PermissionType.READ},
                     session.getUserState().getIdentity()))
               {
                  NodeImpl item = (NodeImpl)dataManager.readItem(child, nodeData(), true, false);
                  session.getActionHandler().postRead(item);
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.itemfilters.ItemFilter.accept()

      {
         ItemFilter filter = new NamePatternFilter(namePattern);
         ArrayList<NodeImpl> list = new ArrayList<NodeImpl>();
         for (NodeImpl item : childNodes())
         {
            if (filter.accept(item))
               list.add(item);
         }
         return new EntityCollection(list);
      }
      finally
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.itemfilters.NamePatternFilter.accept()

      {
         ItemFilter filter = new NamePatternFilter(namePattern);
         ArrayList<NodeImpl> list = new ArrayList<NodeImpl>();
         for (NodeImpl item : childNodes())
         {
            if (filter.accept(item))
               list.add(item);
         }
         return new EntityCollection(list);
      }
      finally
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.itemfilters.NodeNamePatternFilter.accept()

            // full iterator
            List<NodeImpl> nodes = new ArrayList<NodeImpl>();
            for (int i = 0, length = childs.size(); i < length; i++)
            {
               NodeData child = childs.get(i);
               if (filter.accept(child)
                  && session.getAccessManager().hasPermission(child.getACL(), new String[]{PermissionType.READ},
                     session.getUserState().getIdentity()))
               {
                  NodeImpl item = (NodeImpl)dataManager.readItem(child, nodeData(), true, false);
                  session.getActionHandler().postRead(item);
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.