Class ParserActionBase

java.lang.Object
com.sun.corba.ee.impl.orb.ParserActionBase
All Implemented Interfaces:
ParserAction
Direct Known Subclasses:
NormalParserAction, PrefixParserAction

public abstract class ParserActionBase extends Object implements ParserAction
  • Field Details

    • propertyName

      private String propertyName
    • prefix

      private boolean prefix
    • operation

      private Operation operation
    • fieldName

      private String fieldName
  • Constructor Details

    • ParserActionBase

      public ParserActionBase(String propertyName, boolean prefix, Operation operation, String fieldName)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getPropertyName

      public String getPropertyName()
      Description copied from interface: ParserAction
      Return the property name or prefix for which this action is applied.
      Specified by:
      getPropertyName in interface ParserAction
      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 interface ParserAction
      Returns:
      true if this action is for an exact or prefix match.
    • getFieldName

      public String getFieldName()
      Description copied from interface: ParserAction
      Return the field name in an object that is set with the result
      Specified by:
      getFieldName in interface ParserAction
      Returns:
      the field name
    • apply

      public abstract Object apply(Properties props)
      Description copied from interface: ParserAction
      Apply this action to props and return the result.
      Specified by:
      apply in interface ParserAction
      Parameters:
      props - properties to apply action to
      Returns:
      result of action
    • getOperation

      protected Operation getOperation()