Tapestry
  1. Tapestry
  2. TAPESTRY-528

add IComponentSpecification.getReservedParameterNames()

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None

      Description

      It will allow documentation generators to include reserved parameter names in the generated docs.
      I have included the implementation.
      Br,
      Norbi

      ------------- 8< ------------- 8< ------------- 8< ------------- 8< ------------- 8< ------------- 8< ------------- 8< -------------

      Index: IComponentSpecification.java
      ===================================================================
      RCS file: /home/cvspublic/jakarta-tapestry/framework/src/java/org/apache/tapestry/spec/IComponentSpecification.java,v
      retrieving revision 1.11
      diff -u -r1.11 IComponentSpecification.java
      — IComponentSpecification.java 6 Jun 2005 22:28:19 -0000 1.11
      +++ IComponentSpecification.java 4 Aug 2005 19:04:27 -0000
      @@ -16,6 +16,7 @@

      import java.util.Collection;
      import java.util.List;
      +import java.util.Set;

      import org.apache.hivemind.Locatable;
      import org.apache.hivemind.LocationHolder;
      @@ -197,6 +198,12 @@
      public boolean isReservedParameterName(String value);

      /**
      + * @return reserved parameter names
      + * @since 4.0
      + */
      + public Set getReservedParameterNames();
      +
      + /**

      • Returns the documentation for this component.
      • @since 1.0.9

      ------------- 8< ------------- 8< ------------- 8< ------------- 8< ------------- 8< ------------- 8< ------------- 8< -------------

      Index: ComponentSpecification.java
      ===================================================================
      RCS file: /home/cvspublic/jakarta-tapestry/framework/src/java/org/apache/tapestry/spec/ComponentSpecification.java,v
      retrieving revision 1.12
      diff -u -r1.12 ComponentSpecification.java
      — ComponentSpecification.java 9 Jun 2005 18:33:44 -0000 1.12
      +++ ComponentSpecification.java 4 Aug 2005 19:05:43 -0000
      @@ -472,6 +472,11 @@
      return _reservedParameterNames.contains(value.toLowerCase());
      }

      + public Set getReservedParameterNames()
      +

      { + return _reservedParameterNames; + }

      +
      public String toString()
      {
      ToStringBuilder builder = new ToStringBuilder(this);

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567405 ] jira [ 12590297 ]
        Mark Thomas made changes -
        Workflow jira [ 12323052 ] Default workflow, editable Closed status [ 12567405 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 4.0 [ 10794 ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Norbert Sándor created issue -

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Norbert Sándor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development