Appends one or more values of a parameter to the URL. Checks to see if each value is null, and if so generates a parameter with no value. URL Encodes the parameter values to make sure that it is safe to insert into the URL.
If any parameter value passed is a Collection or an Array then this method is called recursively with the contents of the collection or array. As a result you can pass arbitrarily nested arrays and collections to this method and it will recurse through them adding all scalar values as parameters to the URL.
oracle.adf.model.adapter.dataformat.MethodDef.addParameter()
org.activiti.explorer.navigation.UriFragment.addParameter()
org.ajax4jsf.javascript.JSFunction.addParameter()
org.ajax4jsf.javascript.JSFunctionDefinition.addParameter()
org.ajax4jsf.javascript.JSObject.addParameter()
org.andromda.cartridges.jsf.validator.JSFValidator.addParameter()
Adds the parameter with the given name
and the given value
.
@param name the name of the parameter.
@param value the parameter's value
org.apache.agila.servletimpl.HttpServletRequestImpl.addParameter()
org.apache.airavata.gfac.context.MessageContext.addParameter()
org.apache.airavata.gfac.core.context.MessageContext.addParameter()
org.apache.axis.client.Call.addParameter()
Adds the specified parameter to the list of parameters for the operation associated with this Call object. Note: Not part of JAX-RPC specification.
@param paramName Name that will be used for the parameter in the XML
@param xmlType XMLType of the parameter
@param parameterMode one of IN, OUT or INOUT
org.apache.axis.description.OperationDesc.addParameter()
org.apache.axis.wsdl.wsdl2ws.info.MethodInfo.addParameter()
org.apache.axis2.description.AxisModule.addParameter()
@param param
org.apache.axis2.description.AxisOperation.addParameter()
Method addParameter.
@param param Parameter that is added
org.apache.axis2.description.AxisService.addParameter()
Method addParameter.
@param param
org.apache.axis2.description.AxisServiceGroup.addParameter()
org.apache.axis2.description.InOutAxisOperation.addParameter()
@param param
org.apache.axis2.description.ModuleConfiguration.addParameter()
org.apache.axis2.description.ModuleDescription.addParameter()
@param param
org.apache.axis2.description.OperationDescription.addParameter()
Method addParameter
@param param Parameter that will be added
org.apache.axis2.description.ServiceDescription.addParameter()
Method addParameter
@param param
org.apache.axis2.description.TransportInDescription.addParameter()
Method addParameter.
@param param
org.apache.axis2.description.TransportOutDescription.addParameter()
Method addParameter.
@param param
org.apache.axis2.engine.AxisConfiguration.addParameter()
Method addParameter.
@param param
org.apache.axis2.engine.AxisObserver.addParameter()
org.apache.axis2.transport.base.endpoint.URLEndpoint.addParameter()
org.apache.beehive.netui.util.config.bean.CommandConfig.addParameter()
org.apache.bval.model.MetaConstructor.addParameter()
org.apache.bval.model.MetaMethod.addParameter()
org.apache.cactus.WebRequest.addParameter()
Adds a parameter to the request. It is possible to add several times the the same parameter name (the same as for the HttpServletRequest
).
@param theName the parameter's name
@param theValue the parameter's value
org.apache.cactus.internal.WebRequestImpl.addParameter()
org.apache.catalina.Context.addParameter()
Add a new context initialization parameter, replacing any existing value for the specified name.
@param name Name of the new parameter
@param value Value of the new parameter
org.apache.catalina.authenticator.SavedRequest.addParameter()
org.apache.catalina.core.StandardContext.addParameter()
Add a new context initialization parameter.
@param name Name of the new parameter
@param value Value of the new parameter
@exception IllegalArgumentException if the name or value is missing,or if this context initialization parameter has already been registered
org.apache.catalina.deploy.ResourceParams.addParameter()
org.apache.cayenne.query.ProcedureQuery.addParameter()
Adds a named parameter to the internal map of parameters.
@since 1.1
org.apache.chemistry.opencmis.commons.impl.UrlBuilder.addParameter()
Adds a parameter to the URL.
@param name parameter name
@param value parameter value
org.apache.cocoon.environment.mock.MockRequest.addParameter()
org.apache.cocoon.pipeline.caching.ParameterCacheKey.addParameter()
org.apache.cocoon.util.CocoonServletRequest.addParameter()
org.apache.commons.httpclient.methods.MultipartPostMethod.addParameter()
Adds a text field part
@param parameterName The name of the parameter.
@param parameterValue The value of the parameter.
org.apache.commons.httpclient.methods.PostMethod.addParameter()
Add a new parameter to be used in the POST request body.
@param paramName The parameter name to add.
@param paramValue The parameter value to add.
@throws IllegalArgumentException if either argument is null
@since 1.0
org.apache.commons.modeler.ConstructorInfo.addParameter()
Add a new parameter to the set of parameters for this constructor.
@param parameter The new parameter descriptor
org.apache.commons.modeler.OperationInfo.addParameter()
Add a new parameter to the set of arguments for this operation.
@param parameter The new parameter descriptor
org.apache.cxf.tools.common.model.JavaMethod.addParameter()
org.apache.cxf.tools.corba.common.idltypes.IdlOperation.addParameter()
org.apache.ddlutils.platform.CreationParameters.addParameter()
Adds a parameter.
@param table The table; if null
then the parameter is for all tables
@param paramName The name of the parameter
@param paramValue The value of the parameter
org.apache.directory.api.ldap.extras.extended.StoredProcedureRequestImpl.addParameter()
org.apache.directory.api.ldap.extras.extended.storedProcedure.StoredProcedureRequestImpl.addParameter()
org.apache.directory.shared.ldap.extras.extended.StoredProcedureRequest.addParameter()
Adds the parameter.
@param type the type
@param value the value
org.apache.directory.shared.ldap.extras.extended.StoredProcedureRequestImpl.addParameter()
org.apache.empire.struts2.jsp.components.AnchorComponent.addParameter()
org.apache.fop.events.model.EventMethodModel.addParameter()
Adds a method parameter.
@param param the method parameter
org.apache.giraph.io.formats.multi.EdgeInputFormatDescription.addParameter()
org.apache.giraph.io.formats.multi.VertexInputFormatDescription.addParameter()
org.apache.http.client.utils.URIBuilder.addParameter()
org.apache.jetspeed.om.profile.Entry.addParameter()
org.apache.jetspeed.om.profile.Layout.addParameter()
org.apache.jetspeed.om.registry.PortletEntry.addParameter()
org.apache.jetspeed.om.registry.PortletInfoEntry.addParameter()
Adds a new parameter for this entry
@param name the new parameter name
@param value the new parameter value
org.apache.jetspeed.om.registry.base.BasePortletEntry.addParameter()
org.apache.jmeter.testelement.TestPlan.addParameter()
org.apache.maven.plugin.descriptor.MojoDescriptor.addParameter()
@param parameter add a new parameter
@throws DuplicateParameterException if any
org.apache.maven.tools.plugin.ExtendedMojoDescriptor.addParameter()
org.apache.muse.tools.generator.util.ConfigurationData.addParameter()
org.apache.muse.ws.addressing.EndpointReference.addParameter()
Adds the given Element to the collection of reference parameters. The object will make a deep copy of the Element.
@param parameter
org.apache.myfaces.flow.FlowCallNodeImpl.addParameter()
org.apache.myfaces.flow.MethodCallNodeImpl.addParameter()
org.apache.myfaces.portlet.faces.util.QueryString.addParameter()
org.apache.pluto.driver.url.PortalURL.addParameter()
org.apache.pluto.driver.url.impl.RelativePortalURLImpl.addParameter()
org.apache.rahas.client.STSClient.addParameter()
org.apache.shale.test.mock.MockHttpServletRequest.addParameter()
Add a request parameter for this request.
@param name Parameter name
@param value Parameter value
org.apache.slide.common.SlideToken.addParameter()
Add a new parameter to the parameter list.
@param parameterName Parameter to add
@param parameterValue Parameter value
org.apache.slide.common.SlideTokenImpl.addParameter()
Add a new parameter to the parameter list.
@param parameterName Parameter to add
@param parameterValue Parameter value
org.apache.struts.action.ActionRedirect.addParameter()
Adds the object's toString() to the list of parameters if it's not null, or an empty string with the given fieldName if it is.
@param fieldName the name to use for the parameter
@param valueObj the value for this parameter
@return The ActionRedirect instance this method is called on
org.apache.struts2.components.ActionComponent.addParameter()
Adds a request parameter to be added to the redirect url
@param key The parameter name
@param value The parameter value
org.apache.struts2.components.Component.addParameter()
Adds the given key and value to this component's own parameter.
If the provided key is
null nothing happens. If the provided value is
null any existing parameter with the given key name is removed.
@param key the key of the new parameter to add.
@param value the value assoicated with the key.
org.apache.struts2.components.Include.addParameter()
org.apache.struts2.dispatcher.ServletRedirectResult.addParameter()
Adds a request parameter to be added to the redirect url
@param key The parameter name
@param value The parameter value
org.apache.synapse.commons.datasource.DataSourceInformation.addParameter()
org.apache.synapse.core.axis2.ProxyService.addParameter()
org.apache.synapse.endpoints.Template.addParameter()
org.apache.synapse.endpoints.TemplateEndpoint.addParameter()
org.apache.synapse.mediators.db.Statement.addParameter()
org.apache.tapestry.Link.addParameter()
Adds a parameter value. The value will be added, as is, to the URL. In many cases, the value should be URL encoded via {@link URLCodec}.
@param parameterName the name of the parameter to store
@param value the value to store
@throws IllegalArgumentException if the link already has a parameter with the given name
org.apache.tapestry.contrib.jdbc.StatementAssembly.addParameter()
Adds a date value to a {@link StatementAssembly} convertingit to a {@link java.sql.Timestamp} first.
org.apache.tapestry.internal.util.MethodInvocationBuilder.addParameter()
Maps a parameter type to a {@link ParameterBuilder}.
org.apache.tapestry.model.MutableComponentModel.addParameter()
Adds a new formal parameter to the model. Each parameter has a unique name (though access to parameters is case insensitive).
@param name new, unique name for the parameter
@param required if true, the parameter must be bound
@param defaultBindingPrefix the default binding prefix for this parameter
@throws IllegalArgumentException if a parameter with the given name has already been defined for this model
@see Parameter
org.apache.tapestry.model.MutableEmbeddedComponentModel.addParameter()
org.apache.tapestry.spec.ComponentSpecification.addParameter()
Adds the parameter. The name is added as a reserved name.
@throws IllegalArgumentException if the name already exists.
org.apache.tapestry.spec.IComponentSpecification.addParameter()
Adds the parameter. The name is added as a reserved name.
@throws IllegalArgumentException if the name already exists.
org.apache.tapestry.upload.services.ParametersServletRequestWrapper.addParameter()
org.apache.tapestry5.Link.addParameter()
Adds a parameter value. The value will be added, as is, to the URL. In many cases, the value should be URL encoded via {@link URLCodec}.
@param parameterName the name of the parameter to store
@param value the value to store, a null or blank value is allowed (as of Tapestry 5.3)
@throws IllegalArgumentException if the link already has a parameter with the given name
org.apache.tapestry5.model.MutableComponentModel.addParameter()
Adds a new formal parameter to the model. Each parameter has a unique name (though access to parameters is case insensitive).
@param name new, unique name for the parameter
@param required if true, the parameter must be bound
@param allowNull if true, then parameter may be bound to null, if false a null check will be added
@param defaultBindingPrefix the default binding prefix for this parameter @throws IllegalArgumentException if aparameter with the given name has already been defined for this model
@see Parameter
org.apache.tapestry5.model.MutableEmbeddedComponentModel.addParameter()
org.apache.tomcat.util.http.Parameters.addParameter()
org.apache.tomcat.util.modeler.OperationInfo.addParameter()
Add a new parameter to the set of arguments for this operation.
@param parameter The new parameter descriptor
org.apache.tuscany.das.rdb.Command.addParameter()
Adds a Parameter to the command
@param index the index of the parameter
@param sdoType the commonj.sdo.Type of the Parameter
org.apache.tuscany.das.rdb.impl.DeleteCommandImpl.addParameter()
org.apache.tuscany.das.rdb.impl.InsertCommandImpl.addParameter()
org.apache.tuscany.das.rdb.impl.OptimisticWriteCommandImpl.addParameter()
org.apache.tuscany.das.rdb.impl.UpdateCommandImpl.addParameter()
org.apache.uima.internal.util.CommandLineParser.addParameter()
Add a new parameter name.
@param paramName The name of the parameter.
@param hasArg If the command line argument following this parameter should be interpreted as an argument to the parameter.
@return false
iff paramName
already exists.
org.apache.wicket.protocol.http.mock.MockHttpServletRequest.addParameter()
@param name
@param value
org.apache.ws.util.jndi.tools.ResourceParameters.addParameter()
DOCUMENT_ME
@param name DOCUMENT_ME
@param value DOCUMENT_ME
org.apache.xalan.xsltc.Translet.addParameter()
org.apache.xalan.xsltc.runtime.AbstractTranslet.addParameter()
Add a new global parameter if not already in the current frame.
org.apache.yoko.tools.common.idltypes.IdlOperation.addParameter()
org.cast.cwm.components.DeployJava.addParameter()
org.cfeclipse.cfml.dialogs.objects.Category.addParameter()
org.cfeclipse.cfml.dictionary.Function.addParameter()
Function needs to override because param order is important (makes parameters a LinkedHashSet)
org.cishell.reference.gui.workflow.model.AlgorithmWorkflowItem.addParameter()
org.codehaus.aspectwerkz.extension.persistence.definition.PersistenceManagerDefinition.addParameter()
org.displaytag.util.Href.addParameter()
Adds a parameter to the href.
@param name String
@param value Object
@return this Href instance, useful for concatenation.
org.drools.compiler.lang.descr.FunctionDescr.addParameter()
org.drools.compiler.lang.descr.QueryDescr.addParameter()
org.drools.decisiontable.model.Rule.addParameter()
org.drools.guvnor.models.commons.shared.workitems.PortableWorkDefinition.addParameter()
org.drools.ide.common.shared.workitems.PortableWorkDefinition.addParameter()
org.drools.lang.descr.FunctionDescr.addParameter()
org.drools.lang.descr.QueryDescr.addParameter()
org.drools.workbench.models.commons.shared.workitems.PortableWorkDefinition.addParameter()
org.drools.workbench.models.datamodel.workitems.PortableWorkDefinition.addParameter()
org.eclipse.ecf.internal.bulletinboard.commons.webapp.GetRequest.addParameter()
org.eclipse.ecf.internal.bulletinboard.commons.webapp.PostRequest.addParameter()
org.eclipse.ecf.internal.bulletinboard.commons.webapp.WebRequest.addParameter()
org.eclipse.persistence.internal.jpa.metadata.accessors.objects.MetadataMethod.addParameter()
INTERNAL:
org.elegant.aash.comparator.parsing.expr.FunctionCallExpression.addParameter()
org.exist.http.urlrewrite.XQueryURLRewrite.RequestWrapper.addParameter()
org.exist.scheduler.JobConfig.addParameter()
org.exolab.castor.persist.spi.QueryExpression.addParameter()
Add a query paramater.
@param tableName The table name
@param columnName The column name
@param condOp The conditional operation
org.exolab.javasource.JConstructor.addParameter()
Adds the given parameter to this JConstructor's list of parameters.
@param parameter The parameter to add to the this JConstructor's list ofparameters.
org.exolab.javasource.JMethod.addParameter()
Adds the given parameter to this JMethod's list of parameters.
@param parameter The parameter to add to the this JMethod's list ofparameters.
org.exoplatform.container.xml.InitParams.addParameter()
org.exoplatform.management.spi.ManagedMethodMetaData.addParameter()
org.exoplatform.services.jcr.config.QueryHandlerEntry.addParameter()
org.freerealm.executor.CommandResult.addParameter()
org.geomajas.plugin.printing.client.util.UrlBuilder.addParameter()
Add a parameter.
@param name name of param
@param value value of param
@return this to allow concatenation
org.geotools.jdbc.VirtualTable.addParameter()
Adds a parameter to the virtual table
@param param
org.glite.ce.creamapi.cmdmanagement.Command.addParameter()
org.gradle.build.docs.dsl.source.model.MethodMetaData.addParameter()
org.gudy.azureus2.core3.config.impl.ConfigurationDefaults.addParameter()
org.hdiv.state.IState.addParameter()
Adds a new parameter to the state this
. If it is a required parameter parameter
, it is also added to the required parameters.
@param parameter The parameter
org.hdiv.state.State.addParameter()
org.hibernate.search.filter.StandardFilterKey.addParameter()
org.intellij.erlang.jps.execution.GeneralCommandLine.addParameter()
org.jasig.portal.ChannelDefinition.addParameter()
Adds a parameter to this channel definition
@param parameter the channel parameter to add
org.jasig.portal.channel.IChannelDefinition.addParameter()
Adds a parameter to this channel definition
@param parameter the channel parameter to add
org.jasig.portal.layout.LayoutStructure.addParameter()
Add a parameter to this LayoutStructure.
@param paramName the name of the parameter
@param paramValue the value of the parameter
org.jasig.portal.portlet.om.IPortletDefinition.addParameter()
Adds a parameter to this channel definition
@param parameter the channel parameter to add
org.jasig.portal.url.IPortalUrlBuilder.addParameter()
org.jasig.portal.url.IPortletUrlBuilder.addParameter()
org.jboss.aesh.cl.ParserBuilder.addParameter()
org.jboss.forge.scaffold.plugins.meta.model.TMethod.addParameter()
org.jboss.portletbridge.context.PortalActionURL.addParameter()
org.jboss.seam.mock.EnhancedMockHttpServletRequest.addParameter()
Add a single value for the specified HTTP parameter.
If there are already one or more values registered for the given parameter name, the given value will be added to the end of the list.
org.jboss.seam.ui.util.UrlBuilder.addParameter()
org.jboss.seam.ui.util.ViewUrlBuilder.addParameter()
org.jboss.ws.core.jaxrpc.client.CallImpl.addParameter()
Adds a parameter type and mode for a specific operation.
org.jboss.ws.metadata.umdm.OperationMetaData.addParameter()
org.jtalks.jcommune.web.util.MutableHttpRequest.addParameter()
Adds another parameters to the request, overrides if there was such a parameter.
org.molgenis.framework.ui.FreemarkerView.addParameter()
org.mybatis.generator.api.dom.java.Method.addParameter()
org.myphotodiary.json.JsonObject.addParameter()
org.nijhazer.bazaarvoice.core.request.BVRequest.addParameter()
org.objectweb.celtix.tools.common.model.JavaMethod.addParameter()
org.ocpsoft.rewrite.servlet.util.QueryStringBuilder.addParameter()
Add a single parameter with the given values.
org.ogce.gfac.context.impl.ParameterContextImpl.addParameter()
org.openengsb.core.api.model.QueryRequest.addParameter()
Adds a parameter to this request.
org.pentaho.cdf.util.CdfHttpServletRequestWrapper.addParameter()
org.pentaho.reporting.designer.core.editor.drilldown.model.ParameterGroup.addParameter()
org.picketlink.identity.federation.core.saml.v2.impl.DefaultSAML2HandlerConfig.addParameter()
Add a parameter
@param parameterName
@param value
org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2HandlerConfig.addParameter()
Add a parameter
@param parameterName
@param value
org.picketlink.test.identity.federation.web.mock.MockHttpServletRequest.addParameter()
org.renjin.gcc.jimple.JimpleMethodBuilder.addParameter()
org.richfaces.javascript.JSFunction.addParameter()
org.s3b.search.query.QueryObject.addParameter()
Adds new parameter to the QueryObject.
NOTE: if instantAdd is true then qp is added directly to the parameter list
else it is stored in temporary collection.
Use QueryObject reload() to put it in the parameter list for use
Provided for ConcurentModificationException handling
@param qp QueryParameter Query parameter to add
@param instantAdd boolean indicates whether to add to actual parameter list or just to temp one
org.salamandra.web.core.property.Params.addParameter()
org.salamandra.web.core.transformer.Transformer.addParameter()
org.sbml.jsbml.KineticLaw.addParameter()
Adds a copy of the given Parameter object to the list of local parameters in this KineticLaw.
@param p
@return {@code true} if the {@link #listOfLocalParameters} waschanged as a result of this call.
@deprecated use {@link #addLocalParameter(LocalParameter)}.
org.sbml.jsbml.Model.addParameter()
Adds a Parameter instance to the listOfParameters of this Model.
@param parameter
@return {@code true} if the {@link #listOfParameters} was changed as aresult of this call.
org.springframework.batch.core.JobParametersBuilder.addParameter()
Add a new {@link JobParameter} for the given key.
@param key - parameter accessor
@param jobParameter - runtime parameter
@return a reference to this object.
org.springframework.mock.web.MockHttpServletRequest.addParameter()
Add a single value for the specified HTTP parameter.
If there are already one or more values registered for the given parameter name, the given value will be added to the end of the list.
org.springframework.mock.web.portlet.MockActionRequest.addParameter()
org.springframework.mock.web.portlet.MockPortletRequest.addParameter()
org.springframework.mock.web.portlet.MockRenderRequest.addParameter()
org.springframework.mock.web.test.MockHttpServletRequest.addParameter()
Add a single value for the specified HTTP parameter.
If there are already one or more values registered for the given parameter name, the given value will be added to the end of the list.
org.springframework.roo.classpath.details.MethodMetadataBuilder.addParameter()
org.springframework.social.support.HttpRequestDecorator.addParameter()
org.springframework.xd.shell.command.JobCommandTests.JobParametersHolder.addParameter()
org.sql2o.Query.addParameter()
org.switchyard.component.camel.common.model.AdditionalUriParametersModel.addParameter()
Adds a child parameter model.
@param parameter the child parameter model to add
@return this AdditionalUriParametersModel (useful for chaining)
org.switchyard.component.camel.common.model.v1.V1AdditionalUriParametersModel.addParameter()
{@inheritDoc}
org.testng.xml.XmlTest.addParameter()
org.tod.meta.steps.MethodCallStep.addParameter()
org.uberfire.mvp.PlaceRequest.addParameter()
org.uberfire.mvp.impl.DefaultPlaceRequest.addParameter()
org.uberfire.mvp.impl.PathPlaceRequest.addParameter()
org.w3c.www.mime.MimeType.addParameter()
adds a parameterto a MimeType
@param param the parameter name, as a String
@param value the parameter value, as a Sting
org.xrace.desjardins.reponse.Parameters.addParameter()
@param vParameter
@throws java.lang.IndexOutOfBoundsException if the indexgiven is outside the bounds of the collection
org.xrace.desjardins.request.Parameters.addParameter()
@param vParameter
@throws java.lang.IndexOutOfBoundsException if the indexgiven is outside the bounds of the collection
org.xrace.desjardins.trx.Parameters.addParameter()
@param vParameter
@throws java.lang.IndexOutOfBoundsException if the indexgiven is outside the bounds of the collection
prefuse.data.expression.Function.addParameter()
Add a parameter value sub-expression to this function.
@param e the parameter sub-expression
ucar.nc2.dataset.CoordinateTransform.addParameter()
add a parameter
@param param add this Parameter
ucar.nc2.dataset.VerticalCT.addParameter()
Add a Parameter to a CoordinateTransform. Make sure that the variable exists. If readData is true, read the data and use it as the value of the parameter, otherwise use the variable name as the value of the parameter.
@param rs the CoordinateTransform
@param paramName the parameter name
@param ds dataset
@param varNameEscaped escaped variable name
@return true if success, false is failed
ve.net.dcs.sc.component.Request.addParameter()
Add a parameter
@param key Parameter name
@param parameter Parameter value
waffle.apache.catalina.SimpleHttpRequest.addParameter()
| //adding original parameter definitions manually
if (dr.isTemplateImportParameters()){
for (Iterator iter = jd.getParametersList().iterator(); iter.hasNext();) {
JRParameter element = (JRParameter) iter.next();
try {
djd.addParameter(element);
} catch (JRException e) {
if (log.isDebugEnabled()){
log.warn(e.getMessage());
}
}
|
|
RestResourceSearchParam param;
if (query == null) {
param = resource.addSearchParam();
} else {
param = query.addParameter();
param.addUndeclaredExtension(false, ExtensionConstants.PARAM_IS_REQUIRED, new BooleanDt(nextParameter.isRequired()));
}
param.setName(nextParamName);
if (StringUtils.isNotBlank(chain)) {
|
| String targetCategory = regressionTable.getTargetCategory();
if( targetCategory != null )
generalRegressionTable.setTargetCategory( targetCategory );
generalRegressionTable.addParameter( new Parameter( "intercept", regressionTable.getIntercept() ) );
int count = 0;
for( CategoricalPredictor predictor : regressionTable.getCategoricalPredictors() )
{
|
| NodeList lines = parser.executeXPathNodeList(elt, "methods/method/lines/line");
for (int i = 0; i < lines.getLength(); i++) {
Element line = (Element) lines.item(i);
double hits = Double.parseDouble(line.getAttribute("hits"));
if (hits > 0) {
measure.addParameter("line-hit", Double.parseDouble(line.getAttribute("number")), hits);
}
}
return measure;
}
|
|
File file = getFilesRepository().getFile(violation.getAttribute("package"), filename);
failure.setFile(file);
String line = violation.getAttribute("line");
if (line != null && !"".equals(line)) {
failure.addParameter("line", Double.valueOf(line));
}
failure.setMessage(violation.getFirstChild().getNodeValue());
int priority = Integer.parseInt(violation.getAttribute("priority"));
if (priority <= 2) {
failure.setLevel(RuleFailureLevel.ERROR);
|
| String param;
while (tokens.hasMoreTokens()) {
param = SessionInfoReplacer.replace(requestProcessor.getLaunchSession().getSession(), tokens.nextToken().trim());
idx = param.indexOf('=');
if (idx > -1 && idx < param.length()-1) {
method.addParameter(param.substring(0, idx), param.substring(idx + 1));
} else
method.addParameter(param, "");
}
launchSession.setAttribute(LAUNCH_ATTR_AUTH_POSTED, Boolean.TRUE);
|
|
final FunctionAsDocNode functionDoc = AsDocUtils.computeFunctionDoc( "/** description \n * description2\n @see mx.kjnerkjlef.btbt*/" );
final ParameterAsDocNode parameter = AsDocUtils.computeParameterDoc( "name",
"description" );
functionDoc.addParameter( parameter );
assertEquals( parameter,
functionDoc.getParameter( 0 ) );
assertEquals( "name",
|
| } while (!(tag instanceof URLTag));
parentTag = (URLTag) tag;
} catch (RuntimeException e) {
throw new JspException("Error nesting parameter in url tag.", e);
}
parentTag.addParameter(this.getName(), value);
return EVAL_PAGE;
}
}
|
| final AHttpRequestDetails details = analyzer.analyze((HttpServletRequest) servletRequest);
final ASimpleMeasurement measurement = getSysMon().start(details.getIdentifier());
try {
for(Map.Entry<String, String> entry: details.getParameters().entrySet()) {
measurement.addParameter(entry.getKey(), entry.getValue());
}
filterChain.doFilter(servletRequest, servletResponse);
}
finally {
|
| trim_character.setParent(methodExpr);
methodExpr.putAttribute("trim_character", trim_character);
if (lexer.token() == Token.FROM) {
lexer.nextToken();
SQLExpr trim_source = this.expr();
methodExpr.addParameter(trim_source);
}
accept(Token.RPAREN);
return primaryRest(methodExpr);
}
|
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.