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 Objectapply(Properties props) Apply this action to props and return the result.booleanReturn the field name in an object that is set with the resultprotected OperationReturn the property name or prefix for which this action is applied.inthashCode()booleanisPrefix()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:ParserActionReturn the property name or prefix for which this action is applied.- Specified by:
getPropertyNamein interfaceParserAction- Returns:
- the property name or prefix.
-
isPrefix
public boolean isPrefix()Description copied from interface:ParserActionReturn whether this action is for an exact match or a prefix match (true).- Specified by:
isPrefixin interfaceParserAction- Returns:
- true if this action is for an exact or prefix match.
-
getFieldName
Description copied from interface:ParserActionReturn the field name in an object that is set with the result- Specified by:
getFieldNamein interfaceParserAction- Returns:
- the field name
-
apply
Description copied from interface:ParserActionApply this action to props and return the result.- Specified by:
applyin interfaceParserAction- Parameters:
props- properties to apply action to- Returns:
- result of action
-
getOperation
-