Package org.eclipse.net4j.util.factory
Class TreeFactory
java.lang.Object
org.eclipse.net4j.util.factory.Factory
org.eclipse.net4j.util.factory.TreeFactory
- All Implemented Interfaces:
IFactory
,IFactoryKeyAware
,ITreeFactory
- Direct Known Subclasses:
TreeFactory.ContainerAware
- Since:
- 3.23
- Author:
- Eike Stepper
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.factory.Factory
NO_DESCRIPTION
-
Constructor Summary
ConstructorDescriptionTreeFactory
(String productGroup) TreeFactory
(String productGroup, String type) TreeFactory
(FactoryKey key) TreeFactory
(IFactoryKey key) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Object
static String
createDescription
(Tree tree) final Object
createWithTree
(Tree config) getTreeFor
(Object product) static Tree
protected final ProductCreationException
productCreationException
(Tree config) protected final ProductCreationException
productCreationException
(Tree config, Throwable cause) static Document
xmlDeserialize
(String description) static String
xmlSerialize
(Document document) Methods inherited from class org.eclipse.net4j.util.factory.Factory
getDescriptionFor, getFactoryKey, getKey, getProductGroup, getType, productCreationException, productCreationException, setFactoryKey, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.factory.IFactory
getDescriptionFor, getKey
-
Constructor Details
-
TreeFactory
public TreeFactory() -
TreeFactory
-
TreeFactory
-
TreeFactory
-
TreeFactory
-
-
Method Details
-
getTreeFor
-
createWithTree
- Specified by:
createWithTree
in interfaceITreeFactory
- Throws:
ProductCreationException
-
create
- Specified by:
create
in interfaceIFactory
- Throws:
ProductCreationException
-
create
- Throws:
ProductCreationException
-
productCreationException
- Since:
- 3.23
-
productCreationException
- Since:
- 3.23
-
createDescription
-
parseTree
-
xmlDeserialize
-
xmlSerialize
-