Searched defs:hdf (Results 1 - 16 of 16) sorted by relevance

/external/jsilver/src/org/clearsilver/
H A DCSFileLoader.java29 * @param hdf the HDF structure associated with HDF or CS object making the
34 public String load(HDF hdf, String filename) throws IOException; argument
H A DClearsilverFactory.java28 * @param hdf the HDF object to use in constructing the CS object.
31 public CS newCs(HDF hdf); argument
35 * @param hdf the HDF object to use in constructing the CS object.
40 public CS newCs(HDF hdf, HDF globalHdf); argument
H A DCSUtil.java30 public static final String HDF_LOADPATHS = "hdf.loadpaths";
35 * @param hdf an HDF structure containing load paths.
39 public static List<String> getLoadPaths(HDF hdf) { argument
40 return getLoadPaths(hdf, false);
46 * @param hdf an HDF structure containing load paths.
55 public static List<String> getLoadPaths(HDF hdf, boolean allowEmpty) { argument
57 HDF loadpathsHdf = hdf.getObj(HDF_LOADPATHS);
H A DDelegatedCs.java46 * @param hdf an HDF object that should be wrapped in a new DelegatedHdf
51 protected abstract DelegatedHdf newDelegatedHdf(HDF hdf); argument
61 HDF hdf = getCs().getGlobalHDF();
62 return hdf != null ? newDelegatedHdf(hdf) : null;
H A DDelegatedHdf.java34 private final HDF hdf; field in class:DelegatedHdf
36 public DelegatedHdf(HDF hdf) { argument
37 if (hdf == null) {
40 this.hdf = hdf;
46 * @param hdf the possibly DelegatedHdf to unwrap
49 public static HDF getFullyUnwrappedHdf(HDF hdf) { argument
50 while (hdf instanceof DelegatedHdf) {
51 hdf = ((DelegatedHdf)hdf)
69 newDelegatedHdf(HDF hdf) argument
147 belongsToSameRoot(HDF hdf) argument
[all...]
H A DHDF.java92 * Links the src hdf name to the dest.
129 * Checks if the given hdf object belongs to the same root HDF object
132 * @param hdf The hdf object to compare to.
133 * @throws IllegalArgumentException If the supplied hdf object is from
136 boolean belongsToSameRoot(HDF hdf); argument
/external/jsilver/src/org/clearsilver/jni/
H A DJniClearsilverFactory.java59 * @param hdf the HDF object to use in constructing the CS object.
62 public CS newCs(HDF hdf) { argument
64 hdf = DelegatedHdf.getFullyUnwrappedHdf(hdf);
66 return new JniCs(JniHdf.cast(hdf));
72 * @param hdf the HDF object to use in constructing the CS object.
77 public CS newCs(HDF hdf, HDF globalHdf) { argument
79 hdf = DelegatedHdf.getFullyUnwrappedHdf(hdf);
82 return new JniCs(JniHdf.cast(hdf), JniHd
[all...]
H A DJniHdf.java43 static JniHdf cast(HDF hdf) { argument
44 if (!(hdf instanceof JniHdf)) {
49 return (JniHdf)hdf;
205 /** Links the src hdf name to the dest. */
312 public boolean belongsToSameRoot(HDF hdf) { argument
313 JniHdf jniHdf = cast(hdf);
/external/doclava/src/com/google/doclava/
H A DDocFile.java71 public static Data getPageMetadata (String docfile, Data hdf) { argument
73 if (hdf == null) {
74 hdf = Doclava.makeHDF();
95 hdf.setValue(key, value);
109 return hdf;
112 public static void writePage(String docfile, String relative, String outfile, Data hdf) { argument
118 if (hdf == null) {
119 hdf = Doclava.makeHDF();
140 hdf.setValue(key, value);
156 String fromTemplate = hdf
[all...]
H A DHierarchy.java26 public static void makeHierarchy(Data hdf, ClassInfo[] classes) { argument
59 hdf.setValue("classes.0", "");
60 hdf.setValue("colspan", "" + depth);
62 recurse(nodes, "java.lang.Object", hdf.getChild("classes.0"), depth, depth);
94 private static void recurse(HashMap<String, TreeSet<String>> nodes, String name, Data hdf, argument
98 hdf.setValue("indent", "" + (totalDepth - remainingDepth - 1));
99 hdf.setValue("colspan", "" + remainingDepth);
103 hdf.setValue("class.label", cl.name());
104 hdf.setValue("class.qualified", cl.qualifiedName());
106 hdf
[all...]
H A DPageMetadata.java51 * metadata based on the page's declared hdf vars (meta.tags and others)
120 * @param hdf Data object in which to store the metadata values.
124 Data hdf, List<Node> tagList) {
126 boolean excludeNode = "true".equals(hdf.getValue("excludeFromSuggestions",""));
129 Boolean needsSummary = "".equals(hdf.getValue("page.metaDescription", ""));
130 Boolean needsImage = "".equals(hdf.getValue("page.image", ""));
133 inferMetadata(docfile, hdf, needsSummary, needsImage);
139 pageMeta.setLabel(getTitleNormalized(hdf, "page.title"));
140 pageMeta.setTitleFriendly(hdf.getValue("page.titleFriendly",""));
141 pageMeta.setSummary(hdf
123 setPageMetadata(String docfile, String dest, String filename, Data hdf, List<Node> tagList) argument
164 inferMetadata(String docfile, Data hdf, Boolean needsSummary, Boolean needsImage) argument
274 getPageTagsNormalized(Data hdf, String tag) argument
321 getStringValueNormalized(Data hdf, String tag) argument
347 getTitleNormalized(Data hdf, String tag) argument
[all...]
H A DSampleCode.java88 Data hdf = Doclava.makeHDF();
91 Node rootNode = writeSampleIndexCs(hdf, f,
114 Data hdf = Doclava.makeHDF();
116 hdf.setValue("samples_toc_tree", Doclava.samplesNavTree.getValue("samples_toc_tree", ""));
118 hdf.setValue("samples", "true");
119 hdf.setValue("projectDir", mProjectDir);
120 writeProjectDirectory(f, mDest, false, hdf, "Files.");
121 writeProjectStructure(name, hdf);
122 hdf.removeTree("parentdirs");
123 hdf
180 writeProjectDirectory(File dir, String relative, Boolean recursed, Data hdf, String newkey) argument
279 writeSampleIndexCs(Data hdf, File dir, Node tnode, boolean writeFiles) argument
322 writeProjectStructure(String dir, Data hdf) argument
340 setParentDirs(Data hdf, String subdir, String name, Boolean isFile) argument
360 writePage(File f, String out, String subdir, Data hdf) argument
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
H A DJSilverFactory.java80 public JCs newCs(HDF hdf) { argument
82 hdf = DelegatedHdf.getFullyUnwrappedHdf(hdf);
84 return new JCs(JHdf.cast(hdf), jSilver, loadPathCache);
88 public JCs newCs(HDF hdf, HDF globalHdf) { argument
90 hdf = DelegatedHdf.getFullyUnwrappedHdf(hdf);
93 JCs cs = new JCs(JHdf.cast(hdf), jSilver, loadPathCache);
H A DJCs.java46 JCs(JHdf hdf, JSilver jSilver, LoadPathToFileCache loadPathCache) { argument
47 this.localHdf = hdf;
H A DResourceLoaderAdaptor.java39 private final JHdf hdf; field in class:ResourceLoaderAdaptor
44 ResourceLoaderAdaptor(JHdf hdf, LoadPathToFileCache loadPathCache, CSFileLoader csFileLoader) { argument
45 this.hdf = hdf;
53 if (hdf.getData() == null) {
56 return new StringReader(csFileLoader.load(hdf, name));
211 if (hdf.getData() == null) {
214 loadPaths = CSUtil.getLoadPaths(hdf, true);
H A DJHdf.java56 static JHdf cast(HDF hdf) { argument
57 if (!(hdf instanceof JHdf)) {
62 return (JHdf) hdf;
194 public boolean belongsToSameRoot(HDF hdf) { argument
195 JHdf jHdf = cast(hdf);

Completed in 148 milliseconds