T - the type of values for this record@ConsumerType
public interface Record<T>
Record is a key-value immutable object understood by the HTL runtime, used for abstracting complex objects like Sightly
templates (declared with the data-sly-template block element) or objects that need to be translated from Java to JavaScript
and back.| Modifier and Type | Method and Description |
|---|---|
T |
getProperty(String name)
Gets the value of a specified property.
|
Set<String> |
getPropertyNames()
Gets the set of names for this record's properties.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.