Class CQ.shared.XSS
| Package: | CQ.shared |
| Class: | XSS |
| Extends: | Object |
| Clientlib: | cq.shared |
Deprecated:
Provides static utilities for XSS management.
This class is a singleton and cannot be created directly.
Added in CQ 5.4.
Public Properties
| |
XSS.KEY_SUFFIX : String
<static> Key suffix for XSS property name
|
XSS |
Public Methods
| |
getXSSPropertyName( String propertyName ) : String
<static> Get XSS property name from a provided property name
<static> Get XSS property name from a provided property name
Parameters:
propertyName : StringProperty name
Returns:
|
XSS |
| |
getXSSRecordPropertyValue( Object rec, String propertyName, Number ellipsisLimit ) : String
<static> Get XSS property value from provided property name and json record
<static> Get XSS property value from provided property name and json record
|
XSS |
| |
getXSSTablePropertyValue( Object table, String propertyName, Number ellipsisLimit ) : String
<static> Get XSS property value from provided property name and table
<static> Get XSS property value from provided property name and table
|
XSS |
| |
getXSSValue( String val ) : String
<static> XSS value renderer
<static> XSS value renderer
Parameters:
val : StringValue to protect
Returns:
StringXSS protected value
|
XSS |
| |
updatePropertyName( Object cfg, String propertyName ) : void
<static> Update configuration object's property name if XSS is enabled for it
<static> Update configuration object's property name if XSS is enabled for it
|
XSS |
| |
xssPropertyRenderer( String val, Object meta, Object cfg, Object rec ) : String
<static> XSS property renderer
<static> XSS property renderer
|
XSS |
Public Events
This class has no public events.