Examples of NodeFilter


Examples of com.gargoylesoftware.htmlunit.javascript.host.NodeFilter

     * @return a new TreeWalker
     */
    public Object jsxFunction_createTreeWalker(final Node root, final int whatToShow, final Scriptable filter,
            final boolean expandEntityReferences) throws DOMException {

        NodeFilter filterWrapper = null;
        if (filter != null) {
            filterWrapper = new NodeFilter() {
                private static final long serialVersionUID = -7572357836681155579L;

                @Override
                public short acceptNode(final Node n) {
                    final Object[] args = new Object[] {n};
View Full Code Here

Examples of com.projity.grouping.core.transform.filtering.NodeFilter

  private ResourceInTeamFilter assignmentDialogTransformerInitializationClosure;
  public Closure setAssignmentDialogTransformerInitializationClosure(){
    return new Closure(){
      public void execute(Object arg) {
        ViewTransformer transformer=(ViewTransformer)arg;
            NodeFilter hiddenFilter=transformer.getHiddenFilter();
            if (hiddenFilter!=null&& hiddenFilter instanceof ResourceInTeamFilter){
              assignmentDialogTransformerInitializationClosure=(ResourceInTeamFilter)hiddenFilter;
              assignmentDialogTransformerInitializationClosure.setFilterTeam(getGraphicManager().getPreferences().isShowProjectResourcesOnly());
            }else assignmentDialogTransformerInitializationClosure=null;
      }
View Full Code Here

Examples of com.sun.org.apache.xml.internal.security.signature.NodeFilter

        while (i.hasNext()) {
            Node currentNode = (Node) i.next();
            Iterator it = nodeFilters.iterator();
            boolean skipNode = false;
            while (it.hasNext() && !skipNode) {
                NodeFilter nf = (NodeFilter) it.next();
                if (!nf.isNodeInclude(currentNode)) {
                    skipNode = true;
                }
            }
            if (!skipNode) {
                nodeSet.add(currentNode);
View Full Code Here

Examples of jease.cmf.web.node.NodeFilter

  private void initSession(User user) {
    initBrowserInfo();
    JeaseSession.set(user);
    if (Validations.isNotEmpty(user.getRoots())) {
      JeaseSession.setConfig(new Configuration());
      JeaseSession.setFilter(new NodeFilter(JeaseSession.getConfig()
          .newNodes()));
      JeaseSession.setRoots(user.getRoots());
      if (queryString != null) {
        Node node = Nodes.getByPath(queryString);
        if (JeaseSession.getFilter().isAccepted(node)) {
View Full Code Here

Examples of net.sourceforge.jpowergraph.NodeFilter

    theJGraphPane.setDefaultEdgePainter(new LineEdgePainter(gray, gray, false));
  }


  public NodeFilter getNodeFilter() {
    NodeFilter nodeFilter = new DefaultNodeFilter();
    nodeFilter.addFilterable(SuperClassNode.class, true);
    nodeFilter.addFilterable(SubClassNode.class, true);
    nodeFilter.addFilterable(RelationNode.class, true);
    nodeFilter.addFilterable(InstanceNode.class, true);
    nodeFilter.addFilterable(InstanceOfNode.class, true);

    nodeFilter.addFilterable(InitialNode.class, true);
    nodeFilter.addFilterable(ActivateNode.class, true);
    nodeFilter.addFilterable(ActivationNode.class, true);
    nodeFilter.addFilterable(SpreadingNode.class, true)
    nodeFilter.addFilterable(SpreadNode.class, true);
    nodeFilter.addFilterable(PathNode.class, true)
    return nodeFilter;
  }
View Full Code Here

Examples of net.sourceforge.jpowergraph.NodeFilter

        theJGraphPane.setEdgePainter(ClusterEdge.class, new ClusterEdgePainter <ClusterEdge>());
        theJGraphPane.setDefaultEdgePainter(new LineEdgePainter(gray, gray, false));
    }

    public NodeFilter getNodeFilter() {
        NodeFilter nodeFilter = new DefaultNodeFilter();
        nodeFilter.addFilterable(NodeType2.class, true);
        nodeFilter.addFilterable(NodeType3.class, true);
        nodeFilter.addDependancy(NodeType2.class, NodeType3.class);
        return nodeFilter;
    }
View Full Code Here

Examples of org.apache.jackrabbit.mk.util.NodeFilter

            // OAK-468: Identifier- or hash-based access in the MicroKernel
            id = Id.fromString(path);
        }
        Id revId = revisionId == null ? getHeadRevisionId() : Id.fromString(revisionId);

        NodeFilter nodeFilter = filter == null || filter.isEmpty() ? null : NodeFilter.parse(filter);
        if (offset > 0 && nodeFilter != null && nodeFilter.getChildNodeFilter() != null) {
            // both an offset > 0 and a filter on node names have been specified...
            throw new IllegalArgumentException("offset > 0 with child node filter");
        }

        try {
View Full Code Here

Examples of org.apache.jackrabbit.mk.util.NodeFilter

            // OAK-468: Identifier- or hash-based access in the MicroKernel
            id = Id.fromString(path);
        }
        Id revId = revisionId == null ? getHeadRevisionId() : Id.fromString(revisionId);

        NodeFilter nodeFilter = filter == null || filter.isEmpty() ? null : NodeFilter.parse(filter);
        if (offset > 0 && nodeFilter != null && nodeFilter.getChildNodeFilter() != null) {
            // both an offset > 0 and a filter on node names have been specified...
            throw new IllegalArgumentException("offset > 0 with child node filter");
        }

        try {
View Full Code Here

Examples of org.apache.jackrabbit.mk.util.NodeFilter

            // OAK-468: Identifier- or hash-based access in the MicroKernel
            id = Id.fromString(path);
        }
        Id revId = revisionId == null ? getHeadRevisionId() : Id.fromString(revisionId);

        NodeFilter nodeFilter = filter == null || filter.isEmpty() ? null : NodeFilter.parse(filter);
        if (offset > 0 && nodeFilter != null && nodeFilter.getChildNodeFilter() != null) {
            // both an offset > 0 and a filter on node names have been specified...
            throw new IllegalArgumentException("offset > 0 with child node filter");
        }

        try {
View Full Code Here

Examples of org.apache.jackrabbit.mk.util.NodeFilter

            throw new IllegalStateException("this instance has already been disposed");
        }

        Id revId = revisionId == null ? getHeadRevisionId() : Id.fromString(revisionId);

        NodeFilter nodeFilter = filter == null || filter.isEmpty() ? null : NodeFilter.parse(filter);
        if (offset > 0 && nodeFilter != null && nodeFilter.getChildNodeFilter() != null) {
            // both an offset > 0 and a filter on node names have been specified...
            throw new IllegalArgumentException("offset > 0 with child node filter");
        }

        try {
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.