1. /*
  2. * @(#)ParserActionFactory.java 1.6 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 com.sun.corba.se.spi.orb.Operation ;
  9. public class ParserActionFactory{
  10. private ParserActionFactory() {}
  11. public static ParserAction makeNormalAction( String propertyName,
  12. Operation operation, String fieldName )
  13. {
  14. return new NormalParserAction( propertyName, operation, fieldName ) ;
  15. }
  16. public static ParserAction makePrefixAction( String propertyName,
  17. Operation operation, String fieldName, Class componentType )
  18. {
  19. return new PrefixParserAction( propertyName, operation, fieldName, componentType ) ;
  20. }
  21. }