|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.documentserver.schemestrategy.DocumentMap
public final class DocumentMap
Implementation of the MappedDocumentRepository.
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. |
String |
getDocument(URI uri)
Gets the document with the given URI. |
static DocumentMap |
getInstance()
Gets the singleton. |
URI |
getUri(String ssp)
Gets an URI that can be evaluated by this scheme strategy for the given ssp. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DocumentMap getInstance()
public URI getUri(String ssp)
getUri in interface MappedDocumentRepositoryssp - Scheme specific part
null in case of an
error.
public void addDocument(URI uri,
String document)
addDocument in interface MappedDocumentRepositoryuri - URI as a key for later retrieval.document - Document to be added.
public void addDocument(URI uri,
VoiceXmlDocument document)
addDocument in interface MappedDocumentRepositoryuri - URI as a key for later retrieval.document - Document to be added.
public String getDocument(URI uri)
throws BadFetchError
uri - URI of the document.
null if
there is no such document or in case of an error.
BadFetchError - There is no such document.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||