OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.base
Class AdfStrings

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfStrings

public class AdfStrings
extends Object
Holder of commonly used string constants



Field Summary

public static Object
CLOSE_CURLY_BRACKET
public static Object
COMMA
private static Object
_CONSTANT_REGEXP
public static Object
EQUALS
private static Object
_REPLACE_PATTERN
public static Object
START_CURLY_BRACKET


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfStrings()
Holder of commonly used string constants


Method Summary

public static Number
count(String searchString, Object matchString)
Returns the number of non-overlapping times that matchString occurs in the searchString.
public static Object
createConstantName(Object inString)
Given a String, returns a new String in the constant style with the String in uppercase and camel-cased words separated by underscores.
public static Object
initUpperCase(Object inString)
Return a String with initial upper cases


Field Detail


CLOSE_CURLY_BRACKET

public static Object CLOSE_CURLY_BRACKET

COMMA

public static Object COMMA

_CONSTANT_REGEXP

private static Object _CONSTANT_REGEXP

EQUALS

public static Object EQUALS

_REPLACE_PATTERN

private static Object _REPLACE_PATTERN

START_CURLY_BRACKET

public static Object START_CURLY_BRACKET

Constructor Detail


AdfStrings

public AdfStrings()

Holder of commonly used string constants

Method Detail


count

public static Number count(String searchString,
                           Object matchString)

Returns the number of non-overlapping times that matchString occurs in the searchString.

Parameters:
searchString  -  String to search for matches
matchString    
Return:
Number - number of non-overlapping matches

createConstantName

public static Object createConstantName(Object inString)

Given a String, returns a new String in the constant style with the String in uppercase and camel-cased words separated by underscores. For example mouseMove becomes MOUSE_MOVE.

Parameters:
inString    
Return:
Object

initUpperCase

public static Object initUpperCase(Object inString)

Return a String with initial upper cases

Parameters:
inString    
Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2013.01.09 16:37 UTC
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.