Nuxeo Enterprise Platform 5.4

org.nuxeo.theme.elements
Class ElementFormatter

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

public final class ElementFormatter
extends java.lang.Object


Method Summary
static java.util.Collection<Element> getElementsFor(Format format)
           
static Format getFormatByType(java.lang.Object object, FormatType type)
           
static Format getFormatFor(Element element, java.lang.String typeName)
           
static java.util.Collection<Format> getFormatsFor(Element element)
           
static void removeFormat(java.lang.Object object, Format format)
           
static void setFormat(java.lang.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(java.lang.Object object,
                             Format format)

getFormatByType

public static Format getFormatByType(java.lang.Object object,
                                     FormatType type)

getFormatsFor

public static java.util.Collection<Format> getFormatsFor(Element element)

getFormatFor

public static Format getFormatFor(Element element,
                                  java.lang.String typeName)

getElementsFor

public static java.util.Collection<Element> getElementsFor(Format format)

removeFormat

public static void removeFormat(java.lang.Object object,
                                Format format)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.