Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.elements
Class ElementFormatter

java.lang.Object
  extended by org.nuxeo.theme.elements.ElementFormatter

public final class ElementFormatter
extends Object


Method Summary
static Collection<Element> getElementsFor(Format format)
           
static Format getFormatByType(Object object, FormatType type)
           
static Format getFormatFor(Element element, String typeName)
           
static Collection<Format> getFormatsFor(Element element)
           
static void removeFormat(Object object, Format format)
           
static void setFormat(Object object, Format format)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setFormat

public static void setFormat(Object object,
                             Format format)

getFormatByType

public static Format getFormatByType(Object object,
                                     FormatType type)

getFormatsFor

public static Collection<Format> getFormatsFor(Element element)

getFormatFor

public static Format getFormatFor(Element element,
                                  String typeName)

getElementsFor

public static Collection<Element> getElementsFor(Format format)

removeFormat

public static void removeFormat(Object object,
                                Format format)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.