snaker-core/src/main/java/org/snaker/engine/parser/impl/SubProcessParser.java
protected void parseNode(NodeModel node, Element element) {
		SubProcessModel model = (SubProcessModel)node;
		model.setProcessName(element.getAttribute(ATTR_PROCESSNAME));
		String version = element.getAttribute(ATTR_VERSION);
		int ver = 0;
        if(NumberUtils.isNumber(version)) {
        	ver = Integer.parseInt(version);
        }
		model.setVersion(ver);
		String form = element.getAttribute(ATTR_FORM);
		if(StringHelper.isNotEmpty(form)) {
			model.setForm(form);
		} else {
			model.setForm(ConfigHelper.getProperty("subprocessurl"));
		}
	}
protected void parseNode(NodeModel node, Element element) {
		SubProcessModel model = (SubProcessModel)node;
		model.setProcessName(element.getAttribute(ATTR_PROCESSNAME));
		String version = element.getAttribute(ATTR_VERSION);
		int ver = 0;
        if(NumberUtils.isNumber(version)) {
        	ver = Integer.parseInt(version);
        }
		model.setVersion(ver);
		String form = element.getAttribute(ATTR_FORM);
		if(StringHelper.isNotEmpty(form)) {
			model.setForm(form);
		} else {
			model.setForm(ConfigHelper.getProperty("subprocessurl"));
		}
	}
protected void parseNode ( NodeModel node , Element element ) { SubProcessModel model = ( SubProcessModel ) node ; model . setProcessName ( element . getAttribute ( ATTR_PROCESSNAME ) ) ; String version = element . getAttribute ( ATTR_VERSION ) ; int ver = 0 ; if ( NumberUtils . isNumber ( version ) ) { ver = Integer . parseInt ( version ) ; } model . setVersion ( ver ) ; String form = element . getAttribute ( ATTR_FORM ) ; if ( StringHelper . isNotEmpty ( form ) ) { model . setForm ( form ) ; } else { model . setForm ( ConfigHelper . getProperty ( "subprocessurl" ) ) ; } }
解析decisition节点的特有属性expr
解析decisition节点的特有属性expr