/* * @(#)ParserActionFactory.java 1.6 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.corba.se.impl.orb ; import com.sun.corba.se.spi.orb.Operation ; public class ParserActionFactory{ private ParserActionFactory() {} public static ParserAction makeNormalAction( String propertyName, Operation operation, String fieldName ) { return new NormalParserAction( propertyName, operation, fieldName ) ; } public static ParserAction makePrefixAction( String propertyName, Operation operation, String fieldName, Class componentType ) { return new PrefixParserAction( propertyName, operation, fieldName, componentType ) ; } }