public class JcrToolbarItem extends java.lang.Object implements Toolbar.Item
Constructor and Description |
---|
JcrToolbarItem(Node node)
Creates a custom editing action from the given node
|
Modifier and Type | Method and Description |
---|---|
void |
write(JSONWriter writer)
Serialize to JSON writer.
|
public JcrToolbarItem(Node node) throws RepositoryException
node
- the nodeRepositoryException
- if a repository error occurspublic void write(JSONWriter writer) throws JSONException
write
in interface Toolbar.Item
writer
- the writerJSONException
- if a JSON error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved