public class DefaultObjectDrawerFactory extends Object implements FSObjectDrawerFactory
| Constructor and Description |
|---|
DefaultObjectDrawerFactory() |
| Modifier and Type | Method and Description |
|---|---|
FSObjectDrawer |
createDrawer(Element e)
Determine an object drawer for the given object tag element.
|
boolean |
isReplacedObject(Element e) |
void |
registerDrawer(String contentType,
FSObjectDrawer drawer) |
public FSObjectDrawer createDrawer(Element e)
FSObjectDrawerFactorycreateDrawer in interface FSObjectDrawerFactorypublic void registerDrawer(String contentType, FSObjectDrawer drawer)
contentType - the content type this drawer is fordrawer - Drawerpublic boolean isReplacedObject(Element e)
isReplacedObject in interface FSObjectDrawerFactorye - eleemnt with tag name of object.Copyright © 2018. All rights reserved.