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