Package xjavadoc

Examples of xjavadoc.XPackage


     */
    protected String getGeneratedFileName(XClass clazz) throws XDocletException
    {
        Log log = LogUtil.getLog(WsdlSubTask.class, "getGeneratedFileName");

        XPackage pak = clazz.getContainingPackage();
        String package_structure = null;

        if (isPrefixWithPackageStructure() == true)
            // This will do package substitution too
            package_structure = PackageTagsHandler.packageNameAsPathFor(pak);
View Full Code Here


        for (Iterator i = classes.iterator(); i.hasNext(); ) {
            packages.add(((XClass) i.next()).getContainingPackage());
        }

        XPackage currentPackage = null;

        for (Iterator packageIterator = packages.iterator(); packageIterator.hasNext(); ) {
            currentPackage = (XPackage) packageIterator.next();
            setCurrentPackage(currentPackage);

            File oldDestDir = getDestDir();
            File dir = new File(getDestDir(), PackageTagsHandler.packageNameAsPathFor(currentPackage));

            setDestDir(dir);
            setTemplateURL(getClass().getResource("resources/classes-list.xdt"));
            setDestinationFile("classes-list.html");
            startProcess();

            classes = currentPackage.getClasses();
            setTemplateURL(getClass().getResource("resources/class-details.xdt"));
            for (Iterator i = classes.iterator(); i.hasNext(); ) {
                setCurrentClass((XClass) i.next());
                setDestinationFile(getCurrentClass().getName() + "-details.html");
                startProcess();
View Full Code Here

            List importedPackages = currentClass.getImportedPackages();
            String dotPrepended = '.' + typeName;
                 
            for ( Iterator i = importedPackages.iterator(); i.hasNext(); )
            {
                XPackage importedPackage = ( XPackage ) i.next();
                XClass implicitImportedClass = getXClass( importedPackage.getName() + dotPrepended, xJavaDoc );
                if ( ! isUnknownClass( implicitImportedClass ) )
                {
                    attemptedResolvedType = implicitImportedClass;
                    break;
                }
View Full Code Here

TOP

Related Classes of xjavadoc.XPackage

Copyright © 2018 www.massapicom. 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.