Returns all parameters of the current workplace class
as hidden field tags that can be inserted in a form.<p>

@return all parameters of the current workplace class
as hidden field tags that can be inserted in a html form
19168
@Override
    public String allParamsAsHidden() {

        StringBuffer result = new StringBuffer(512);
        Map<String, Object> params = allParamValues();
        Iterator<Entry<String, Object>> i = params.entrySet().iterator();
        while (i.hasNext()) {
            Entry<String, Object> entry = i.next();
            result.append("<input type=\"hidden\" name=\"");
            result.append(entry.getKey());
            result.append("\" value=\"");
            String encoded = CmsEncoder.escapeXml(entry.getValue().toString());
            result.append(encoded);
            result.append("\">\n");
        }
        return result.toString();
    }
689542
private List<I_CmsSearchFieldMapping> getMappings() {

        CmsSearchManager manager = OpenCms.getSearchManager();
        I_CmsSearchFieldConfiguration fieldConfig = manager.getFieldConfiguration(getParamFieldconfiguration());
        CmsLuceneField field;
        List<I_CmsSearchFieldMapping> result = null;
        Iterator<CmsSearchField> itFields;
        if (fieldConfig != null) {
            itFields = fieldConfig.getFields().iterator();
            while (itFields.hasNext()) {
                field = (CmsLuceneField)itFields.next();
                if (field.getName().equals(getParamField())) {
                    result = field.getMappings();
                }
            }
        } else {
            result = Collections.emptyList();
            if (LOG.isErrorEnabled()) {
                LOG.error(
                    Messages.get().getBundle().key(
                        Messages.ERR_SEARCHINDEX_EDIT_MISSING_PARAM_1,
                        A_CmsFieldConfigurationDialog.PARAM_FIELDCONFIGURATION));
            }
        }
        return result;
    }
1148071
public Map<String, String> getParameters() {

        if (m_functionBean == null) {
            return Collections.emptyMap();
        }
        Format format = m_functionBean.getMainFormat();
        CmsDynamicFunctionFormatWrapper wrapper = new CmsDynamicFunctionFormatWrapper(m_cms, format);
        return wrapper.getParameters();
    }
1357735
private Field[] getFields(final Class<?> currentClass) {
        final Field[] objectFields = AccessController.doPrivileged(new PrivilegedAction<Field[]>() {
            @Override
            public Field[] run() {
                try {
                    Field[] tempObjectFields = currentClass.getDeclaredFields();
                    if (tempObjectFields.length != 0) {
                        AccessibleObject.setAccessible(tempObjectFields, true);
                    }
                    return tempObjectFields;
                } catch (Throwable t) {
                    // Introspection of field failed
                    StringWriter sw = new StringWriter();
                    PrintWriter pw = new PrintWriter(sw);
                    t.printStackTrace(pw);
                    addNewChild("Failed to resolve fields for " + currentClass.getName(), sw.toString());
                }
                return new Field[0];
            }
        });
        return objectFields;
    }
776800
public java.util.List<ParameterMetadata> getParameters() {
        if (parameters == null) {
            parameters = new com.amazonaws.internal.SdkInternalList<ParameterMetadata>();
        }
        return parameters;
    }
319732
List<InputElement> getAllFields() {

        NodeList<Element> fields = getElement().getElementsByTagName(InputElement.TAG);
        List<InputElement> result = Lists.newArrayList();
        for (int i = 0; i < fields.getLength(); i++) {
            InputElement field = InputElement.as(fields.getItem(i));
            result.add(field);
        }
        return result;
    }
874043
public function generateHiddenFields()
    {
        $name = $this->generateFormName();
        $token = $this->generateToken($name);
        $html = '<input type="hidden" name="' . self::REQUEST_TOKEN_NAME . '" value="' . $name . '" />';
        $html .= '<input type="hidden" name="' . self::REQUEST_TOKEN_VALUE . '" value="' . $token . '" />';
        return $html;
    }
1357449
public String getTagName() {
        if (attribute.isHidden() && !attribute.isFile()) {
            return "hidden";
        } else if (attribute.isInFk() && attribute.hasXToOneRelation()) {
            return "select";
        } else if (attribute.isFile()) {
            return "file";
        } else if (attribute.isPassword()) {
            return "password";
        } else if (attribute.isString() && (attribute.getColumnConfig().getSize() > 256 || attribute.getColumnConfig().getSize() == -1)) {
            return "textarea";
        } else if (attribute.isBoolean()) {
            return "checkbox";
        } else {
            return "input";
        }
    }
