KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > orb > ParserActionFactory


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
8 package com.sun.corba.se.impl.orb ;
9
10 import com.sun.corba.se.spi.orb.Operation ;
11
12 public class ParserActionFactory{
13     private ParserActionFactory() {}
14
15     public static ParserAction makeNormalAction( String JavaDoc propertyName,
16     Operation operation, String JavaDoc fieldName )
17     {
18     return new NormalParserAction( propertyName, operation, fieldName ) ;
19     }
20
21     public static ParserAction makePrefixAction( String JavaDoc propertyName,
22     Operation operation, String JavaDoc fieldName, Class JavaDoc componentType )
23     {
24     return new PrefixParserAction( propertyName, operation, fieldName, componentType ) ;
25     }
26 }
27
Popular Tags