Package de.hybris.platform.cockpit.util
Class DefaultCockpitTemplateParser
java.lang.Object
de.hybris.platform.cockpit.util.DefaultCockpitTemplateParser
- All Implemented Interfaces:
CockpitTemplateParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdocumentToString(Document document) protected StringgetInjectionString(String template) protected NodegetReplacementNode(Document document, Map<String, Object> params) parseTemplate(String template) protected DocumentstringToDocument(String text)
-
Constructor Details
-
DefaultCockpitTemplateParser
public DefaultCockpitTemplateParser()
-
-
Method Details
-
parseTemplate
- Specified by:
parseTemplatein interfaceCockpitTemplateParser- Throws:
IllegalArgumentException
-
getInjectionString
- Throws:
IllegalArgumentException
-
stringToDocument
protected Document stringToDocument(String text) throws SAXException, IOException, ParserConfigurationException -
documentToString
-
getReplacementNode
-