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