User: ko5tik  
  Date: 02/04/24 11:12:12

  Modified:    src/java/xtags/condition IsPublic.java
  Log:
  created script to run  GUI standalone
  writen desc for lot of tags
  
  Revision  Changes    Path
  1.2       +46 -76    xdocletgui/src/java/xtags/condition/IsPublic.java
  
  Index: IsPublic.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xtags/condition/IsPublic.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -w -r1.1 -r1.2
  --- IsPublic.java     18 Apr 2002 14:31:49 -0000      1.1
  +++ IsPublic.java     24 Apr 2002 18:12:12 -0000      1.2
  @@ -1,76 +1,46 @@
   /*
  - * Copyright (c) 2001, Aslak Hellesøy, BEKK Consulting
  + * Copyright (c) 2001,2002 The XDoclet team
    * All rights reserved.
  - *
  - * Redistribution and use in source and binary forms, with or without modification,
  - * are permitted provided that the following conditions are met:
  - *
  - * - Redistributions of source code must retain the above copyright notice,
  - *   this list of conditions and the following disclaimer.
  - *
  - * - Redistributions in binary form must reproduce the above copyright
  - *   notice, this list of conditions and the following disclaimer in the
  - *   documentation and/or other materials provided with the distribution.
  - *
  - * - Neither the name of BEKK Consulting nor the names of its
  - *   contributors may be used to endorse or promote products derived from
  - *   this software without specific prior written permission.
  - *
  - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
  - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  - * DAMAGE.
  - */
  -
  -/*
  - * Change log
  - *
    */
   package xtags.condition;
   
   import xjavadoc.XProgramElement;
   
   /**
  - * This condition evaluates to true for a given XProgramElement if it name with
  - * a certain value.
  + * this condition evaluates true for public program elements
    *
    * @author kostik
    * @created April 17, 2002
    */
   
  -public class IsPublic extends Condition {
  +public class IsPublic extends Condition
  +{
   
        /**
         * evaluate public status of program element
         */
  -     public IsPublic() {
  +     public IsPublic()
  +     {
        }
   
  -
        /**
         * return string representation
         *
         * @return string representation
         */
  -     public String toString() {
  +     public String toString()
  +     {
                return getClass().getName();
        }
   
  -
        /**
         * evaluate public status of program element
         *
         * @param xprogramelement program element to check
         * @return public status of program element
         */
  -     public boolean eval(XProgramElement xprogramelement) {
  +     public boolean eval( XProgramElement xprogramelement )
  +     {
                return xprogramelement.isPublic();
        }
   }
  
  
  

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

Reply via email to