|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.standards.td.TeachersDomainLexicon
public class TeachersDomainLexicon
Reads a file representing the Teacher's Domain Lexicon XML as a Standards
Document (and individual lexicon terms contained within) via the StdDocument
and Standard
classes. Provides lists of StandardsNodes
for use in UI JSP.
Constructor Summary | |
---|---|
TeachersDomainLexicon(File source)
Constructor for the TeachersDomainLexicon object |
|
TeachersDomainLexicon(StdDocument stdDoc)
Constructor for the TeachersDomainLexicon object |
Method Summary | |
---|---|
void |
destroy()
NOT YET DOCUMENTED |
String |
getAuthor()
Gets the author attribute of the TeachersDomainLexicon object |
String |
getCreated()
Gets the created attribute of the TeachersDomainLexicon object |
String |
getDocKey()
Gets the docKey attribute of the TeachersDomainLexicon object |
String |
getId()
Gets the id attribute of the TeachersDomainLexicon object |
int |
getMaxNodes()
Gets the maxNodes attribute of the TeachersDomainLexicon object |
List |
getNodeList()
Returns a flat list containing all StandardsNodes in the standardsTree. |
String |
getRendererTag()
Gets the rendererTag attribute of the TeachersDomainLexicon object |
StandardsNode |
getRootNode()
Gets the rootNode attribute of the TeachersDomainLexicon object |
StandardsNode |
getStandard(String id)
Get a StandardNode by id |
String |
getTitle()
Gets the title attribute of the TeachersDomainLexicon object |
String |
getTopic()
Gets the topic attribute of the TeachersDomainLexicon object |
void |
init(StdDocument stdDoc)
Initialize the TeachersDomainLexicon by populating the standardsMap and tree |
static void |
main(String[] args)
The main program for the TeachersDomainLexicon class |
void |
printNodeList()
Description of the Method |
void |
printStandardsDocument()
Walk down a hierarchical tree of StandardsNodes and print an indented display |
void |
setMaxNodes(int max)
Sets the maxNodes attribute of the TeachersDomainLexicon object |
int |
size()
NOT YET DOCUMENTED |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TeachersDomainLexicon(File source) throws Exception
source
- StdDocument file
Exception
- if StdDocument file cannot be processedpublic TeachersDomainLexicon(StdDocument stdDoc) throws Exception
stdDoc
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDMethod Detail |
---|
public void init(StdDocument stdDoc) throws Exception
stdDoc
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDpublic String getId()
public String getAuthor()
getAuthor
in interface StandardsDocument
public String getTopic()
getTopic
in interface StandardsDocument
public String getCreated()
public String getTitle()
public String getDocKey()
public String getRendererTag()
public void setMaxNodes(int max)
max
- The new maxNodes valuepublic int getMaxNodes()
public StandardsNode getStandard(String id)
getStandard
in interface StandardsDocument
id
- NOT YET DOCUMENTED
public StandardsNode getRootNode()
getRootNode
in interface StandardsDocument
public void printStandardsDocument()
public List getNodeList()
getNodeList
in interface StandardsDocument
public void printNodeList()
public int size()
size
in interface StandardsDocument
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- NOT YET DOCUMENTEDpublic void destroy()
destroy
in interface StandardsDocument
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |