public final class ElementFormatter extends Object
Modifier and Type | Method and Description |
---|---|
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) |
public static Format getFormatByType(Object object, FormatType type)
public static Collection<Format> getFormatsFor(Element element)
public static Format getFormatFor(Element element, String typeName)
public static Collection<Element> getElementsFor(Format format)
public static void removeFormat(Object object, Format format)
Copyright © 2015 Nuxeo SA. All rights reserved.