Manually establishes an encoding context when automatic detection is not possible.
The content type depends on the value provided to the type attribute. The content is checked for well-formedness based on its type:
cssortext/css- must be well-formed CSS content. (Note: Currently only checks character values.)javascript,application/javascript, ortext/javascript- no validationjsonorapplication/json- no validationld_jsonorapplication/ld+json- no validationtextortext/plain- no validationurlortext/url- must be a valid URLxhtmlorapplication/xhtml+xml- must be well-formed XHTML content. (Note: Currently only checks character values.)xhtml_attributeorapplication/xhtml+xml+attribute- must be a valid XHTML attribute.mysqlortext/x+mysql- must be valid MySQL command "mysql" inputpsqlortext/x+psql- must be valid PostgreSQL command "psql" inputshortext/x+sh- must be valid shell script
Tag Information
| Tag Class: | com.aoapps.encoding.taglib.legacy.EncodingTag |
|---|---|
| TagExtraInfo Class: | com.aoapps.encoding.taglib.EncodingTagTEI |
| Body Content: | JSP |
| Display Name: | None |
Attributes
| Name | Required | Evaluation | Type | Description |
|---|---|---|---|---|
| type | Yes | Runtime | Object |
Specifies the type of content contained in the tag body |
Variables
No Variables Defined.