| Package | Description |
|---|---|
| com.sitewhere.web.configuration | |
| com.sitewhere.web.configuration.content | |
| com.sitewhere.web.rest.controllers |
| Modifier and Type | Method and Description |
|---|---|
static ElementContent |
ConfigurationContentParser.parse(byte[] config)
Parse a byte[] containing SiteWhere XML configuration for JSON representation.
|
protected static ElementContent |
ConfigurationContentParser.parse(Element element)
Recursively parse the XML document.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
ConfigurationContentParser.buildXml(Document document,
ElementContent content)
Create top-level element, then pass off to recursive function.
|
protected static void |
ConfigurationContentParser.buildXml(Document document,
Element parent,
ElementContent content)
Recursively create DOM from JSON model.
|
static Document |
ConfigurationContentParser.buildXml(ElementContent content)
Build an XML configuration file from the JSON content.
|
| Modifier and Type | Method and Description |
|---|---|
List<ElementContent> |
ElementContent.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
void |
ElementContent.setChildren(List<ElementContent> children) |
| Modifier and Type | Method and Description |
|---|---|
ElementContent |
TenantsController.getTenantEngineConfigurationAsJson(String tenantId)
Get the current configuration for a tenant engine formatted as JSON.
|
Copyright © 2016 SiteWhere, LLC.. All rights reserved.