|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jmscts.requirements.Document
The document element is the root element of all requirements documents.
Constructor Summary | |
Document()
|
Method Summary | |
void |
addInclude(Include vInclude)
Method addInclude |
void |
addInclude(int index,
Include vInclude)
Method addInclude |
void |
addReference(int index,
Reference vReference)
Method addReference |
void |
addReference(Reference vReference)
Method addReference |
void |
addRequirement(int index,
Requirement vRequirement)
Method addRequirement |
void |
addRequirement(Requirement vRequirement)
Method addRequirement |
void |
clearInclude()
Method clearInclude |
void |
clearReference()
Method clearReference |
void |
clearRequirement()
Method clearRequirement |
java.util.Enumeration |
enumerateInclude()
Method enumerateInclude |
java.util.Enumeration |
enumerateReference()
Method enumerateReference |
java.util.Enumeration |
enumerateRequirement()
Method enumerateRequirement |
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Description |
getDescription()
Returns the value of field 'description'. |
Include[] |
getInclude()
Method getInclude |
Include |
getInclude(int index)
Method getInclude |
int |
getIncludeCount()
Method getIncludeCount |
Reference[] |
getReference()
Method getReference |
Reference |
getReference(int index)
Method getReference |
int |
getReferenceCount()
Method getReferenceCount |
Requirement[] |
getRequirement()
Method getRequirement |
Requirement |
getRequirement(int index)
Method getRequirement |
int |
getRequirementCount()
Method getRequirementCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeInclude(Include vInclude)
Method removeInclude |
boolean |
removeReference(Reference vReference)
Method removeReference |
boolean |
removeRequirement(Requirement vRequirement)
Method removeRequirement |
void |
setDescription(Description description)
Sets the value of field 'description'. |
void |
setInclude(Include[] includeArray)
Method setInclude |
void |
setInclude(int index,
Include vInclude)
Method setInclude |
void |
setReference(int index,
Reference vReference)
Method setReference |
void |
setReference(Reference[] referenceArray)
Method setReference |
void |
setRequirement(int index,
Requirement vRequirement)
Method setRequirement |
void |
setRequirement(Requirement[] requirementArray)
Method setRequirement |
static Document |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Document()
Method Detail |
public void addInclude(Include vInclude) throws java.lang.IndexOutOfBoundsException
vInclude
- public void addInclude(int index, Include vInclude) throws java.lang.IndexOutOfBoundsException
index
- vInclude
- public void addReference(Reference vReference) throws java.lang.IndexOutOfBoundsException
vReference
- public void addReference(int index, Reference vReference) throws java.lang.IndexOutOfBoundsException
index
- vReference
- public void addRequirement(Requirement vRequirement) throws java.lang.IndexOutOfBoundsException
vRequirement
- public void addRequirement(int index, Requirement vRequirement) throws java.lang.IndexOutOfBoundsException
index
- vRequirement
- public void clearInclude()
public void clearReference()
public void clearRequirement()
public java.util.Enumeration enumerateInclude()
public java.util.Enumeration enumerateReference()
public java.util.Enumeration enumerateRequirement()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- public Description getDescription()
public Include getInclude(int index) throws java.lang.IndexOutOfBoundsException
index
- public Include[] getInclude()
public int getIncludeCount()
public Reference getReference(int index) throws java.lang.IndexOutOfBoundsException
index
- public Reference[] getReference()
public int getReferenceCount()
public Requirement getRequirement(int index) throws java.lang.IndexOutOfBoundsException
index
- public Requirement[] getRequirement()
public int getRequirementCount()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- public boolean removeInclude(Include vInclude)
vInclude
- public boolean removeReference(Reference vReference)
vReference
- public boolean removeRequirement(Requirement vRequirement)
vRequirement
- public void setDescription(Description description)
description
- the value of field 'description'.public void setInclude(int index, Include vInclude) throws java.lang.IndexOutOfBoundsException
index
- vInclude
- public void setInclude(Include[] includeArray)
includeArray
- public void setReference(int index, Reference vReference) throws java.lang.IndexOutOfBoundsException
index
- vReference
- public void setReference(Reference[] referenceArray)
referenceArray
- public void setRequirement(int index, Requirement vRequirement) throws java.lang.IndexOutOfBoundsException
index
- vRequirement
- public void setRequirement(Requirement[] requirementArray)
requirementArray
- public static Document unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- public void validate() throws org.exolab.castor.xml.ValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |