|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappedDocumentRepository
Simple VoiceXML document repository based on a map mechanism.
Documents are stored in the map with their URI as a key.
This URI defines it's own scheme jvxmlmap.
Main purpose of this repository is to have an easy and lightweight in-memory repository for fast tests.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Method Summary | |
|---|---|
void |
addDocument(URI uri,
String document)
Adds the given document to this repository. |
void |
addDocument(URI uri,
VoiceXmlDocument document)
Adds the given document to this repository. |
URI |
getUri(String ssp)
Gets an URI that can be evaluated by this scheme strategy for the given ssp. |
| Method Detail |
|---|
URI getUri(String ssp)
ssp - Scheme specific part
null in case of an
error.
void addDocument(URI uri,
String document)
uri - URI as a key for later retrieval.document - Document to be added.
void addDocument(URI uri,
VoiceXmlDocument document)
uri - URI as a key for later retrieval.document - Document to be added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||