Skip to content

Commit

Permalink
Properly cleanse descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Oct 23, 2024
1 parent ac777ff commit 3981d17
Show file tree
Hide file tree
Showing 19 changed files with 2,501 additions and 2,496 deletions.
6 changes: 3 additions & 3 deletions generator/src/data/jakarta/c-4.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"name": "choose",
"description": "Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by and",
"description": "Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by and",
"attribute": []
},
{
Expand Down Expand Up @@ -84,12 +84,12 @@
},
{
"name": "otherwise",
"description": "Subtag of that follows tags and runs only if all of the prior conditions evaluated to 'false'",
"description": "Subtag of that follows tags and runs only if all of the prior conditions evaluated to 'false'",
"attribute": []
},
{
"name": "set",
"description": "Sets the result of an expression evaluation based on the value of the attributes. If \"scope\" the is present, but has a zero length or is equal to the string \"page\", TagException is thrown with an informative error message, ensuring page location information is saved. This handler operates in one of two ways. The user has set \"var\", \"value\" and (optionally) \"scope\" attributes. The user has set \"target\", \"property\", and \"value\" attributes. The first case takes precedence over the second.",
"description": "Sets the result of an expression evaluation based on the value of the attributes. If \"scope\" the is present, but has a zero length or is equal to the string \"page\", TagException is thrown with an informative error message, ensuring page location information is saved. This handler operates in one of two ways. The user has set \"var\", \"value\" and (optionally) \"scope\" attributes. The user has set \"target\", \"property\", and \"value\" attributes. The first case takes precedence over the second.",
"attribute": [
{
"description": "Name of the exported scoped variable to hold the value specified in the action. The type of the scoped variable is whatever type the value expression evaluates to.",
Expand Down
56 changes: 28 additions & 28 deletions generator/src/data/jakarta/c-4.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
{
"name": "var",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the\n exception thrown from a nested action. The type of the\n scoped variable is the type of the exception thrown."
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the exception thrown from a nested action. The type of the scoped variable is the type of the exception thrown."
}
]
},
Expand All @@ -25,38 +25,38 @@
{
"name": "items",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.Object)",
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.Object)",
"description": "Collection of items to iterate over."
},
{
"name": "end",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to int)",
"description": "If items specified:\n Iteration ends at the item located at the\n specified index (inclusive).\n If items not specified:\n Iteration ends when index reaches the value\n specified."
"type": "jakarta.el.ValueExpression (must evaluate to int)",
"description": "If items specified: Iteration ends at the item located at the specified index (inclusive). If items not specified: Iteration ends when index reaches the value specified."
},
{
"name": "var",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the\n current item of the iteration. This scoped\n variable has nested visibility. Its type depends\n on the object of the underlying collection."
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection."
},
{
"name": "begin",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to int)",
"description": "If items specified:\n Iteration begins at the item located at the\n specified index. First item of the collection has\n index 0.\n If items not specified:\n Iteration begins with index set at the value\n specified."
"type": "jakarta.el.ValueExpression (must evaluate to int)",
"description": "If items specified: Iteration begins at the item located at the specified index. First item of the collection has index 0. If items not specified: Iteration begins with index set at the value specified."
},
{
"name": "step",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to int)",
"description": "Iteration will only process every step items of\n the collection, starting with the first one."
"type": "jakarta.el.ValueExpression (must evaluate to int)",
"description": "Iteration will only process every step items of the collection, starting with the first one."
},
{
"name": "varStatus",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the\n status of the iteration. Object exported is of type\n jakarta.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable\n has nested\n visibility."
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the status of the iteration. Object exported is of type jakarta.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility."
}
]
},
Expand All @@ -67,20 +67,20 @@
{
"name": "test",
"required": "true",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to boolean)",
"description": "The test condition that determines whether or\n not the body content should be processed."
"type": "jakarta.el.ValueExpression (must evaluate to boolean)",
"description": "The test condition that determines whether or not the body content should be processed."
},
{
"name": "scope",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Scope for var."
},
{
"name": "var",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the\n resulting value of the test condition. The type\n of the scoped variable is Boolean."
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable for the resulting value of the test condition. The type of the scoped variable is Boolean."
}
]
},
Expand All @@ -91,36 +91,36 @@
},
{
"name": "https://jakarta.ee/specifications/faces/4.1/vdldoc/c/",
"description": "Sets the result of an expression evaluation based on the\n value of the attributes. If \"scope\" the is present, but has a zero\n length or is equal to the string \"page\", TagException\n is\n thrown with an informative error message, ensuring page location\n information is saved. This handler operates in one of two ways.\n\n The user has set \"var\", \"value\" and (optionally)\n \"scope\" attributes. The user has set \"target\", \"property\", and\n \"value\"\n attributes. The first case takes precedence over the second.",
"description": "Sets the result of an expression evaluation based on the value of the attributes. If \"scope\" the is present, but has a zero length or is equal to the string \"page\", TagException is thrown with an informative error message, ensuring page location information is saved. This handler operates in one of two ways. The user has set \"var\", \"value\" and (optionally) \"scope\" attributes. The user has set \"target\", \"property\", and \"value\" attributes. The first case takes precedence over the second.",
"attribute": [
{
"name": "var",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable to hold the value\n specified in the action. The type of the scoped variable is\n whatever type the value expression evaluates to."
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Name of the exported scoped variable to hold the value specified in the action. The type of the scoped variable is whatever type the value expression evaluates to."
},
{
"name": "target",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"description": "Target object whose property will be set. Must evaluate to\n a JavaBeans object with setter property property, or to a\n java.util.Map object."
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Target object whose property will be set. Must evaluate to a JavaBeans object with setter property property, or to a java.util.Map object."
},
{
"name": "scope",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Scope for var."
},
{
"name": "value",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.Object)",
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.Object)",
"description": "Expression to be evaluated."
},
{
"name": "property",
"required": "false",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to java.lang.String)",
"type": "jakarta.el.ValueExpression (must evaluate to java.lang.String)",
"description": "Name of the property to be set in the target object."
}
]
Expand All @@ -132,8 +132,8 @@
{
"name": "test",
"required": "true",
"type": "jakarta.el.ValueExpression\n \n (must evaluate to boolean)",
"description": "The test condition that determines whether or not the\n body content should be processed."
"type": "jakarta.el.ValueExpression (must evaluate to boolean)",
"description": "The test condition that determines whether or not the body content should be processed."
}
]
}
Expand Down
Loading

0 comments on commit 3981d17

Please sign in to comment.