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
Nested Classes -
Field Summary
Fields inherited from class org.eclipse.net4j.util.factory.Factory
NO_DESCRIPTION -
Constructor Summary
ConstructorsConstructorDescriptionTreeFactory(String productGroup) TreeFactory(String productGroup, String type) TreeFactory(FactoryKey key) TreeFactory(IFactoryKey key) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Objectstatic StringcreateDescription(Tree tree) final ObjectcreateWithTree(Tree config) getTreeFor(Object product) static Treeprotected final ProductCreationExceptionproductCreationException(Tree config) protected final ProductCreationExceptionproductCreationException(Tree config, Throwable cause) static DocumentxmlDeserialize(String description) static StringxmlSerialize(Document document) Methods inherited from class org.eclipse.net4j.util.factory.Factory
getDescriptionFor, getFactoryKey, getKey, getProductGroup, getType, productCreationException, productCreationException, setFactoryKey, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
createWithTreein interfaceITreeFactory- Throws:
ProductCreationException
-
create
- Specified by:
createin interfaceIFactory- Throws:
ProductCreationException
-
create
- Throws:
ProductCreationException
-
productCreationException
- Since:
- 3.23
-
productCreationException
- Since:
- 3.23
-
createDescription
-
parseTree
-
xmlDeserialize
-
xmlSerialize
-