612255
public TreeSet<HtmlParameter> getCookieParams() {
		TreeSet<HtmlParameter> set = new TreeSet<>();
		
		Vector<String> cookies = getHeaders(HttpHeader.SET_COOKIE);
    	if (cookies != null) {
    		Iterator<String> it = cookies.iterator();
    		while (it.hasNext()) {
				set.add(new HtmlParameter(it.next()));
			}
    	}
    	
    	Vector<String> cookies2 = getHeaders(HttpHeader.SET_COOKIE2);
    	if (cookies2 != null) {
    		Iterator<String> it = cookies2.iterator();
    		while (it.hasNext()) {
				set.add(new HtmlParameter(it.next()));
			}
    	}
    	return set;
	}
394555
public String getHtmlCode()
	{
		StringBuffer _buffer = new StringBuffer();

		Object[] _paramsStart =
		{
				getHtmlCodeForIdAttribute(), getHtmlCodeForNameAttribute()
		};
		_buffer.append(FORMAT__START.format(_paramsStart));

		for (RadioButton _radio : getOptions())
		{
			Object[] _paramsItem =
			{
					_radio.getHtmlCode()
			};
			_buffer.append(FORMAT__ITEM.format(_paramsItem));
		}

		Object[] _paramsEnd = {};
		_buffer.append(FORMAT__END.format(_paramsEnd));
		return _buffer.toString();
	}
1094080
public java.util.List<ParameterObject> getParameterObjects() {
        if (parameterObjects == null) {
            parameterObjects = new com.amazonaws.internal.SdkInternalList<ParameterObject>();
        }
        return parameterObjects;
    }
878168
public List<String> getParamNames() {
    if (!Strings.contains(content, ":")) { return Collections.emptyList(); }
    final List<String> params = new ArrayList<String>();
    int index = 0;
    do {
      final int colonIndex = content.indexOf(':', index);
      if (-1 == colonIndex) {
        break;
      }
      index = colonIndex + 1;
      while (index < content.length()) {
        final char c = content.charAt(index);
        if (isValidIdentifierStarter(c)) {
          index++;
        } else {
          break;
        }
      }
      final String paramName = content.substring(colonIndex + 1, index);
      if (!params.contains(paramName)) {
        params.add(paramName);
      }
    } while (index < content.length());
    return params;
  }
490533
public function getCMSFields() {
        $fields=new FieldList(
                            new TextField('Name', _t('SnippetLanguage.NAME', '_Name'), null, 100),
                            new TextField('FileExtension', _t('SnippetLanguage.FILE_EXTENSION', '_File Extension'), null, 45),
                            new CheckboxField('Hidden', _t('SnippetLanguage.HIDDEN', '_Hidden'))
                        );
        
        if($this->UserLanguage==false) {
            $fields->replaceField('Name', $fields->dataFieldByName('Name')->performReadonlyTransformation());
            $fields->replaceField('FileExtension', $fields->dataFieldByName('FileExtension')->performReadonlyTransformation());
        }
        
        return $fields;
    }
1206696
public TreeSet<HtmlParameter> getCookieParams() {
		TreeSet<HtmlParameter> set = new TreeSet<>();
		
	    if (! this.getRequestHeader().isEmpty()) {
	    	set.addAll(this.getRequestHeader().getCookieParams());
        }
	    if (! this.getResponseHeader().isEmpty()) {
	    	set.addAll(this.getResponseHeader().getCookieParams());
	    }

		return set;
	}
179817
protected CmsWorkflowActionParams getWorkflowActionParams() {

        if (m_publishSelectPanel.isShowResources()) {
            List<CmsUUID> resourcesToPublish = new ArrayList<CmsUUID>(m_publishSelectPanel.getResourcesToPublish());
            List<CmsUUID> resourcesToRemove = new ArrayList<CmsUUID>(m_publishSelectPanel.getResourcesToRemove());
            CmsWorkflowActionParams actionParams = new CmsWorkflowActionParams(resourcesToPublish, resourcesToRemove);
            return actionParams;
        } else {
            CmsPublishOptions options = getPublishOptions();
            CmsWorkflow workflow = getSelectedWorkflow();
            return new CmsWorkflowActionParams(new CmsPublishListToken(workflow, options));

        }
    }
142878
public List<String> getSpannedPosTags() {
    if (isTerminal()) {
      return posTags;
    } else {
      List<String> tags = Lists.newArrayList();
      tags.addAll(left.getSpannedPosTags());
      tags.addAll(right.getSpannedPosTags());
      return tags;
    }
  }
671619
public List<String> getTags() {
        return mBodyMap.containsKey(BoxItem.FIELD_TAGS) ?
                (List<String>) mBodyMap.get(BoxItem.FIELD_TAGS) :
                null;
    }