facebook4j.auth
Class NullAuthorization

java.lang.Object
  extended by facebook4j.auth.NullAuthorization
All Implemented Interfaces:
Authorization, java.io.Serializable

public class NullAuthorization
extends java.lang.Object
implements Authorization, java.io.Serializable

An interface represents credentials.

Author:
Ryuji Yamashita - roundrop at gmail.com
See Also:
Serialized Form

Field Summary
private static NullAuthorization INSTANCE
           
private static long serialVersionUID
           
 
Constructor Summary
private NullAuthorization()
           
 
Method Summary
static NullAuthorization getInstance()
           
 boolean isEnabled()
          Returns true if authorization credentials are set.
private  java.lang.Object readResolve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

INSTANCE

private static NullAuthorization INSTANCE
Constructor Detail

NullAuthorization

private NullAuthorization()
Method Detail

getInstance

public static NullAuthorization getInstance()

isEnabled

public boolean isEnabled()
Description copied from interface: Authorization
Returns true if authorization credentials are set.

Specified by:
isEnabled in interface Authorization
Returns:
true if authorization credentials are set

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException