Examples of Selector

@version $Revision: 1.1 $ $Date: 2004/11/26 01:50:44 $ @author Tim Anderson
  • org.graphstream.ui.graphicGraph.stylesheet.Selector
    A selector is the part of a CSS rule that defines to which element a style applies in the graph. @author Antoine Dutot @author Yoann Pign�
  • org.jamesii.asf.database.hibernate.Selector
    Hibernate implementation of a selector. @author Roland Ewald
  • org.jamesii.asf.spdm.generators.Selector
    Super class for selectors, implements idea of using a predictor (see {@link IPerfComparisonPredictor}) to sort a list. @author Roland Ewald
  • org.jboss.dna.graph.query.model.Selector
  • org.jboss.jms.selector.Selector
    This class implements a Message Selector. @author Norbert Lataille @author Juha Lindfors @author Jason Dillon @author Scott Stark @author Tim Fox @version $Revision: 2284 $$Id: Selector.java 2284 2007-02-13 06:47:23Z ovidiu.feodorov@jboss.com $
  • org.jboss.jms.server.selector.Selector
    This class implements a Message Selector. @author Norbert Lataille @author Juha Lindfors @author Jason Dillon @author Scott Stark @author Tim Fox @version $Revision: 3168 $$Id: Selector.java 3168 2007-10-03 02:34:11Z clebert.suconic@jboss.com $
  • org.jitterbit.application.ui.widget.SectionedSplitPane.Selector
  • org.mizartools.dli.Selector
  • org.modeshape.jcr.query.model.Selector
  • org.openstreetmap.josm.gui.mappaint.mapcss.Selector
    MapCSS selector. A rule has two parts, a selector and a declaration block e.g.
     way[highway=residential]     { width: 10; color: blue; }  
    The selector decides, if the declaration block gets applied or not. All implementing classes of Selector are immutable.
  • org.sbml.jsbml.ext.multi.Selector
    A selector is a mask describing the rules that an entity has to pass in order to be used or rejected. This selector is built of different components, carrying state features. The components can be bound together or not. In a population-based model, the selector, when applied to a pool of entities, permits to filter it, and to obtain a further, more refined, entity pool.

    A selector can be reused in various places of a model, to restrict the application of a procedure to a certain set of topologies and states. Selectors can be used to refine the initial conditions of a species, for instance to specify the initial distribution of different states and topologies. They can also be used in a reaction to decide if a this reaction happens, or to modulate its velocity, in function of the state or topology of a reactant.

    A selector defines the list of components composing the mask, that are species type existing under a given state (that can be an ensemble of elementary states). In addition to the components, the selector lists the possible or mandatory bonds, as well as the components that must not be bound. It is to be noted that a selector must not necessarily be the most parsimonious. One can use the selectors to describe the fine-grained topology of complexes, even if this topology is not used to decide upon particular reactions. @author Nicolas Rodriguez @since 1.0 @version $Rev: 1639 $

  • org.scale7.cassandra.pelops.Selector
    Facilitates the selective retrieval of column data from rows in a Cassandra keyspace.

    Note:The methods that are marked as throwing {@link org.scale7.cassandra.pelops.exceptions.NotFoundException}are the only methods in Pelops that throw exceptions under non-failure conditions. @author dominicwilliams

  • org.scopemvc.core.Selector
  • org.skyscreamer.yoga.selector.Selector
  • org.w3c.css.sac.Selector
    This interface defines a selector.

    Remarks: Not all the following selectors are supported (or will be supported) by CSS.

    All examples are CSS2 compliant. @version $Revision: 1.12 $ @author Philippe Le Hegaret

  • org.w3c.flex.forks.css.sac.Selector
    This interface defines a selector.

    Remarks: Not all the following selectors are supported (or will be supported) by CSS.

    All examples are CSS2 compliant. @version $Revision: 1.2 $ @author Philippe Le Hegaret

  • org.xhtmlrenderer.css.newmatch.Selector
    A Selector is really a chain of CSS selectors that all need to be valid for the selector to match. @author Torbjörn Gannholm
  • org.xorm.query.Selector
  • org.zkoss.selector.model.Selector
    @author simonpai
  • r.nodes.exec.Selector
  • reactor.event.selector.Selector
    A {@literal Selector} is a wrapper around an arbitrary object. @author Jon Brisbin @author Stephane Maldini @author Andy Wilkinson
  • tripleplay.ui.Selector
    Maintains a single selected item among a specified set of {@code Element} instances. Theelements may be added individually, or the children of an {@code Elements} may be trackedautomatically.

    A click on a tracked element that implements {@code Clickable} makes it the selected item, or{@code selected} can be used to manually control the selected item.


  • Examples of java.nio.channels.Selector

        protected void registerNewSelector() throws IOException {
            synchronized (selector) {
                Set<SelectionKey> keys = selector.keys();

                // Open a new selector
                Selector newSelector = Selector.open();

                // Loop on all the registered keys, and register them on the new selector
                for (SelectionKey key : keys) {
                    SelectableChannel ch = key.channel();
                   
    View Full Code Here

    Examples of java.nio.channels.Selector

            }
        }

        void flush(SocketSessionImpl session) {
            if ( scheduleFlush(session) ) {
                Selector selector = this.selector;
                if (selector != null) {
                    selector.wakeup();
                }
            }
        }
    View Full Code Here

    Examples of java.nio.channels.Selector

            }
        }

        void updateTrafficMask(SocketSessionImpl session) {
            scheduleTrafficControl(session);
            Selector selector = this.selector;
            if (selector != null) {
                selector.wakeup();
            }
        }
    View Full Code Here

    Examples of java.nio.channels.Selector

        private void scheduleTrafficControl(SocketSessionImpl session) {
            trafficControllingSessions.add(session);
        }

        private void doAddNew() {
            Selector selector = this.selector;
            for (;;) {
                SocketSessionImpl session = newSessions.poll();

                if (session == null)
                    break;
    View Full Code Here

    Examples of javax.jcr.query.qom.Selector

                assertEquals("Wrong operator", operator, comp.getOperator());
            }
        }

        public void testCreateQuery() throws RepositoryException {
            Selector selector = qf.selector(testNodeType, SELECTOR_NAME1);
            QueryObjectModel qom = qf.createQuery(selector, null, null, null);
            assertTrue("Not a selector source", qom.getSource() instanceof Selector);
            assertNull("Constraint must be null", qom.getConstraint());
            assertEquals("Wrong size of orderings", 0, qom.getOrderings().length);
            assertEquals("Wrong size of columns", 0, qom.getColumns().length);
    View Full Code Here

    Examples of javax.jcr.query.qom.Selector

            assertEquals("Wrong size of orderings", 0, qom.getOrderings().length);
            assertEquals("Wrong size of columns", 0, qom.getColumns().length);
        }

        public void testCreateQueryWithConstraint() throws RepositoryException {
            Selector selector = qf.selector(testNodeType, SELECTOR_NAME1);
            PropertyExistence propExist = qf.propertyExistence(SELECTOR_NAME1, propertyName1);
            QueryObjectModel qom = qf.createQuery(
                    selector, propExist, null, null);
            assertTrue("Not a selector source", qom.getSource() instanceof Selector);
            assertTrue("Not a property existence constraint", qom.getConstraint() instanceof PropertyExistence);
    View Full Code Here

    Examples of javax.jcr.query.qom.Selector

            assertEquals("Wrong size of orderings", 0, qom.getOrderings().length);
            assertEquals("Wrong size of columns", 0, qom.getColumns().length);
        }

        public void testCreateQueryWithConstraintAndOrdering() throws RepositoryException {
            Selector selector = qf.selector(testNodeType, SELECTOR_NAME1);
            PropertyExistence propExist = qf.propertyExistence(SELECTOR_NAME1, propertyName1);
            PropertyValue propValue = qf.propertyValue(SELECTOR_NAME1, propertyName1);
            Ordering ordering = qf.ascending(propValue);
            QueryObjectModel qom = qf.createQuery(selector, propExist,
                    new Ordering[]{ordering}, null);
    View Full Code Here

    Examples of javax.jcr.query.qom.Selector

            assertEquals("Wrong size of orderings", 1, qom.getOrderings().length);
            assertEquals("Wrong size of columns", 0, qom.getColumns().length);
        }

        public void testCreateQueryWithConstraintOrderingAndColumn() throws RepositoryException {
            Selector selector = qf.selector(testNodeType, SELECTOR_NAME1);
            PropertyExistence propExist = qf.propertyExistence(SELECTOR_NAME1, propertyName1);
            PropertyValue propValue = qf.propertyValue(SELECTOR_NAME1, propertyName1);
            Ordering ordering = qf.ascending(propValue);
            Column column = qf.column(SELECTOR_NAME1, propertyName1, propertyName1);
            QueryObjectModel qom = qf.createQuery(selector, propExist,
    View Full Code Here

    Examples of javax.jcr.query.qom.Selector

        /**
         * Test case for {@link QueryObjectModelFactory#join(Source, Source, String, JoinCondition)}
         */
        public void testJoin() throws RepositoryException {
            Selector s1 = qf.selector(ntBase, SELECTOR_NAME1);
            Selector s2 = qf.selector(testNodeType, SELECTOR_NAME1);
            JoinCondition cond = qf.equiJoinCondition(ntBase, jcrPrimaryType, testNodeType, jcrPrimaryType);
            for (Iterator it = JOIN_TYPES.iterator(); it.hasNext(); ) {
                String joinType = (String) it.next();
                Join join = qf.join(s1, s2, joinType, cond);
                assertTrue("Not a selector source", join.getLeft() instanceof Selector);
    View Full Code Here

    Examples of javax.jcr.query.qom.Selector

        /**
         * Test case for {@link QueryObjectModelFactory#selector(String, String)}
         */
        public void testSelector() throws RepositoryException {
            Selector selector = qf.selector(ntBase, SELECTOR_NAME1);
            assertEquals("Wrong node type name", ntBase, selector.getNodeTypeName());
            assertEquals("Wrong selector name", SELECTOR_NAME1, selector.getSelectorName());
        }
    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.