package com.zt.plat.module.qms.core.liteflow.constant;

public interface QmsXmlFlowElParserConstant {

    public static final String CHAIN_XML_PATTERN = "<chain name=\"{}\">{}</chain>";
    
    public static final String CHAIN_WITH_ROUTE_XML_PATTERN = "<chain id=\"{}\" namespace=\"{}\"><route><![CDATA[{}]]></route><body><![CDATA[{}]]></body></chain>";

    public static final String NODE_XML_PATTERN = "<nodes>{}</nodes>";
    
    public static final String NODE_ITEM_XML_PATTERN = "<node id=\"{}\" name=\"{}\" type=\"{}\"><![CDATA[{}]]></node>";

    public static final String NODE_ITEM_WITH_LANGUAGE_XML_PATTERN = "<node id=\"{}\" name=\"{}\" type=\"{}\" language=\"{}\"><![CDATA[{}]]></node>";

    public static final String XML_PATTERN = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><flow>{}{}</flow>";
}
