1. /*
  2. * @(#)ParserAction.java 1.5 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.impl.orb ;
  8. import java.util.Properties ;
  9. public interface ParserAction {
  10. /** Return the property name or prefix for which this action
  11. * is applied.
  12. */
  13. String getPropertyName() ;
  14. /** Return whether this action is for an exact match or a prefix
  15. * match (true).
  16. */
  17. boolean isPrefix() ;
  18. /** Return the field name in an object that is set with the result
  19. */
  20. String getFieldName() ;
  21. /** Apply this action to props and return the result.
  22. */
  23. Object apply( Properties props ) ;
  24. }