Searched refs:HDF (Results 1 - 14 of 14) sorted by relevance

/external/jsilver/src/org/clearsilver/
H A DClearsilverFactory.java20 * A factory for constructing new CS and HDF objects. Allows applications to
21 * provide subclasses of HDF or CS to be used by the Java Clearsilver
28 * @param hdf the HDF object to use in constructing the CS object.
31 public CS newCs(HDF hdf);
35 * @param hdf the HDF object to use in constructing the CS object.
36 * @param globalHdf the global HDF object to use in constructing the
40 public CS newCs(HDF hdf, HDF globalHdf);
43 * Create a new HDF object.
44 * @return a new HDF objec
[all...]
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;
H A DHDF.java25 * This interface establishes the API for an HDF data structure used by
28 public interface HDF extends Closeable { interface in inherits:Closeable
36 * Loads the contents of the specified HDF file from disk into the current
37 * HDF object. The loaded contents are merged with the existing contents.
54 * Serializes HDF contents to a file (readable by readFile)
59 * Parses/loads the contents of the given string as HDF into the current
60 * HDF object. The loaded contents are merged with the existing contents.
65 * Serializes HDF contents to a string (readable by readString)
70 * Retrieves the integer value at the specified path in this HDF node's
77 * Retrieves the value at the specified path in this HDF nod
[all...]
H A DCS.java25 * Specify a new/different global HDF
27 void setGlobalHDF(HDF global);
32 HDF getGlobalHDF();
41 * be located using the HDF's loadpaths.
56 * Generate output from the CS templates and HDF objects that have been read
H A DDelegatedCs.java26 * 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();
H A DDelegatedHdf.java25 * 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;
36 public DelegatedHdf(HDF hdf) {
38 throw new NullPointerException("Null HDF is not allowed in constructor of DelegatedHdf.");
45 * and get down to a concrete (or unknown) HDF object.
47 * @return the innermost non-DelegatedHdf HDF object.
49 public static HDF getFullyUnwrappedHd
[all...]
H A DCSUtil.java34 * provided HDF.
35 * @param hdf an HDF structure containing load paths.
39 public static List<String> getLoadPaths(HDF hdf) {
45 * provided HDF.
46 * @param hdf an HDF structure containing load paths.
48 * no loadpaths are found in the HDF object, otherwise a
55 public static List<String> getLoadPaths(HDF hdf, boolean allowEmpty) {
57 HDF loadpathsHdf = hdf.getObj(HDF_LOADPATHS);
62 throw new NullPointerException("No HDF loadpaths located in the "
63 + "specified HDF structur
[all...]
/external/jsilver/src/org/clearsilver/jni/
H A DJniClearsilverFactory.java22 import org.clearsilver.HDF;
43 * {@link org.clearsilver.HDF} object to the {@link org.clearsilver.CS}
46 * Developers that want strict checking that the HDF passed to newCs matches
47 * HDF objects constructed by newHDF may want to pass in {@code false}.
49 * @param unwrapDelegatedHdfs true if {@link org.clearsilver.HDF}s passed to
59 * @param hdf the HDF object to use in constructing the CS object.
62 public CS newCs(HDF hdf) {
72 * @param hdf the HDF object to use in constructing the CS object.
73 * @param globalHdf the global HDF object to use in constructing the
77 public CS newCs(HDF hd
[all...]
H A DJniCs.java21 import org.clearsilver.HDF;
54 // Specify a new/different global HDF
55 public void setGlobalHDF(HDF global) {
62 public HDF getGlobalHDF() {
80 * be located using the HDF's loadpaths.
H A DJniHdf.java20 import org.clearsilver.HDF;
28 * This class is a wrapper around the HDF C API. Many features of the C API
31 public class JniHdf implements HDF {
33 long hdfptr; // stores the C HDF* pointer
34 JniHdf root; // If this is a child HDF node, points at the root node of
43 static JniHdf cast(HDF hdf) {
45 throw new IllegalArgumentException("HDF object not of type JniHdf. "
47 + "related HDF and CS objects.");
65 /** Constructs an HDF child node. Used by other methods in this class when
68 protected JniHdf newHdf(long hdfptr, HDF paren
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
H A DJSilverFactory.java27 import org.clearsilver.HDF;
30 * ClearsilverFactory that adapts JSilver for use as any HDF/CS rendering engine.
80 public JCs newCs(HDF hdf) {
88 public JCs newCs(HDF hdf, HDF globalHdf) {
H A DJHdf.java26 import org.clearsilver.HDF;
35 * Adaptor that wraps a JSilver Data object so it can be used as an HDF object.
37 public class JHdf implements HDF {
56 static JHdf cast(HDF hdf) {
58 throw new IllegalArgumentException("HDF object not of type JHdf. "
60 + "related HDF and CS objects.");
114 throw new JSilverBadSyntaxException("HDF parsing error : '" + errorMessage + "'",
160 public HDF getObj(String hdfpath) {
166 public HDF getChild(String hdfpath) {
184 public HDF getRootOb
[all...]
H A DJCs.java29 import org.clearsilver.HDF;
63 public void setGlobalHDF(HDF global) {
68 public HDF getGlobalHDF() {
128 // the new modification protection for global HDF.
138 // For Clearsilver compatibility we check this HDF variable to see if we
/external/jsilver/src/com/google/clearsilver/jsilver/compatibility/
H A DClearsilverRenderer.java28 import org.clearsilver.HDF;
63 public String load(HDF hdf, String filename) throws IOException {
68 HDF hdf = factory.newHdf();
70 // Copy the Data into the HDF.

Completed in 175 milliseconds