Package com.mohamnag.jstatic.data_tree
Class DataPage
java.lang.Object
com.mohamnag.jstatic.data_tree.DataPage
This represents a page in 
DataTree. A page contains own
 data and will get compiled down to a final file.- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAllData(Map<String, Object> data) voidgetData()getPath()getRecursiveData(String key) Get value for given key first looking on own data and then recursively in parent nodes upwards.resolveRelativePath(List<String> relativePath) Will resolve a given path which is relative to this page into an absolute one that can be resolved from theDataTreefor target page.
- 
Method Details- 
getData
- 
getData
- 
getRecursiveDataGet value for given key first looking on own data and then recursively in parent nodes upwards.
- 
addData
- 
getPath- Returns:
- absolute path of this page
 
- 
getPathElements
- 
resolveRelativePathWill resolve a given path which is relative to this page into an absolute one that can be resolved from theDataTreefor target page.
- 
addAllData
 
-