User: ko5tik  
  Date: 02/04/12 09:59:55

  Modified:    src/xjavadoc XDoc.java
  Log:
  made addTag(string,string) public
  removed addTag(XTag) for sake of xdoc integrity
  
  Revision  Changes    Path
  1.33      +18 -30    xjavadoc/src/xjavadoc/XDoc.java
  
  Index: XDoc.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/XDoc.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -w -r1.32 -r1.33
  --- XDoc.java 11 Apr 2002 16:21:42 -0000      1.32
  +++ XDoc.java 12 Apr 2002 16:59:55 -0000      1.33
  @@ -627,18 +627,6 @@
        }
   
   
  -     /**
  -      * add xtag to this doc
  -      *
  -      * @param tag tag to be added
  -      * @return tag value
  -      */
  -     public XTag addTag(XTag tag) {
  -             _allTags.add(tag);
  -             fireDocChanged();
  -             return tag;
  -     }
  -
   
        /**
         * remove tag in question from doc. do nothing if it does not belong there
  @@ -653,23 +641,6 @@
   
   
        /**
  -      * Returns the doc in the superclass if any.
  -      *
  -      * @return Describe the return value
  -      * @todo-javadoc Write javadocs for return value
  -      */
  -     private XDoc superDoc() {
  -             XProgramElement superElement = _owner.superElement();
  -             if (superElement != null) {
  -                     return superElement.doc();
  -             }
  -             else {
  -                     return null;
  -             }
  -     }
  -
  -
  -     /**
         * Reformats the javadoc String representation.
         *
         * @todo make package private when we move this class back to xjavadoc package.
  @@ -702,11 +673,28 @@
         * @todo-javadoc Describe the method parameter
         * @todo-javadoc Write javadocs for return value
         */
  -     private XTag addTag(String tagName, String text) {
  +     public XTag addTag(String tagName, String text) {
                if (_dirty) {
                        parse();
                }
                return addTag_Impl(tagName, text);
  +     }
  +
  +
  +     /**
  +      * Returns the doc in the superclass if any.
  +      *
  +      * @return Describe the return value
  +      * @todo-javadoc Write javadocs for return value
  +      */
  +     private XDoc superDoc() {
  +             XProgramElement superElement = _owner.superElement();
  +             if (superElement != null) {
  +                     return superElement.doc();
  +             }
  +             else {
  +                     return null;
  +             }
        }
   
   
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to