public class DefaultCockpitTemplateParser extends Object implements CockpitTemplateParser
| Constructor and Description |
|---|
DefaultCockpitTemplateParser() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
documentToString(Document document) |
protected String |
getInjectionString(String template) |
protected Node |
getReplacementNode(Document document,
Map<String,Object> params) |
String |
parseTemplate(String template) |
protected Document |
stringToDocument(String text) |
public String parseTemplate(String template) throws IllegalArgumentException
parseTemplate in interface CockpitTemplateParserIllegalArgumentExceptionprotected String getInjectionString(String template) throws IllegalArgumentException
IllegalArgumentExceptionprotected Document stringToDocument(String text) throws SAXException, IOException, ParserConfigurationException
Copyright © 2017 SAP SE. All Rights Reserved.