public class StdDocument
extends java.lang.Object
Constructor and Description |
---|
StdDocument(java.lang.String path)
Constructor for the StdDocument object given the path to an XML file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor()
Gets the author attribute of the StdDocument object
|
java.lang.String |
getDescription()
Gets the description attribute of the StdDocument object
|
java.lang.String |
getFileCreated()
Gets the fileCreated attribute of the StdDocument object
|
java.lang.String |
getIdentifier()
Gets the identifier attribute of the StdDocument object
|
java.util.Set |
getIdentifiers()
Gets the lisf of asn IDs defined by the StdDocument object
|
java.lang.String |
getPath()
Gets the path attribute of the StdDocument object
|
Standard |
getRootStandard()
Gets the rootStandard attribute of the StdDocument object
|
Standard |
getStandard(java.lang.String id)
Gets the Standard having provicded id
|
java.util.Collection |
getStandards()
Gets all standards contained in this StdDocument
|
java.util.List |
getStandardsAtLevel(int level)
Gets the standards at the specified level of the standards hierarchy of the
StdDocument object
|
java.lang.String |
getTitle()
Gets the title attribute of the StdDocument object
|
java.lang.String |
getTopic()
Gets the topic attribute of the StdDocument object
|
java.lang.String |
getUid()
Gets the uid attribute of the StdDocument object
|
java.lang.String |
getVersion()
Gets the version attribute of the StdDocument object
|
static void |
main(java.lang.String[] args)
The main program for the StdDocument class
|
java.lang.String |
toString()
Description of the Method
|
public StdDocument(java.lang.String path) throws java.lang.Exception
path
- Description of the Parameterjava.lang.Exception
- Description of the Exceptionpublic java.lang.String getPath()
public java.lang.String getFileCreated()
public java.lang.String getIdentifier()
public java.lang.String getUid()
public java.lang.String getTitle()
public java.lang.String getDescription()
public java.lang.String getVersion()
public java.lang.String getAuthor()
public java.lang.String getTopic()
public Standard getRootStandard()
public Standard getStandard(java.lang.String id)
id
- Description of the Parameterpublic java.util.Collection getStandards()
public java.util.List getStandardsAtLevel(int level)
level
- Description of the Parameterpublic java.util.Set getIdentifiers()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
- Description of the Exception