public BpmnParse sourceString(String string) { if (name == null) { name("string"); } setStreamSource(new StringStreamSource(string)); return this; }
public BpmnParse sourceUrl(URL url) { if (name == null) { name(url.toString()); } setStreamSource(new UrlStreamSource(url)); return this; }
public BpmnParse sourceResource(String resource, ClassLoader classLoader) { if (name == null) { name(resource); } setStreamSource(new ResourceStreamSource(resource, classLoader)); return this; }
public BpmnParse sourceInputStream(InputStream inputStream) { if (name == null) { name("inputStream"); } setStreamSource(new InputStreamSource(inputStream)); return this; }