Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit
Class ISeriesParserAssociationsHelper

java.lang.Object
  extended by com.ibm.etools.iseries.edit.ISeriesParserAssociationsHelper

public class ISeriesParserAssociationsHelper
extends Object

Helper methods for testing various source types against LPEX parser associations.


Field Summary
static String copyright
           
static String PARSER_CL
           
static String PARSER_ILE_COBOL
           
static String PARSER_ILE_RPG
           
static String PARSER_ILE_RPG_SQL
           
static String PARSER_OPM_COBOL
           
 
Constructor Summary
ISeriesParserAssociationsHelper()
           
 
Method Summary
static boolean isTypeAssociatedToParser(String type, String parser)
           
static boolean isTypeCL(String type)
          Helper method to test if the specified type is associated with the CL parser
static boolean isTypeCOBOL(String type)
          Helper method to test if the specified type is associated with the ILE or OPM COBOL LPEX parser
static boolean isTypeILECOBOL(String type)
          Helper method to test if the specified type is associated with the ILE COBOL LPEX parser
static boolean isTypeILERPG(String type)
          Helper method to test if the specified type is associated with the COBOL LPEX parser
static boolean isTypeILERPGorCobol(String type)
          Helper method to test if the specified type is associated with the ILE RPG, ILE RPG SQL ILE COBOL or OPM COBOL LPEX parser.
static boolean isTypeILERPGorILECobol(String type)
          Helper method to test if the specified type is associated with an ILE RPG, ILE RPG SQL or ILE COBOL LPEX parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

PARSER_ILE_RPG

public static final String PARSER_ILE_RPG
See Also:
Constant Field Values

PARSER_ILE_RPG_SQL

public static final String PARSER_ILE_RPG_SQL
See Also:
Constant Field Values

PARSER_ILE_COBOL

public static final String PARSER_ILE_COBOL
See Also:
Constant Field Values

PARSER_OPM_COBOL

public static final String PARSER_OPM_COBOL
See Also:
Constant Field Values

PARSER_CL

public static final String PARSER_CL
See Also:
Constant Field Values
Constructor Detail

ISeriesParserAssociationsHelper

public ISeriesParserAssociationsHelper()
Method Detail

isTypeAssociatedToParser

public static boolean isTypeAssociatedToParser(String type,
                                               String parser)

isTypeILERPGorILECobol

public static boolean isTypeILERPGorILECobol(String type)
Helper method to test if the specified type is associated with an ILE RPG, ILE RPG SQL or ILE COBOL LPEX parser.


isTypeILERPGorCobol

public static boolean isTypeILERPGorCobol(String type)
Helper method to test if the specified type is associated with the ILE RPG, ILE RPG SQL ILE COBOL or OPM COBOL LPEX parser.


isTypeILECOBOL

public static boolean isTypeILECOBOL(String type)
Helper method to test if the specified type is associated with the ILE COBOL LPEX parser


isTypeCOBOL

public static boolean isTypeCOBOL(String type)
Helper method to test if the specified type is associated with the ILE or OPM COBOL LPEX parser


isTypeILERPG

public static boolean isTypeILERPG(String type)
Helper method to test if the specified type is associated with the COBOL LPEX parser


isTypeCL

public static boolean isTypeCL(String type)
Helper method to test if the specified type is associated with the CL parser


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.