Package com.ibm.wsspi.anno.util
Interface Util_InternMap
- 
 public interface Util_InternMap
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classUtil_InternMap.ValueType
 - 
Field SummaryFields Modifier and Type Field Description static booleanDO_FORCEstatic booleanDO_NOT_FORCE
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(java.lang.String name)Util_FactorygetFactory()java.lang.StringgetHashText()intgetLogThreshHold()java.lang.StringgetName()intgetSize()intgetTotalLength()java.util.Collection<java.lang.String>getValues()Util_InternMap.ValueTypegetValueType()java.lang.Stringintern(java.lang.String name)java.lang.Stringintern(java.lang.String name, boolean doForce)voidlog(com.ibm.websphere.ras.TraceComponent tc)voidlogState()java.lang.Stringvalidate(java.lang.String value, Util_InternMap.ValueType valueType)Check the input value for syntax errors based on the type of value.
 
- 
- 
- 
Field Detail- 
DO_FORCEstatic final boolean DO_FORCE - See Also:
- Constant Field Values
 
 - 
DO_NOT_FORCEstatic final boolean DO_NOT_FORCE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getHashTextjava.lang.String getHashText() 
 - 
getLogThreshHoldint getLogThreshHold() 
 - 
logStatevoid logState() 
 - 
logvoid log(com.ibm.websphere.ras.TraceComponent tc) 
 - 
getFactoryUtil_Factory getFactory() 
 - 
getNamejava.lang.String getName() 
 - 
validatejava.lang.String validate(java.lang.String value, Util_InternMap.ValueType valueType)Check the input value for syntax errors based on the type of value.The validate method will return a message key as the string if a validation error is found. The message key should exist in the NLS resource bundle used by the caller. The message key can then be passed to com.ibm.websphere.ras.Tr along with any substitution parameters for display in the log file. - Parameters:
- value- a String that contains the value to be validated
- valueType- a ValueType that identifies the type of 'value'
- Returns:
- String if 'value' contains an error, return the message key to the corresponding error message from the resource bundle, else return 'null'.
 
 - 
getValueTypeUtil_InternMap.ValueType getValueType() 
 - 
getValuesjava.util.Collection<java.lang.String> getValues() 
 - 
getSizeint getSize() 
 - 
getTotalLengthint getTotalLength() 
 - 
containsboolean contains(java.lang.String name) 
 - 
internjava.lang.String intern(java.lang.String name) 
 - 
internjava.lang.String intern(java.lang.String name, boolean doForce)
 
- 
 
-