com.day.cq.mcm.core
Class NewsletterEmulatorProvider

java.lang.Object
  extended by com.day.cq.mcm.core.NewsletterEmulatorProvider
All Implemented Interfaces:
EmulatorProvider

@Service
public class NewsletterEmulatorProvider
extends Object
implements EmulatorProvider

NewsletterEmulatorProvider provides emulators for newsletter pages.


Constructor Summary
NewsletterEmulatorProvider()
           
 
Method Summary
 List<EmulatorGroup> getEmulatorGroups(Resource resource)
          Returns a list of groups containing emulators.
 List<Emulator> getEmulators(Resource resource)
          Returns the emulators for the specified resource.
 boolean handles(Resource resource)
          Indicates whether this provider handles the specified resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsletterEmulatorProvider

public NewsletterEmulatorProvider()
Method Detail

getEmulators

public List<Emulator> getEmulators(Resource resource)
Description copied from interface: EmulatorProvider
Returns the emulators for the specified resource.

Specified by:
getEmulators in interface EmulatorProvider
Parameters:
resource - The resource
Returns:
The emulators, or an empty list.

handles

public boolean handles(Resource resource)
Description copied from interface: EmulatorProvider
Indicates whether this provider handles the specified resource.

Specified by:
handles in interface EmulatorProvider
Parameters:
resource - The resource
Returns:
true if the provider handles the resource, false otherwise

getEmulatorGroups

public List<EmulatorGroup> getEmulatorGroups(Resource resource)
Description copied from interface: EmulatorProvider
Returns a list of groups containing emulators.

Specified by:
getEmulatorGroups in interface EmulatorProvider
Parameters:
resource - The resource from which to derive the emulator groups.
Returns:
A List containing the emulator groups.


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.