Package org.nuiton.eugene
Class PackageValidator
- java.lang.Object
-
- org.nuiton.eugene.PackageValidator
-
public class PackageValidator extends Object
The PackageValidator class is used by the xmi1.2ToObjectModel.xsl stylesheet and Xalan-Java to extend the stylesheet functionnalities. Allows to include external classes and interfaces to the generated ObjectModel. Created: 21 avr. 2005- Author:
- Arnaud Thimel (Code Lutin)
-
-
Constructor Summary
Constructors Constructor Description PackageValidator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isValid(String fullPackagePath, String localPackageName, String extraPackages)
isValid
indicates if the current package (localPackageNameDot
) is valid according to the extra packages list (extraPackages
).static boolean
toContinue(String fullPackagePath, String localPackageNameDot, String extraPackages)
ThetoContinue
method indicates if the packagelocalPackageNameDot
has to be iterated by the stylesheet.
-
-
-
Method Detail
-
toContinue
public static boolean toContinue(String fullPackagePath, String localPackageNameDot, String extraPackages)
ThetoContinue
method indicates if the packagelocalPackageNameDot
has to be iterated by the stylesheet.- Parameters:
fullPackagePath
- the full package pathlocalPackageNameDot
- the current package to evaluateextraPackages
- the list of extra packages- Returns:
- true if there is to iterate on
localPackageNameDot
-
isValid
public static boolean isValid(String fullPackagePath, String localPackageName, String extraPackages)
isValid
indicates if the current package (localPackageNameDot
) is valid according to the extra packages list (extraPackages
).- Parameters:
fullPackagePath
- the full package pathlocalPackageName
- the current package to evaluateextraPackages
- the list of extra packages- Returns:
- true is the current package is valid
-
-