private static final Pattern ALIAS_MATCHER_PATTERN = Pattern.compile("[\"'][\\S ]+[\"']|<\\S+[\\s/>]");
private static final Pattern QUOTED_SOURCE_MODULE_MATCHER_PATTERN = Pattern.compile("[\"']\\S+[\"']");
private static final Pattern SOURCE_MODULE_MATCHER_PATTERN = Pattern.compile(".*", Pattern.DOTALL);
public static TrieFactory getFactoryForAssetContainer(AssetContainer assetContainer) {
NodeProperties nodeProperties = assetContainer.nodeProperties("TrieFactory");
if(nodeProperties.getTransientProperty("trieFactoryInstance") == null) {
nodeProperties.setTransientProperty("trieFactoryInstance", new TrieFactory(assetContainer));
}
return (TrieFactory) nodeProperties.getTransientProperty("trieFactoryInstance");
}