Returns the boost for the node scope fulltext index field.

@param state
the node state.
@return the boost for the node scope fulltext index field.
19345
public float getNodeBoost(NodeData state)
   {
      IndexingRule rule = getApplicableIndexingRule(state);
      if (rule != null)
      {
         return rule.getNodeBoost();
      }
      return DEFAULT_BOOST;
   }
808042
public boolean getState()
    {
        boolean bReturnValue;
        if (m_strTargetValue != null)
        {
            if (m_boolMaskValue.booleanValue())
                bReturnValue = (this.getString().indexOf(m_strTargetValue) != -1); // Is the target value in the field string
            else
                bReturnValue = m_strTargetValue.equals(this.toString()); // Is the target value in the field string
        }
        else if (m_fldTargetValue != null)
            bReturnValue = this.equals(m_fldTargetValue); // Is the target value in the field string
        else
            bReturnValue = this.getField().isNull(); // Is the field string null?
        if (m_bTrueIfMatch)
            return bReturnValue;
        else
            return !bReturnValue;
    }
1262023
public int getFieldIndex(String name) {
		Integer val = this.nameToIndex.get(name);
		if (val == null) {
			return -1;
		}
		return val;
	}
926889
def getStateIndex(self,state):
        
        statecodes = self.getStateCode(state)
        return np.searchsorted(self.codes,statecodes).astype(int)
165219
public BinderConfiguration getViewStateBinderConfiguration(final ViewState state) {
        val field = ReflectionUtils.findField(state.getViewFactory().getClass(), "binderConfiguration");
        ReflectionUtils.makeAccessible(field);
        return (BinderConfiguration) ReflectionUtils.getField(field, state.getViewFactory());
    }
917044
protected static <I, D> void link(AbstractBaseDTNode<I, D> dtNode, TTTState<I, D> state) {
        assert dtNode.isLeaf();

        dtNode.setData(state);
        state.dtLeaf = dtNode;
    }
1374656
@Override
    public XValue call(Scope scope) {
        NodeTest textFun = Scanner.findNodeTestByName("allText");
        XValue textVal = textFun.call(scope);
        String whole = StringUtils.join(textVal.asList(),"");
        Matcher matcher = numExt.matcher(whole);
        if (matcher.find()){
            String numStr = matcher.group();
            BigDecimal num = new BigDecimal(numStr);
            return XValue.create(num.doubleValue());
        }else {
            return XValue.create(null);
        }
    }
457598
private CmsUUID getResourceIdFromState(String state) {

        CmsUUID result = null;
        String id = A_CmsWorkplaceApp.getParamFromState(state, RESOURCE_ID_PREFIX);
        if (CmsUUID.isValidUUID(id)) {
            result = new CmsUUID(id);
        }

        return result;
    }
678497
public static String getViewStateId(FacesContext context) {
		String result = null;
		final String viewStateCounterKey = "com.sun.faces.util.ViewStateCounterKey";
		Map<Object, Object> contextAttrs = context.getAttributes();
		Integer counter = (Integer) contextAttrs.get(viewStateCounterKey);
		if (null == counter) {
			counter = Integer.valueOf(0);
		}

		char sep = UINamingContainer.getSeparatorChar(context);
		UIViewRoot root = context.getViewRoot();
		result = root.getContainerClientId(context) + sep + ResponseStateManager.VIEW_STATE_PARAM + sep + +counter;
		contextAttrs.put(viewStateCounterKey, ++counter);

		return result;
	}
238071
function() {
			return {
				textNode: this.textNode,
				offset: this.offset,
				character: this.textNode ? this.textNode.getText().charAt( this.offset ) : null,
				hitMatchBoundary: this._.matchBoundary
			};
		}
146055
function(state) {
	   if(state == inputEx.stateInvalid && this.options.minLength && this.el.value.length < this.options.minLength) {
	      return inputEx.messages.stringTooShort[0]+this.options.minLength+inputEx.messages.stringTooShort[1];
      }
	   return inputEx.StringField.superclass.getStateString.call(this, state);
	}
1233526
protected String getRelayState(ProfileRequestContext<?, ?> context) {
    SAMLBindingContext samlBinding = this.samlBindingContextLookupStrategy.apply(context);
    return samlBinding != null ? samlBinding.getRelayState() : null;
  }
1335056
function(state) {
      var includes = state.parent ? extend({}, state.parent.includes) : {};
      includes[state.name] = true;
      return includes;
    }
537519
function Scope(node, parent, scope, state) {
    // check if this scope has a local binding that will shadow the rest parameter
    if (!scope.bindingIdentifierEquals(state.name, state.outerBinding)) {
      this.skip();
    }
  }
1370333
private CommonControlState getControlType(Which state) {
        switch (state) {

        case ICON_DISABLED:
            return CommonControlState.DISABLED;

        case ICON_ENABLED:
        case ICON_FOCUSED:
            return CommonControlState.ENABLED;

        case ICON_PRESSED:
        case ICON_PRESSED_FOCUSED:
            return CommonControlState.PRESSED;

        case ICON_SELECTED:
        case ICON_SELECTED_FOCUSED:
            return CommonControlState.SELECTED;

        case ICON_PRESSED_SELECTED:
        case ICON_PRESSED_SELECTED_FOCUSED:
            return CommonControlState.PRESSED_SELECTED;

        case ICON_DISABLED_SELECTED:
            return CommonControlState.DISABLED_SELECTED;
        }

        return null;
    }
305332
public static String getStateKey(CmsResourceState state) {

        StringBuffer sb = new StringBuffer(GUI_STATE_PREFIX);
        sb.append(state.getState());
        sb.append(GUI_STATE_POSTFIX);
        return sb.toString();
    }
229915
private State getNextState(State state) {

        State nextState = null;
        switch (state) {
            case off:
                nextState = State.on;
                break;
            case on:
                nextState = State.off;
                break;
            case middle:
            default:
                nextState = m_nextStateAfterMiddle;
        }
        return nextState;
    }