com.atlassian.confluence.admin.actions.lookandfeel
Class DefaultDecorator

java.lang.Object
  extended by com.atlassian.confluence.admin.actions.lookandfeel.DefaultDecorator

public class DefaultDecorator
extends Object

Decorator for the all the default decorators bundled with Confluence


Field Summary
static String TYPE_CONTENT
           
static String TYPE_DECORATOR
           
static String TYPE_EXPORT
           
 
Method Summary
 boolean equals(Object o)
           
static DefaultDecorator getByFileName(String fileName)
          Returns a registered default decorator, matched by decorator file name.
static List<DefaultDecorator> getDecorators()
          Get all registered default decorators.
static List<DefaultDecorator> getDecorators(String type)
          Get registered decorators by type.
 String getDescriptionKey()
           
 String getFileName()
           
 String getKey()
           
 String getNameKey()
           
 String getType()
           
 String getTypeDescriptionKey()
           
 String getTypeNameKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_DECORATOR

public static final String TYPE_DECORATOR
See Also:
Constant Field Values

TYPE_EXPORT

public static final String TYPE_EXPORT
See Also:
Constant Field Values

TYPE_CONTENT

public static final String TYPE_CONTENT
See Also:
Constant Field Values
Method Detail

getDecorators

public static List<DefaultDecorator> getDecorators()
Get all registered default decorators.

Returns:
List of default decorators

getDecorators

public static List<DefaultDecorator> getDecorators(String type)
Get registered decorators by type.

Parameters:
type - Decorator type from DefaultDecorator type contstants
Returns:
Matching decorators; null if type is null or no matching decorators are found

getByFileName

public static DefaultDecorator getByFileName(String fileName)
Returns a registered default decorator, matched by decorator file name.

Parameters:
fileName - File name of the decorator
Returns:
Matching decorator or null if none are found.

getFileName

public String getFileName()

getKey

public String getKey()

getType

public String getType()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getNameKey

public String getNameKey()

getDescriptionKey

public String getDescriptionKey()

getTypeNameKey

public String getTypeNameKey()

getTypeDescriptionKey

public String getTypeDescriptionKey()


Copyright © 2003-2012 Atlassian. All Rights Reserved.