org.apache.shindig.gadgets.templates
Class NullTemplateLibrary

java.lang.Object
  extended by org.apache.shindig.gadgets.templates.NullTemplateLibrary
All Implemented Interfaces:
TemplateLibrary

public final class NullTemplateLibrary
extends Object
implements TemplateLibrary

Null object implementation of TemplateLibrary.


Field Summary
static TemplateLibrary INSTANCE
           
 
Method Summary
 Uri getLibraryUri()
           
 TagRegistry getTagRegistry()
           
 boolean isSafe()
           
 String serialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TemplateLibrary INSTANCE
Method Detail

getLibraryUri

public Uri getLibraryUri()
Specified by:
getLibraryUri in interface TemplateLibrary

getTagRegistry

public TagRegistry getTagRegistry()
Specified by:
getTagRegistry in interface TemplateLibrary
Returns:
a registry of tags in this library.

isSafe

public boolean isSafe()
Specified by:
isSafe in interface TemplateLibrary

serialize

public String serialize()
Specified by:
serialize in interface TemplateLibrary


Copyright © 2007-2012. All Rights Reserved.