class NacosXmlELParser extends ClassXmlFlowELParser {

	private final NacosParserHelper helper;

	public NacosXmlELParser() {
		LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();

		try {
			NacosParserVO nacosParserVO = null;
			if (MapUtil.isNotEmpty((liteflowConfig.getRuleSourceExtDataMap()))) {
				nacosParserVO = BeanUtil.toBean(liteflowConfig.getRuleSourceExtDataMap(), NacosParserVO.class,
						CopyOptions.create());
			}
			else if (StrUtil.isNotBlank(liteflowConfig.getRuleSourceExtData())) {
				nacosParserVO = JsonUtil.parseObject(liteflowConfig.getRuleSourceExtData(), NacosParserVO.class);
			}

			if (Objects.isNull(nacosParserVO)) {
				throw new NacosException("rule-source-ext-data is empty");
			}

			if (StrUtil.isBlank(nacosParserVO.getServerAddr())) {
				nacosParserVO.setServerAddr("127.0.0.1:8848");
			}
			if (StrUtil.isBlank(nacosParserVO.getNamespace())) {
				nacosParserVO.setNamespace("");
			}
			if (StrUtil.isBlank(nacosParserVO.getDataId())) {
				nacosParserVO.setDataId("LiteFlow");
			}
			if (StrUtil.isBlank(nacosParserVO.getGroup())) {
				nacosParserVO.setGroup("LITE_FLOW_GROUP");
			}
			if (StrUtil.isBlank(nacosParserVO.getUsername())) {
				nacosParserVO.setUsername("");
			}
			if (StrUtil.isBlank(nacosParserVO.getPassword())) {
				nacosParserVO.setPassword("");
			}
			if (StrUtil.isBlank(nacosParserVO.getAccessKey())){
				nacosParserVO.setAccessKey("");
			}
			if (StrUtil.isBlank(nacosParserVO.getSecretKey())){
				nacosParserVO.setSecretKey("");
			}
			helper = new NacosParserHelper(nacosParserVO);
		}
		catch (Exception e) {
			throw new NacosException(e.getMessage());
		}
	}

	@Override
	public String parseCustom() {<FILL_FUNCTION_BODY>}

}

		Consumer<String> parseConsumer = t -> {
			try {
				parse(t);
			}
			catch (Exception e) {
				throw new RuntimeException(e);
			}
		};
		try {
			String content = helper.getContent();
			helper.checkContent(content);
			helper.listener(parseConsumer);
			return content;
		}
		catch (Exception e) {
			throw new NacosException(e.getMessage());
		}
	
<methods>public non-sealed void <init>() ,public abstract java.lang.String parseCustom() ,public void parseMain(List<java.lang.String>) throws java.lang.Exception<variables>