Package com.sun.corba.se.spi.orb

Source Code of com.sun.corba.se.spi.orb.ParserDataFactory

/*
* @(#)ParserDataFactory.java  1.6 05/11/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.sun.corba.se.spi.orb ;

import com.sun.corba.se.impl.orb.NormalParserData ;
import com.sun.corba.se.impl.orb.PrefixParserData ;

public class ParserDataFactory {
    public static ParserData make( String  propertyName,
  Operation operation, String fieldName, Object defaultValue,
  Object testValue, String testData )
    {
  return new NormalParserData( propertyName, operation, fieldName,
      defaultValue, testValue, testData ) ;
    }

    public static ParserData make( String  propertyName,
  Operation operation, String fieldName, Object defaultValue,
  Object testValue, StringPair[] testData, Class componentType )
    {
  return new PrefixParserData( propertyName, operation, fieldName,
      defaultValue, testValue, testData, componentType ) ;
    }
}
TOP

Related Classes of com.sun.corba.se.spi.orb.ParserDataFactory

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.