|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines all the DTD access methods. All the methods throw the following exceptions:
DTD Identifiers are of the form: 'root of project' + IDataConstants.SEP_MAJOR + 'ID'
For example: file:///home/ept/BEOWULF/cotlib.damage where "file:///home/ept/BEOWULF" is the root of the project and "cotlib.damage" is the specific identifier of the DTD.
| Method Summary | |
String |
getDTD(String ID)
Retrieves the specified DTD |
boolean |
storeDTD(String ID,
String content,
boolean force)
Creates a new DTD resource with the given content. |
| Method Detail |
public String getDTD(String ID)
throws MalformedAddressException,
ResourceNotFoundException,
IOException
ID - identifier of the DTD
ResourceNotFoundException - if the resource doesnt exist
MalformedAddressException
IOException
public boolean storeDTD(String ID,
String content,
boolean force)
throws MalformedAddressException,
IOException
ID - the identifier for the DTDcontent - DTD contentforce - if true, then the resource is overwritten if it already exists
MalformedAddressException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||