Package | Description |
---|---|
com.google.clearsilver.jsilver.adaptor | |
org.clearsilver | |
org.clearsilver.jni |
Modifier and Type | Class and Description |
---|---|
class |
JHdf
Adaptor that wraps a JSilver Data object so it can be used as an HDF object.
|
Modifier and Type | Method and Description |
---|---|
HDF |
JHdf.getChild(String hdfpath) |
HDF |
JHdf.getObj(String hdfpath) |
HDF |
JHdf.getOrCreateObj(String hdfpath) |
HDF |
JHdf.getRootObj() |
HDF |
JHdf.objChild() |
HDF |
JHdf.objNext() |
Modifier and Type | Method and Description |
---|---|
boolean |
JHdf.belongsToSameRoot(HDF hdf) |
void |
JHdf.copy(String hdfpath,
HDF src) |
com.google.clearsilver.jsilver.adaptor.JCs |
JSilverFactory.newCs(HDF hdf) |
com.google.clearsilver.jsilver.adaptor.JCs |
JSilverFactory.newCs(HDF hdf,
HDF globalHdf) |
Modifier and Type | Class and Description |
---|---|
class |
DelegatedHdf
Utility class that delegates all methods of an HDF object.
|
Modifier and Type | Method and Description |
---|---|
HDF |
HDF.getChild(String hdfpath)
Retrieves the HDF for the first child of the root of the subtree
at hdfpath, or null if no child exists of that path or if the
path doesn't exist.
|
static HDF |
DelegatedHdf.getFullyUnwrappedHdf(HDF hdf)
Utility function for concrete ClearsilverFactories to unwrap DelegatedHdfs
and get down to a concrete (or unknown) HDF object.
|
HDF |
DelegatedCs.getGlobalHDF() |
HDF |
CS.getGlobalHDF()
Return global hdf in use
|
HDF |
DelegatedHdf.getHdf() |
HDF |
HDF.getObj(String hdfpath)
Retrieves the HDF object that is the root of the subtree at hdfpath, or
null if no object exists at that path.
|
HDF |
HDF.getOrCreateObj(String hdfpath)
Retrieves the HDF object that is the root of the subtree at
hdfpath, create the subtree if it doesn't exist
|
HDF |
HDF.getRootObj()
Return the root of the tree where the current node lies.
|
HDF |
ClearsilverFactory.newHdf()
Create a new HDF object.
|
HDF |
HDF.objChild()
Returns the child of this HDF node, or null if there is no child.
|
HDF |
HDF.objNext()
Returns the child of this HDF node, or null if there is no child.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DelegatedHdf.belongsToSameRoot(HDF hdf) |
boolean |
HDF.belongsToSameRoot(HDF hdf)
Checks if the given hdf object belongs to the same root HDF object
as this one.
|
void |
DelegatedHdf.copy(String hdfpath,
HDF src) |
void |
HDF.copy(String hdfpath,
HDF src)
Deep copy of the contents of the source HDF structure to this HDF
starting at the specified HDF path node.
|
static HDF |
DelegatedHdf.getFullyUnwrappedHdf(HDF hdf)
Utility function for concrete ClearsilverFactories to unwrap DelegatedHdfs
and get down to a concrete (or unknown) HDF object.
|
static List<String> |
CSUtil.getLoadPaths(HDF hdf)
Helper function that returns a concatenation of the loadpaths in the
provided HDF.
|
static List<String> |
CSUtil.getLoadPaths(HDF hdf,
boolean allowEmpty)
Helper function that returns a concatenation of the loadpaths in the
provided HDF.
|
String |
CSFileLoader.load(HDF hdf,
String filename)
Callback method that is expected to return the contents of the specified
file as a string.
|
CS |
ClearsilverFactory.newCs(HDF hdf)
Create a new CS object.
|
CS |
ClearsilverFactory.newCs(HDF hdf,
HDF globalHdf)
Create a new CS object.
|
protected abstract DelegatedHdf |
DelegatedHdf.newDelegatedHdf(HDF hdf)
Method subclasses are required to override with a method that returns a
new DelegatedHdf object that wraps the specified HDF object.
|
protected abstract DelegatedHdf |
DelegatedCs.newDelegatedHdf(HDF hdf)
Method subclasses are required to override with a method that returns a
new DelegatedHdf object that wraps the specified HDF object.
|
void |
DelegatedCs.setGlobalHDF(HDF global) |
void |
CS.setGlobalHDF(HDF global)
Specify a new/different global HDF
|
Constructor and Description |
---|
DelegatedHdf(HDF hdf) |
Modifier and Type | Class and Description |
---|---|
class |
JniHdf
This class is a wrapper around the HDF C API.
|
Modifier and Type | Method and Description |
---|---|
HDF |
JniCs.getGlobalHDF() |
HDF |
JniClearsilverFactory.newHdf()
Create a new HDF object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JniHdf.belongsToSameRoot(HDF hdf) |
void |
JniHdf.copy(String hdfpath,
HDF src) |
CS |
JniClearsilverFactory.newCs(HDF hdf)
Create a new CS object.
|
CS |
JniClearsilverFactory.newCs(HDF hdf,
HDF globalHdf)
Create a new CS object.
|
protected JniHdf |
JniHdf.newHdf(long hdfptr,
HDF parent)
Constructs an HDF child node.
|
void |
JniCs.setGlobalHDF(HDF global) |
Copyright © 2010-2014 Google. All Rights Reserved.