Constructor and Description |
---|
ObjectJS() |
Modifier and Type | Method and Description |
---|---|
static ObjectJS |
create(Object o,
StringifierFactory stringifierFactory) |
AnyJS |
getAttribute(String name) |
void |
setAttribute(String name,
AnyJS value) |
<T> void |
setSimpleAttribute(String name,
T value,
Stringifier<T> stringifier) |
void |
write(Writer writer)
Renders the response.
|
public ObjectJS()
public void setAttribute(String name, AnyJS value)
public <T> void setSimpleAttribute(String name, T value, Stringifier<T> stringifier)
public AnyJS getAttribute(String name)
public void write(Writer writer) throws IOException
AnyJS
write
in class AnyJS
IOException
public static ObjectJS create(Object o, StringifierFactory stringifierFactory)
Copyright © 2019. All rights reserved.