Examples of Mode

@author Portet to jme3 by user starcom "Paul Kashofer Austria" @see ImageGraphics
  • com.jverrecchia.initializr.builder.mode.Mode
  • com.lightcrafts.ui.mode.Mode
    Modes for mouse interaction with images. A Mode has an overlay JComponent where it may draw things that will be superposed with an image; an AffineTransform that will help it figure out the relation between the dimensions of its overlay and an Engine's image bounds; and an autoscroll property, to determine whether the overlay should receive synthetic mouse events in a JScrollPane.
  • com.linkedin.data.transform.patch.validator.PatchFilterValidator.Mode
  • com.thebuzzmedia.imgscalr.Scalr.Mode
  • de.saumya.mojo.jruby.JRubyVersion.Mode
  • jadx.core.dex.regions.conditions.IfCondition.Mode
  • javax.jws.WebParam.Mode
  • javax.xml.ws.Service.Mode
  • jscicalc.pobject.Mode
    Information for Mode button. @see ModeButton @author J. D. Lamb @version $Revision: 1.4 $
  • mage.abilities.Mode
    @author BetaSteward_at_googlemail.com
  • net.sf.saxon.trans.Mode
    A Mode is a collection of rules; the selection of a rule to apply to a given element is determined by a Pattern. @author Michael H. Kay
  • opennlp.ccg.hylo.Mode
    ohio-state.edu/~scott/">Scott Martin @version $Revision: 1.2 $, $Date: 2005/10/19 21:27:15 $
  • org.apache.ace.log.server.task.LogSyncTask.Mode
  • org.apache.directory.server.core.integ.annotations.Mode
  • org.apache.hadoop.hive.ql.exec.vector.VectorExpressionDescriptor.Mode
  • org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator.Mode
  • org.apache.isis.viewer.wicket.model.models.ActionModel.Mode
  • org.apache.nutch.tools.proxy.FakeHandler.Mode
  • org.apache.openejb.server.axis.assembler.JaxRpcParameterInfo.Mode
  • org.apache.poi.ss.formula.functions.Mode
    @author Amol S. Deshmukh < amolweb at ya hoo dot com >
  • org.apache.stanbol.entityhub.servicesapi.query.ValueConstraint.MODE
  • org.auraframework.system.AuraContext.Mode
  • org.boris.expr.function.excel.MODE
  • org.freeplane.features.map.MapWriter.Mode
  • org.gatein.pc.api.Mode
    @author Julien Viet @version $Revision: 7867 $
  • org.geotools.swt.styling.simple.Mode
  • org.h2.engine.Mode
    The compatibility modes. There is a fixed set of modes (for example PostgreSQL, MySQL). Each mode has different settings.
  • org.imgscalr.Scalr.Mode
  • org.jacorb.test.bugs.bugjac565.ModulatorPackage.Mode
  • org.jboss.aerogear.AeroGearCrypto.Mode
  • org.jboss.msc.service.ServiceController.Mode
  • org.jboss.portal.Mode
    @author Julien Viet @version $Revision: 7867 $
  • org.jdesktop.wonderland.modules.audiomanager.client.voicechat.AddHUDPanel.Mode
  • org.jivesoftware.smack.packet.Presence.Mode
  • org.kie.internal.runtime.beliefs.Mode
  • org.lealone.engine.Mode
    The compatibility modes. There is a fixed set of modes (for example PostgreSQL, MySQL). Each mode has different settings.
  • org.lilyproject.runtime.rapi.Mode
  • org.locationtech.udig.style.sld.simple.Mode
  • org.mizartools.dli.Mode
  • org.neo4j.webadmin.domain.ServerRootRepresentation.Mode
  • org.openhab.io.squeezeserver.SqueezePlayer.Mode
  • org.openide.windows.Mode
  • org.openmrs.module.htmlformentry.FormEntryContext.Mode
  • org.openstreetmap.josm.gui.io.SaveLayersModel.Mode
  • org.pdf4j.saxon.trans.Mode
    A Mode is a collection of rules; the selection of a rule to apply to a given element is determined by a Pattern. @author Michael H. Kay
  • org.qi4j.api.structure.Application.Mode
  • org.richfaces.component.Mode
  • org.richfaces.ui.common.Mode
  • org.rssowl.ui.internal.notifier.NotificationService.Mode
  • org.teiid.query.processor.relational.SortUtility.Mode
  • play.Play.Mode

  • Examples of OntoUML.Mode

            if (result == null) result = caseElement(mixinClass);
            if (result == null) result = defaultCase(theEObject);
            return result;
          }
          case OntoUMLPackage.MODE: {
            Mode mode = (Mode)theEObject;
            T result = caseMode(mode);
            if (result == null) result = caseMomentClass(mode);
            if (result == null) result = caseClass(mode);
            if (result == null) result = caseClassifier(mode);
            if (result == null) result = caseType(mode);
    View Full Code Here

    Examples of OntoUML.Mode

         * <!-- end-user-doc -->
         * @generated NOT
         */
        private void updateContents(ModeEditPart modeeditpart) {

          Mode s = (Mode) ((View) modeeditpart.getModel()).getElement();
          for (int i = 0; i < s.getAttribute().size(); i++) {
            Property p1 = (Property) s.getAttribute().get(i);
            if (p1.getAttribute().size() >= 2) {
              DatatypeAssociation d = (DatatypeAssociation) p1
                  .getAttribute().get(0);
              Property p2 = (Property) p1.getAttribute().get(1);
              d.setOwner(null);
              d.setContainer(s.getContainer());
              d.setName("Name");
              p1.setAssociationEnd(d);
              p1.setName("Name");
              p2.setAssociationEnd(d);
              p2.setOwner(d);
    View Full Code Here

    Examples of cbg.editor.jedit.Mode

          add(rule, type, factory, rules);
        }
      }
      public static void add(final Rule rule, final Type type, ITokenFactory factory, final List rules) {
        final IToken token = factory.makeToken(type);
        final Mode mode = rule.getMode();
        final boolean ignoreCase = rule.getIgnoreCase();
        type.accept(new IVisitor() {
          public void acceptSpan(Span span) {
            IToken defaultToken = token;
            if(span.hasDelegate()) {
              Rule delegateRule = mode.getRule(span.getDelegate());
              defaultToken = new DelegateToken(type, delegateRule, span.getEnd());
            }
            /* Using a PatternRule instead of a MultiLineRule because
             * PatternRule exposes the break on newline behavior. */
            PatternRule pat = new CasedPatternRule(span.getStart(), span.getEnd(),
              defaultToken, mode.getDefaultRuleSet().getEscape(), span.noLineBreak(),
              ignoreCase);
            rules.add(pat);
          }
          public void acceptTextSequence(TextSequence text) {
            /* If the text sequence can be recognized as a word, don't
    View Full Code Here

    Examples of client.net.sf.saxon.ce.trans.Mode

                XPathException e = new XPathException("There is no current template rule");
                e.setXPathContext(context);
                e.setErrorCode("XTDE0560");
                throw e;
            }
            Mode mode = context.getCurrentMode();
            if (mode == null) {
                mode = controller.getRuleManager().getUnnamedMode();
            }
            if (context.getCurrentIterator()==null) {
                XPathException e = new XPathException("There is no context item");
                e.setXPathContext(context);
                e.setErrorCode("XTDE0565");
                throw e;
            }
            Item currentItem = context.getCurrentIterator().current();
            if (!(currentItem instanceof NodeInfo)) {
                XPathException e = new XPathException("Cannot call xsl:next-match when context item is not a node");
                e.setXPathContext(context);
                e.setErrorCode("XTDE0565");
                throw e;
            }
            NodeInfo node = (NodeInfo)currentItem;
            Rule rule = controller.getRuleManager().getNextMatchHandler(node, mode, currentRule, context);

        if (rule==null) {             // use the default action for the node
                mode.getBuiltInRuleSet().process(node, params, tunnels, context, getSourceLocator());
            } else if (useTailRecursion) {
                //Template nh = (Template)rule.getAction();
                // clear all the local variables: they are no longer needed
                Arrays.fill(context.getStackFrame().getStackFrameValues(), null);
                return new NextMatchPackage(rule, params, tunnels, context);
    View Full Code Here

    Examples of client.net.sf.saxon.ce.trans.Mode

                dynamicError("There is no current template rule", "XTDE0560", context);
            }

            int min = currentTemplateRule.getMinImportPrecedence();
            int max = currentTemplateRule.getPrecedence()-1;
            Mode mode = context.getCurrentMode();
            if (mode == null) {
                mode = controller.getRuleManager().getUnnamedMode();
            }
            if (context.getCurrentIterator()==null) {
                dynamicError("Cannot call xsl:apply-imports when there is no context item", "XTDE0565", context);
            }
            Item currentItem = context.getCurrentIterator().current();
            if (!(currentItem instanceof NodeInfo)) {
                dynamicError("Cannot call xsl:apply-imports when context item is not a node", "XTDE0565", context);
            }
            NodeInfo node = (NodeInfo)currentItem;
            Rule rule = controller.getRuleManager().getTemplateRule(node, mode, min, max, context);

        if (rule==null) {             // use the default action for the node
                mode.getBuiltInRuleSet().process(node, params, tunnels, context, getSourceLocator());
            } else {
                XPathContextMajor c2 = context.newContext();
                Template nh = (Template)rule.getAction();
                c2.setLocalParameters(params);
                c2.setTunnelParameters(tunnels);
    View Full Code Here

    Examples of client.net.sf.saxon.ce.trans.Mode

                StylesheetModule module = declaration.getModule();
                int slots = match.allocateSlots(getStaticContext(), getSlotManager(), 0);
                RuleManager mgr = getPreparedStylesheet().getRuleManager();
                for (int i=0; i<modeNames.length; i++) {
                    StructuredQName nc = modeNames[i];
                    Mode mode = mgr.getMode(nc, true);
                    if (prioritySpecified) {
                        mgr.setTemplateRule(match, compiledTemplate, mode,
                            module, priority, ixslPreventDefault, ixslEventProperty);
                    } else {
                        mgr.setTemplateRule(match, compiledTemplate, mode,
                            module, Double.NaN, ixslPreventDefault, ixslEventProperty);
                    }
                    mode.allocatePatternSlots(slots);
                }

                allocatePatternSlots(slots);
            }
        }
    View Full Code Here

    Examples of client.net.sf.saxon.ce.trans.Mode

       
        // emulate bubbling up events by iterating through ancestors that have matching rule, starting with the
        // targetNode
       
        private Mode getModeFromEvent(Event event) {
          Mode result = null;
          String mode = "on" + event.getType(); // eg. onclick
          for (Mode m: registeredEventModes){
            if (m.getModeName().getLocalName().equals(mode)) {
              result = m;
              break;
    View Full Code Here

    Examples of client.net.sf.saxon.ce.trans.Mode

          SequenceIterator bubbleElements = eventNode.iterateAxis(Axis.ANCESTOR, NodeKindTest.ELEMENT);
          Controller controller = stylesheet.newTransformer();
          try {
              controller.importControllerSettings(localController);
            XPathContext ruleContext = controller.newXPathContext();
            Mode matchedMode = getModeFromEvent(event);
           
            if (matchedMode == null) {
              return;
            }
           
            // walk up the tree until we find an element with matching rule for the event mode

            NodeInfo element = eventNode;
              while (element != null) {
                  Rule matchedRule = matchedMode.getRule(element, ruleContext);
                  if (matchedRule != null && eventPropertyMatch(event, matchedRule)) {
                    logger.log(Level.FINER, "Bubble Apply-Templates - Mode: " + matchedMode.getModeName().getLocalName() +
                        " Element: " + controller.getNamePool().getLocalName(element.getNameCode()));
                    applyEventTemplates(matchedMode.getModeName().getClarkName(), element, event, null);
                    if (matchedRule.getIxslPreventDefault()) {
                      event.preventDefault();
                    }
                    break;
                  }
    View Full Code Here

    Examples of client.net.sf.saxon.ce.trans.Mode

         * Get the current mode.
         * @return the current mode. May return null if the current mode is the default mode.
         */

        public Mode getCurrentMode() {
            Mode m = currentMode;
            if (m == null) {
                RuleManager rm = getController().getRuleManager();
                if (rm != null) {
                    return rm.getUnnamedMode();
                } else {
    View Full Code Here

    Examples of client.net.sf.saxon.ce.trans.Mode

                        throw new XPathException("Either a source document or an initial template must be specified");
                    }

                } else {

                    Mode mode = preparedStylesheet.getRuleManager().getMode(initialMode, false);
                    if (mode == null || (initialMode != null && mode.isEmpty())) {
                        throw new XPathException("Requested initial mode " +
                                (initialMode == null ? "" : initialMode.getDisplayName()) +
                                " does not exist", "XTDE0045");
                    }

                    if (source.getSystemId() != null) {
                        registerDocument(source.getDocumentRoot(), new DocumentURI(source.getSystemId()));
                    }
                }
                // System.err.println("*** TransformDocument");
                if (executable==null) {
                    throw new XPathException("Stylesheet has not been compiled");
                }

                openMessageEmitter();

                XPathContextMajor initialContext = newXPathContext();

                if (source != null) {

                    initialContextItem = source;
                    contextForGlobalVariables = source.getRoot();

                    SequenceIterator currentIter = SingletonIterator.makeIterator(source);
                    if (initialTemplate != null) {
                        currentIter.next();
                    }
                    initialContext.setCurrentIterator(currentIter);
                }

                initializeController();

                PipelineConfiguration pipe = makePipelineConfiguration();
                Receiver result = openResult(pipe, initialContext, target, ResultDocument.APPEND_CONTENT);

                // Process the source document by applying template rules to the initial context node

                if (initialTemplate == null) {
                    initialContextItem = source;
                    Mode mode = getRuleManager().getMode(initialMode, false);
                    if (mode == null || (initialMode != null && mode.isEmpty())) {
                        throw new XPathException("Requested initial mode " +
                                (initialMode == null ? "" : initialMode.getDisplayName()) +
                                " does not exist", "XTDE0045");
                    }
                    TailCall tc = ApplyTemplates.applyTemplates(
    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.