public class VocabLayout
extends java.lang.Object
| Constructor and Description |
|---|
VocabLayout(java.io.File file)
Constructor for the VocabLayout object using specified file.
|
VocabLayout(java.lang.String path)
Constructor for the VocabLayout object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCollapseExpand() |
java.lang.String |
getJson() |
java.util.List |
getLayoutNodes()
Gets the top-level layoutNodes VocabLayout tree
|
java.util.List |
getNodeList()
Returns all layout nodes calculated by flattening the hierarchy of layoutNodes into a list.
|
java.lang.String |
getPath()
Gets the path of the element to be rendered using VocabLayout
|
java.lang.String |
getSmartCheckBox() |
java.lang.String |
getSource()
Gets the source attribute of the VocabLayout object
|
protected void |
init()
Parse the Document obtained from the vocabLayout source.
|
static void |
main(java.lang.String[] args)
The main program for the VocabLayout class
|
void |
report()
NOT YET DOCUMENTED
|
public VocabLayout(java.lang.String path)
throws java.lang.Exception
path - schemaPath for the element rendered using vocabLayoutjava.lang.Exception - if vocabLayout file cannot be processedpublic VocabLayout(java.io.File file)
throws java.lang.Exception
file - vocabLayout filejava.lang.Exception - if vocabLayout file cannot be processedprotected void init()
throws java.lang.Exception
java.lang.Exception - NOT YET DOCUMENTEDpublic java.lang.String getJson()
public java.lang.String getPath()
public java.lang.String getSource()
public java.lang.String getCollapseExpand()
public java.lang.String getSmartCheckBox()
public java.util.List getLayoutNodes()
public java.util.List getNodeList()
public void report()
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - The command line argumentsjava.lang.Exception - NOT YET DOCUMENTED