/external/jsilver/src/org/clearsilver/ |
DelegatedCs.java | 26 * This class, and its subclasses must take care to wrap or unwrap HDF and CS 34 // Give it an empty HDF. We aren't going to be using the super object anyways. 44 * new DelegatedHdf object that wraps the specified HDF object. 46 * @param hdf an HDF object that should be wrapped in a new DelegatedHdf 49 * given HDF object. 51 protected abstract DelegatedHdf newDelegatedHdf(HDF hdf); 53 public void setGlobalHDF(HDF global) { 60 public HDF getGlobalHDF() 61 HDF hdf = getCs().getGlobalHDF(); local [all...] |
DelegatedHdf.java | 25 * Utility class that delegates all methods of an HDF object. Made to 26 * facilitate the transition to HDF being an interface and thus not 29 * This class, and its subclasses must take care to wrap or unwrap HDF and CS 32 public abstract class DelegatedHdf implements HDF { 34 private final HDF hdf; field in class:DelegatedHdf 36 public DelegatedHdf(HDF hdf) { 37 if (hdf == null) { 38 throw new NullPointerException("Null HDF is not allowed in constructor of DelegatedHdf.") 133 HDF hdf = getHdf().getObj(hdfpath); local 138 HDF hdf = getHdf().getChild(hdfpath); local 143 HDF hdf = getHdf().getRootObj(); local 152 HDF hdf = getHdf().getOrCreateObj(hdfpath); local 165 HDF hdf = getHdf().objChild(); local 170 HDF hdf = getHdf().objNext(); local [all...] |
/external/doclava/src/com/google/doclava/ |
DocFile.java | 55 Data hdf = Doclava.makeHDF(); local 81 hdf.setValue(key, value); 97 String fromTemplate = hdf.getValue("template.which", ""); 98 String fromPage = hdf.getValue("page.onlyfortemplate", ""); 109 TagInfo.makeHDF(hdf, "root.descr", tags); 111 hdf.setValue("commentText", commentText); 115 String fromWhichmodule = hdf.getValue("android.whichmodule", ""); 118 hdf.setValue("online-pdk", "true"); 121 ClearPage.write(hdf, "docpage.cs", outfile); 124 hdf.setValue("sdk", "true") [all...] |
SampleCode.java | 107 Data hdf = writeIndex(dir); local 108 hdf.setValue("subdir", subdir); 111 hdf.setValue("subdirs." + i + ".name", d); 116 hdf.setValue("files." + i + ".name", f); 117 hdf.setValue("files." + i + ".href", convertExtension(f, ".html")); 122 ClearPage.write(hdf, "sampleindex.cs", relative + "index" + Doclava.htmlExtension); 126 Data hdf = Doclava.makeHDF(); local 128 hdf.setValue("page.title", dir.getName() + " - " + mTitle); 129 hdf.setValue("projectTitle", mTitle); 139 hdf.setValue("summary", summary) 153 Data hdf = Doclava.makeHDF(); local 168 Data hdf = Doclava.makeHDF(); local [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/compatibility/ |
ClearsilverRenderer.java | 28 import org.clearsilver.HDF; 63 public String load(HDF hdf, String filename) throws IOException { 68 HDF hdf = factory.newHdf(); local 70 // Copy the Data into the HDF. 71 hdf.readString(data.toString()); 73 CS cs = factory.newCs(hdf); 82 hdf.close();
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
ResourceLoaderAdaptor.java | 39 private final JHdf hdf; field in class:ResourceLoaderAdaptor 44 ResourceLoaderAdaptor(JHdf hdf, LoadPathToFileCache loadPathCache, CSFileLoader csFileLoader) { 45 this.hdf = hdf; 53 if (hdf.getData() == null) { 54 throw new IllegalStateException("HDF is already closed"); 56 return new StringReader(csFileLoader.load(hdf, name)); 211 if (hdf.getData() == null) { 212 throw new IllegalStateException("HDF is already closed"); 214 loadPaths = CSUtil.getLoadPaths(hdf, true) [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyRunnerHelp.java | 148 Data hdf = buildHelpHdf(jsilver); local 149 return jsilver.render(format + ".cs", hdf); 153 } else if ("hdf".equals(format)) { 154 Data hdf = buildHelpHdf(jsilver); local 155 return hdf.toString(); 162 * HDF under this specified prefix. Each paragraph will appear 171 * @param hdf the HDF to add the entries to. 173 private static void paragraphsIntoHDF(String prefix, String value, Data hdf) { 177 hdf.setValue(prefix + "." + x, para) 183 Data hdf = jsilver.createData(); local [all...] |