|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.xml.SchemaReplyCollectionMapper
Used to map schema URIs to Reply Collections.
Uses the singleton pattern.
Used by the RichInfoLoader, which is responsible for creating this mapping
Method Summary | |
void |
add(java.lang.String schemaURI,
LimeXMLReplyCollection replyCollection)
Adds the SchemaURI to a HashMap with the replyCollection. |
LimeXMLReplyCollection |
getReplyCollection(java.lang.String schemaURI)
Looks up and returns the LimeXMLReplyCollection value for the supplied schemaURI key. |
static SchemaReplyCollectionMapper |
instance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static SchemaReplyCollectionMapper instance()
public void add(java.lang.String schemaURI, LimeXMLReplyCollection replyCollection)
Warning/Note:If the schemaURI already corresponds to a ReplyCollection this method will replace thet old reply collection with the new one. The old collection will be lost!
public LimeXMLReplyCollection getReplyCollection(java.lang.String schemaURI)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |