|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This Interface enables calling classes to gain access to resources that are identified by unique String identifiers. Implementing classes need to be able to map the identifiers to resources in order to return the correct instances
Method Summary | |
org.w3c.dom.Document |
openAsDom(java.lang.String id)
method to return a DOM Document rather than a Reader Since the real purppose is to provide the source for an XSLT transform a DOM can passed instead of a Reader. |
java.io.Reader |
openAsReader(java.lang.String id)
method to return a Reader object, which will provide access to a character-based resource. |
Method Detail |
public java.io.Reader openAsReader(java.lang.String id) throws DocumentNotFoundException
id
- a unique identifier used to determine what resource to return
DocumentNotFoundException
- if id does not point to a document, or
if requested document exists but cannot be accessed.public org.w3c.dom.Document openAsDom(java.lang.String id)
id
- a unique identifier used to determine what resource to return
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |