|
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.asn.AsnDocument
public class AsnDocument
Encapsulates an ASN Standards Document by reading the source XML file and creating a hierarchy of AsnStandard instances. Also provides lookup for AsnStandards by their id.
Constructor Summary | |
---|---|
AsnDocument(File file)
Constructor for the AsnDocument object given the path to an ASN XML file. |
Method Summary | |
---|---|
boolean |
authorIsAAAS()
Returns true if |
boolean |
authorIsColorado()
Returns true if the author of this AsnDocument is Colorado |
String |
getAuthor()
Gets the author attribute of the AsnDocument object |
String |
getAuthor(AsnAuthors authors)
Gets the author attribute of the AsnDocument object |
String |
getAuthorPurl()
Gets the authorPurl attribute of the AsnDocument object |
String |
getCreated()
Gets the created attribute of the AsnDocument object |
String |
getDescription()
Gets the description attribute of the AsnDocument object |
String |
getFileCreated()
Gets the fileCreated attribute of the AsnDocument object |
String |
getIdentifier()
Gets the identifier attribute of the AsnDocument object (the full ASN Purl id) |
Set |
getIdentifiers()
Gets the list of asn IDs defined by the AsnDocument object |
String |
getPath()
Gets the path attribute of the AsnDocument object |
AsnStandard |
getRootStandard()
Gets the rootStandard attribute of the AsnDocument object |
AsnStandard |
getStandard(String id)
Gets the AsnStandard having provicded id |
Collection |
getStandards()
Gets all standards contained in this AsnDocument |
List |
getStandardsAtLevel(int level)
Gets the standards at the specified level of the standards hierarchy of the AsnDocument object |
String |
getTitle()
Gets the title attribute of the AsnDocument object |
String |
getTopic()
Gets the topic attribute of the AsnDocument object |
String |
getTopic(AsnTopics topics)
Gets the topic attribute of the AsnDocument object |
String |
getTopicPurl()
Gets the topicPurl attribute of the AsnDocument object |
String |
getUid()
Gets the unique part of the ASN purl id |
String |
getVersion()
Gets the version attribute of the AsnDocument object |
static void |
main(String[] args)
The main program for the AsnDocument 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 AsnDocument(File file) throws Exception
path
- Description of the Parameter
Exception
- Description of the ExceptionMethod Detail |
---|
public String getPath()
public String getFileCreated()
public String getCreated()
public String getIdentifier()
public String getUid()
public String getTitle()
public String getDescription()
public String getVersion()
public String getAuthorPurl()
public String getAuthor()
public String getAuthor(AsnAuthors authors)
authors
- Description of the Parameter
public String getTopicPurl()
public String getTopic()
public String getTopic(AsnTopics topics)
topics
- Description of the Parameter
public AsnStandard getRootStandard()
public AsnStandard getStandard(String id)
id
- Description of the Parameter
public Collection getStandards()
public List getStandardsAtLevel(int level)
level
- Description of the Parameter
public boolean authorIsColorado()
public boolean authorIsAAAS()
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 |