lumis.doui.source
Class SourceFactory
java.lang.Object
lumis.doui.source.SourceFactory
@StableMinor(version="4.1",
sinceVersion="4.0")
public class SourceFactory
- extends Object
Create instances of Source derived classes
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceFactory
public SourceFactory()
getSourceClass
public static Class getSourceClass(Node sourceDefinitionNode,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
createSource
public static Source createSource(Node sourceDefinitionNode,
ISourceContext sourceContext)
throws PortalException
- Throws:
PortalException
createSource
public static Source createSource(String sourceId,
ISourceContext sourceContext)
throws PortalException
- Create a source instance and return it.
- Parameters:
sourceId
- the source id.sourceContext
- the source's context.
- Returns:
- the source.
- Throws:
PortalException
- Since:
- 4.0.7
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.