Package com.sun.corba.ee.impl.orb
Class PrefixParserAction
- java.lang.Object
-
- com.sun.corba.ee.impl.orb.ParserActionBase
-
- com.sun.corba.ee.impl.orb.PrefixParserAction
-
- All Implemented Interfaces:
ParserAction
public class PrefixParserAction extends ParserActionBase
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class
componentType
private static ORBUtilSystemException
wrapper
-
Constructor Summary
Constructors Constructor Description PrefixParserAction(java.lang.String propertyName, Operation operation, java.lang.String fieldName, java.lang.Class componentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
apply(java.util.Properties props)
For each String s that matches the prefix given by getPropertyName(), apply getOperation() to { suffix( s ), value } and add the result to an Object[] which forms the result of apply.-
Methods inherited from class com.sun.corba.ee.impl.orb.ParserActionBase
equals, getFieldName, getOperation, getPropertyName, hashCode, isPrefix
-
-
-
-
Field Detail
-
wrapper
private static final ORBUtilSystemException wrapper
-
componentType
private java.lang.Class componentType
-
-
Constructor Detail
-
PrefixParserAction
public PrefixParserAction(java.lang.String propertyName, Operation operation, java.lang.String fieldName, java.lang.Class componentType)
-
-
Method Detail
-
apply
public java.lang.Object apply(java.util.Properties props)
For each String s that matches the prefix given by getPropertyName(), apply getOperation() to { suffix( s ), value } and add the result to an Object[] which forms the result of apply. Returns null if there are no matches.- Specified by:
apply
in interfaceParserAction
- Specified by:
apply
in classParserActionBase
- Parameters:
props
- properties to apply action to- Returns:
- result of action
-
-