1 19 package org.netbeans.modules.turbo; 20 21 28 final class DefaultTurboProvider implements TurboProvider { 29 30 private static final TurboProvider DEFAULT_INSTANCE = new DefaultTurboProvider(); 31 32 public static TurboProvider getDefault() { 33 return DEFAULT_INSTANCE; 34 } 35 36 private DefaultTurboProvider() { 37 } 38 39 public boolean recognizesAttribute(String name) { 40 return true; 41 } 42 43 public boolean recognizesEntity(Object key) { 44 return true; 45 } 46 47 public Object readEntry(Object key, String name, MemoryCache memoryCache) { 48 return null; 49 } 50 51 public boolean writeEntry(Object key, String name, Object value) { 52 return true; 53 } 54 55 public String toString() { 56 return "DefaultTurboProvider a NOP implementation"; } 58 } 59 | Popular Tags |