EchoPoint
2.1.0rc4

echopointng.text
Class AutoLookupService

java.lang.Object
  extended byechopointng.text.AutoLookupService
All Implemented Interfaces:
nextapp.echo2.webrender.Service

public class AutoLookupService
extends java.lang.Object
implements nextapp.echo2.webrender.Service

AutoLookupService is used to provide data to a AutoLookupTextFieldEx component in an asynchronous manner.


Field Summary
static AutoLookupService INSTANCE
          The singleton AutoLookupService
 
Fields inherited from interface nextapp.echo2.webrender.Service
DO_NOT_CACHE
 
Constructor Summary
AutoLookupService()
           
 
Method Summary
static org.w3c.dom.Element createEntryXml(org.w3c.dom.Document document, AutoLookupModel.Entry entry)
          Creates the "entry" XML message that represents this Entry
 void deregister(AutoLookupTextFieldEx textFieldEx)
          Deregisters the AutoLookupTextFieldEx with the service
 java.lang.String getId()
           
 int getVersion()
           
 void register(AutoLookupTextFieldEx textFieldEx)
          Registers the AutoLookupTextFieldEx with the service
 void service(nextapp.echo2.webrender.Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final AutoLookupService INSTANCE
The singleton AutoLookupService

Constructor Detail

AutoLookupService

public AutoLookupService()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface nextapp.echo2.webrender.Service
See Also:
Service.getId()

getVersion

public int getVersion()
Specified by:
getVersion in interface nextapp.echo2.webrender.Service
See Also:
Service.getVersion()

register

public void register(AutoLookupTextFieldEx textFieldEx)
Registers the AutoLookupTextFieldEx with the service

Parameters:
textFieldEx - - a AutoLookupTextFieldEx to be notified of external events.

deregister

public void deregister(AutoLookupTextFieldEx textFieldEx)
Deregisters the AutoLookupTextFieldEx with the service

Parameters:
textFieldEx - - an AutoLookupTextFieldEx to be removed from being notified of external events.

service

public void service(nextapp.echo2.webrender.Connection conn)
             throws java.io.IOException
Specified by:
service in interface nextapp.echo2.webrender.Service
Throws:
java.io.IOException
See Also:
Service.service(nextapp.echo2.webrender.Connection)

createEntryXml

public static org.w3c.dom.Element createEntryXml(org.w3c.dom.Document document,
                                                 AutoLookupModel.Entry entry)
Creates the "entry" XML message that represents this Entry

Parameters:
document - - The owning DOM document
entry - - the lookup entry
Returns:
a DOM Element with the name 'entry'

EchoPoint
2.1.0rc4