Examples of replace()


Examples of client.net.sf.saxon.ce.regex.ARegularExpression.replace()

                dynamicError(
                        "The regular expression in replace() must not be one that matches a zero-length string",
                        "FORX0003", c);
            }
            String input = arg0.getStringValue();
            CharSequence res = re.replace(input, replacement);
            return StringValue.makeStringValue(res);
        } catch (XPathException err) {
            XPathException de = new XPathException(err);
            de.setErrorCode("FORX0002");
            de.setXPathContext(c);
View Full Code Here

Examples of com.adito.boot.ReplacementEngine.replace()

                    } catch (Throwable t) {
                    }
                    return "";
                }
            }, null);
            windowParsed = engine.replace(window);
        }

        String script = "";
        if (aditoAware) {
            script = "myRef = window.open('" + "/getHTMLApplication.do?" 
View Full Code Here

Examples of com.adito.core.stringreplacement.VariableReplacement.replace()

    ReplacementProxyWebForward f = (ReplacementProxyWebForward) launchSession.getResource();

    VariableReplacement r = new VariableReplacement();
    r.setServletRequest(request);
    r.setLaunchSession(launchSession);
    String destinationURL = r.replace(f.getDestinationURL());

    CoreEvent evt = new ResourceAccessEvent(this,
                        WebForwardEventConstants.WEB_FORWARD_STARTED,
            f,
            launchSession.getPolicy(),
View Full Code Here

Examples of com.browseengine.bobo.sort.DocIDPriorityQueue.replace()

                {
                  tmpScoreDoc.groupPos = pre.groupPos;
                  tmpScoreDoc.rawGroupValue = pre.rawGroupValue;

                  // Pre has a higher score. Pop it in the queue!
                  bottom = (MyScoreDoc)docQueue.replace(tmpScoreDoc, pre);
                  valueDocMaps[tmpScoreDoc.groupPos].put(tmpScoreDoc.rawGroupValue, tmpScoreDoc);
                  tmpScoreDoc = pre;
                }
              }
              else
View Full Code Here

Examples of com.caucho.config.types.AnnotationConfig.replace()

    if (value instanceof Annotation) {
      customBean.addAnnotation((Annotation) value);
    }
    else {
      AnnotationConfig annConfig = (AnnotationConfig) value;
      customBean.addAnnotation(annConfig.replace());
    }
  }

  /**
   * Sets the value of the attribute
View Full Code Here

Examples of com.caucho.config.types.CustomBeanConfig.replace()

  value = config.toObject();
      }
      else if (value instanceof AnnotationConfig) {
  AnnotationConfig config = (AnnotationConfig) value;

  value = config.replace();
      }

      if (_setMethod != null && value != null) {
  if (! _setMethod.getParameterTypes()[0].isAssignableFrom(value.getClass()))
    throw new ConfigException(L.l("'{0}.{1}' is not assignable from {2}",
View Full Code Here

Examples of com.cburch.logisim.circuit.CircuitMutation.replace()

      if (result == null) {
        xn.remove(shorten);
        actName = Strings.getter("removeComponentAction",
            shorten.getFactory().getDisplayGetter());
      } else {
        xn.replace(shorten, result);
        actName = Strings.getter("shortenWireAction");
      }
      canvas.getProject().doAction(xn.toAction(actName));
      return true;
    }
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.rte.FindReplace.replace()

      List<String> features = new ArrayList<String>();

      if (findReplaceAnnotation.find()) {
        features.add("find");
      }
      if (findReplaceAnnotation.replace()) {
        features.add("replace");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("findreplace");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

Examples of com.dci.intellij.dbn.language.common.element.impl.QualifiedIdentifierVariant.replace()

                    }
                }
                if (mostProbableVariant == null || mostProbableVariant.getMatchedTokens() < matchedTokens) {
                    mostProbableVariant = mostProbableVariant == null ?
                            new QualifiedIdentifierVariant(elementTypes, matchedTokens) :
                            mostProbableVariant.replace(elementTypes, matchedTokens);
                }

            }
        }
View Full Code Here

Examples of com.dubture.getcomposer.core.collection.JsonArray.replace()

      diag.setEventEnabled(false);
      if (diag.open() == Dialog.OK) {
        String handler = diag.getHandler();
        if (!handler.equalsIgnoreCase(text)) {
          JsonArray events = composerPackage.getScripts().getAsArray(event);
          events.replace(text, handler);
        }
      }
    }
  }
 
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.