com.ibm.wsspi.anno.util
Interface Util_InternMap
- public interface Util_InternMap
Nested Class Summary
Modifier and Type | Interface and Description |
---|---|
|
Util_InternMap.ValueType
|
Field Summary
Modifier and Type | Field and Description |
---|---|
|
DO_FORCE
|
|
DO_NOT_FORCE
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
contains(java.lang.String name)
|
getFactory()
|
|
|
getHashText()
|
|
getLogThreshHold()
|
|
getName()
|
|
getSize()
|
|
getTotalLength()
|
|
getValues()
|
getValueType()
|
|
|
intern(java.lang.String name)
|
|
intern(java.lang.String name,boolean doForce)
|
|
log(TraceComponent tc)
|
|
logState()
|
|
validate(java.lang.String value,Util_InternMap.ValueType valueType)
Check the input value for syntax errors based on the type of value.
|
Field Detail
DO_FORCE
- static final boolean DO_FORCE
See Also:
DO_NOT_FORCE
- static final boolean DO_NOT_FORCE
See Also:
Method Detail
getHashText
- java.lang.String getHashText()
getLogThreshHold
- int getLogThreshHold()
logState
- void logState()
log
- void log(TraceComponent tc)
getFactory
- Util_Factory getFactory()
getName
- java.lang.String getName()
validate
- java.lang.String validate(java.lang.String value,
- Util_InternMap.ValueType valueType)
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'.
getValueType
- Util_InternMap.ValueType getValueType( )
getValues
- java.util.Collection<java.lang.String> getValues( )
getSize
- int getSize()
getTotalLength
- int getTotalLength()
contains
- boolean contains(java.lang.String name)
intern
- java.lang.String intern(java.lang.String name)
intern
- java.lang.String intern(java.lang.String name,
- boolean doForce)
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.