Package com.sun.corba.ee.impl.orb
Class ParserActionBase
java.lang.Object
com.sun.corba.ee.impl.orb.ParserActionBase
- All Implemented Interfaces:
ParserAction
- Direct Known Subclasses:
NormalParserAction
,PrefixParserAction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParserActionBase
(String propertyName, boolean prefix, Operation operation, String fieldName) -
Method Summary
Modifier and TypeMethodDescriptionabstract Object
apply
(Properties props) Apply this action to props and return the result.boolean
Return the field name in an object that is set with the resultprotected Operation
Return the property name or prefix for which this action is applied.int
hashCode()
boolean
isPrefix()
Return whether this action is for an exact match or a prefix match (true).
-
Field Details
-
propertyName
-
prefix
private boolean prefix -
operation
-
fieldName
-
-
Constructor Details
-
ParserActionBase
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getPropertyName
Description copied from interface:ParserAction
Return the property name or prefix for which this action is applied.- Specified by:
getPropertyName
in interfaceParserAction
- Returns:
- the property name or prefix.
-
isPrefix
public boolean isPrefix()Description copied from interface:ParserAction
Return whether this action is for an exact match or a prefix match (true).- Specified by:
isPrefix
in interfaceParserAction
- Returns:
- true if this action is for an exact or prefix match.
-
getFieldName
Description copied from interface:ParserAction
Return the field name in an object that is set with the result- Specified by:
getFieldName
in interfaceParserAction
- Returns:
- the field name
-
apply
Description copied from interface:ParserAction
Apply this action to props and return the result.- Specified by:
apply
in interfaceParserAction
- Parameters:
props
- properties to apply action to- Returns:
- result of action
-
getOperation
-