Package xjavadoc

Examples of xjavadoc.XProgramElement


     * @doc.tag                     type="content"
     */
    public String sourceComment()
         throws XDocletException
    {
        XProgramElement doc = getCurrentMethod();

        if (doc == null)
            doc = getCurrentClass();
        if (doc == null)
            return "";
        else
            return "<!-- " + L.l(L.GENERATED_FROM, new String[]{doc.getName()}) + " -->";
    }
View Full Code Here


        if(DEBUG) logger.debug("current class: " + getCurrentClass().getName());
        if(DEBUG) logger.debug("cTag value for attribute \"" +
                                            attributes.getProperty("paramName") + "\" is " +
                                            (cTag != null ? cTag.getAttributeValue(attributes.getProperty("paramName")) : "null"));

        XProgramElement member = null;
        String value = null;
        if(cTag != null)
        {
            value = cTag.getAttributeValue(paramName);
            member = getCurrentClass();
View Full Code Here

    }
   
    protected boolean elementHasAttributes (Collection xElements) {
        Iterator iter = xElements.iterator ();
        while (iter.hasNext ()) {
            XProgramElement element = (XProgramElement) iter.next ();
            if (tagHasAttributes (element.getDoc ().getTags ())) {
                return true;
            }
        }
        return false;
    }
View Full Code Here

TOP

Related Classes of xjavadoc.XProgramElement

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.