|
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.standards.commcore.StdDocument
public class StdDocument
Encapsulates an ASN Standards Document by reading the source XML file and creating a hierarchy of Standard instances. Also provides lookup for Standards by their id.
Constructor Summary | |
---|---|
StdDocument(String path)
Constructor for the StdDocument object given the path to an XML file. |
Method Summary | |
---|---|
String |
getAuthor()
Gets the author attribute of the StdDocument object |
String |
getDescription()
Gets the description attribute of the StdDocument object |
String |
getFileCreated()
Gets the fileCreated attribute of the StdDocument object |
String |
getIdentifier()
Gets the identifier attribute of the StdDocument object |
Set |
getIdentifiers()
Gets the lisf of asn IDs defined by the StdDocument object |
String |
getPath()
Gets the path attribute of the StdDocument object |
Standard |
getRootStandard()
Gets the rootStandard attribute of the StdDocument object |
Standard |
getStandard(String id)
Gets the Standard having provicded id |
Collection |
getStandards()
Gets all standards contained in this StdDocument |
List |
getStandardsAtLevel(int level)
Gets the standards at the specified level of the standards hierarchy of the StdDocument object |
String |
getTitle()
Gets the title attribute of the StdDocument object |
String |
getTopic()
Gets the topic attribute of the StdDocument object |
String |
getUid()
Gets the uid attribute of the StdDocument object |
String |
getVersion()
Gets the version attribute of the StdDocument object |
static void |
main(String[] args)
The main program for the StdDocument class |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StdDocument(String path) throws Exception
path
- Description of the Parameter
Exception
- Description of the ExceptionMethod Detail |
---|
public String getPath()
public String getFileCreated()
public String getIdentifier()
public String getUid()
public String getTitle()
public String getDescription()
public String getVersion()
public String getAuthor()
public String getTopic()
public Standard getRootStandard()
public Standard getStandard(String id)
id
- Description of the Parameter
public Collection getStandards()
public List getStandardsAtLevel(int level)
level
- Description of the Parameter
public Set getIdentifiers()
public String toString()
toString
in class Object
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- Description of the Exception
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |