Update of /cvsroot/xdoclet/xdoclet/modules/mx4j/src/xdoclet/modules/mx4j/resources
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv701

Modified Files:
        mx4j-mbean-description.xdt 
Log Message:
Remove double-spacing left over from EOL conversion (most lines appeared to
have been using ^M^M previously as the EOL, not just ^M).



Index: mx4j-mbean-description.xdt
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/mx4j/src/xdoclet/modules/mx4j/resources/mx4j-mbean-description.xdt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** mx4j-mbean-description.xdt  21 Aug 2004 13:17:07 -0000      1.7
--- mx4j-mbean-description.xdt  20 Sep 2004 23:06:32 -0000      1.8
***************
*** 5,255 ****
  
  import mx4j.MBeanDescriptionAdapter;
- 
  import java.lang.reflect.Method;
- 
  import java.lang.reflect.Constructor;
  
- 
- 
  /**
- 
   * <XDtI18n:getString bundle="xdoclet.modules.jmx.XDocletModulesJmxMessages" 
resource="mbean_description"/>
- 
  <XDtClass:classCommentTags indent="0"/> */
- 
  public class 
<XDtClass:classOf><XDtClass:fullClassName/>MBeanDescription</XDtClass:classOf> extends
- 
      <XDtClass:ifHasClassTag tagName="mx4j:description" 
paramName="extends"><XDtClass:classTagValue tagName="mx4j:description" 
paramName="extends"/></XDtClass:ifHasClassTag>
- 
      <XDtClass:ifDoesntHaveClassTag tagName="mx4j:description" paramName="extends">
- 
          <XDtClass:ifHasClassTag tagName="jmx:mbean" 
paramName="extends"><XDtClass:classTagValue tagName="jmx:mbean" 
paramName="extends"/>Description</XDtClass:ifHasClassTag>
- 
          <XDtClass:ifDoesntHaveClassTag tagName="jmx:mbean" paramName="extends"> 
MBeanDescriptionAdapter</XDtClass:ifDoesntHaveClassTag>
- 
      </XDtClass:ifDoesntHaveClassTag>
- 
  {
  
- 
- 
    <XDtClass:ifHasClassTag tagName="jmx:mbean" paramName="description">
- 
      public String getMBeanDescription() {
- 
          return "<XDtClass:classTagValue tagName="jmx:mbean" 
paramName="description"/>";
- 
      }
- 
    </XDtClass:ifHasClassTag>
  
- 
- 
      public String getConstructorDescription(Constructor ctor) {
- 
          String name = ctor.getName();
- 
       <XDtConstructor:forAllConstructors superclasses="false" sort="false">
- 
        <XDtConstructor:ifHasConstructorTag tagName="jmx:managed-constructor" 
paramName="description">
- 
          if (ctor.toString().equals("<XDtJmx:constructorSignature/>")) {
- 
              return "<XDtConstructor:constructorTagValue 
tagName="jmx:managed-constructor" paramName="description"/>";
- 
          }
- 
        </XDtConstructor:ifHasConstructorTag>
- 
       </XDtConstructor:forAllConstructors>
- 
          return super.getConstructorDescription(ctor);
- 
      }
  
- 
- 
      public String getConstructorParameterName(Constructor ctor, int index) {
- 
        <XDtConstructor:forAllConstructors superclasses="false" sort="false">
- 
         <XDtConstructor:ifHasConstructorTag tagName="jmx:managed-constructor" 
paramName="description">
- 
          if (ctor.toString().equals("<XDtJmx:constructorSignature/>")) {
- 
              switch (index) {
- 
                <XDtJmx:forAllIndexedConstructorParams>
- 
                  case <XDtJmx:indexedConstructorParamValue 
tagName="jmx:managed-constructor-parameter" paramName="position"/>:
- 
                      return "<XDtJmx:indexedConstructorParamValue 
tagName="jmx:managed-constructor-parameter" paramName="name"/>";
- 
                </XDtJmx:forAllIndexedConstructorParams>
- 
              }
- 
          }
- 
         </XDtConstructor:ifHasConstructorTag>
- 
        </XDtConstructor:forAllConstructors>
- 
          return super.getConstructorParameterName(ctor, index);
- 
      }
  
- 
- 
      public String getConstructorParameterDescription(Constructor ctor, int index) {
- 
        <XDtConstructor:forAllConstructors superclasses="false" sort="false">
- 
         <XDtConstructor:ifHasConstructorTag 
tagName="jmx:managed-constructor-parameter" paramName="description">
- 
          if (ctor.toString().equals("<XDtJmx:constructorSignature/>")) {
- 
              switch (index) {
- 
                <XDtJmx:forAllIndexedConstructorParams>
- 
                  case <XDtJmx:indexedConstructorParamValue 
tagName="jmx:managed-constructor-parameter" paramName="position"/>:
- 
                      return "<XDtJmx:indexedConstructorParamValue 
tagName="jmx:managed-constructor-parameter" paramName="description"/>";
- 
                </XDtJmx:forAllIndexedConstructorParams>
- 
              }
- 
          }
- 
         </XDtConstructor:ifHasConstructorTag>
- 
        </XDtConstructor:forAllConstructors>
- 
          return super.getConstructorParameterDescription(ctor, index);
- 
      }
  
- 
- 
      public String getAttributeDescription(String attribute) {
- 
       <XDtMethod:forAllMethods superclasses="false" sort="false">
- 
        <XDtMethod:ifHasMethodTag tagName="jmx:managed-attribute" 
paramName="description">
- 
         <XDtJmx:ifHasAttributeDescription>
- 
          if (attribute.equals("<XDtMethod:methodNameWithoutPrefix />")) {
- 
              return "<XDtMethod:methodTagValue tagName="jmx:managed-attribute" 
paramName="description"/>";
- 
          }
- 
         </XDtJmx:ifHasAttributeDescription>
- 
        </XDtMethod:ifHasMethodTag>
- 
       </XDtMethod:forAllMethods>
- 
          return super.getAttributeDescription(attribute);
- 
      }
  
- 
- 
      public String getOperationDescription(Method operation) {
- 
          String name = operation.getName();
- 
        <XDtMethod:forAllMethods superclasses="false" sort="false">
- 
         <XDtMethod:ifHasMethodTag tagName="jmx:managed-operation" 
paramName="description">
- 
          if (name.equals("<XDtMethod:methodName/>")) {
- 
              return "<XDtMethod:methodTagValue tagName="jmx:managed-operation" 
paramName="description"/>";
- 
          }
- 
         </XDtMethod:ifHasMethodTag>
- 
        </XDtMethod:forAllMethods>
- 
          return super.getOperationDescription(operation);
- 
      }
  
- 
- 
      public String getOperationParameterName(Method method, int index) {
- 
          String name = method.getName();
- 
        <XDtMethod:forAllMethods superclasses="false" sort="false">
- 
         <XDtMethod:ifHasMethodTag tagName="jmx:managed-operation-parameter" 
paramName="description">
- 
          if (name.equals("<XDtMethod:methodName/>")) {
- 
              switch (index) {
- 
                <XDtJmx:forAllIndexedMethodParams>
- 
                  case <XDtJmx:indexedMethodParamValue 
tagName="jmx:managed-operation-parameter" paramName="position"/>:
- 
                      return "<XDtJmx:indexedMethodParamValue 
tagName="jmx:managed-operation-parameter" paramName="name"/>";
- 
                </XDtJmx:forAllIndexedMethodParams>
- 
              }
- 
          }
- 
         </XDtMethod:ifHasMethodTag>
- 
        </XDtMethod:forAllMethods>
- 
          return super.getOperationParameterName(method, index);
- 
      }
  
- 
- 
      public String getOperationParameterDescription(Method method, int index) {
- 
          String name = method.getName();
- 
        <XDtMethod:forAllMethods superclasses="false" sort="false">
- 
         <XDtMethod:ifHasMethodTag tagName="jmx:managed-operation-parameter" 
paramName="description">
- 
          if (name.equals("<XDtMethod:methodName/>")) {
- 
              switch (index) {
- 
                <XDtJmx:forAllIndexedMethodParams>
- 
                  case <XDtJmx:indexedMethodParamValue 
tagName="jmx:managed-operation-parameter" paramName="position"/>:
- 
                      return "<XDtJmx:indexedMethodParamValue 
tagName="jmx:managed-operation-parameter" paramName="description"/>";
- 
                </XDtJmx:forAllIndexedMethodParams>
- 
              }
- 
          }
- 
         </XDtMethod:ifHasMethodTag>
- 
        </XDtMethod:forAllMethods>
- 
          return super.getOperationParameterDescription(method, index);
- 
      }
  
- 
- 
  }
- 
--- 5,130 ----



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to