Esempio n. 1
0
 public FileReferenceFactory getFileReferenceFactory() {
   FileReferenceFactory referenceFactory = new FileReferenceFactory();
   for (Map.Entry<String, File> entry : pathVariables.entrySet()) {
     referenceFactory.addPathVariable(entry.getKey(), entry.getValue());
   }
   return referenceFactory;
 }
Esempio n. 2
0
 public Variable(Node node, FileReferenceFactory fileReferenceFactory) {
   super(node, fileReferenceFactory);
   setSourcePath(fileReferenceFactory.fromVariablePath((String) node.attribute("sourcepath")));
 }