|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.InstanceProvider
public final class InstanceProvider
Provides instances of editors and renderers.
Method Summary | |
---|---|
Set<? extends String> |
getEditableNamespaces()
Returns set of all namespaces, for which at least one instance of editor can be constructed. |
List<EditorInfo> |
getEditorsForNamespace(String namespace,
EnumSet<ResultEnum> resultTypes)
Returns all registered editors that are able to process given namespace. |
static InstanceProvider |
getInstance()
Returns the singleton instance. |
Set<? extends String> |
getRenderableNamespaces()
Returns set of all namespaces, for which at least one instance of renderer can be constructed. |
List<RendererInfo> |
getRenderersForNamespace(String namespace,
EnumSet<ResultEnum> resultTypes)
Returns all registered renderers that are able to process given namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InstanceProvider getInstance()
public List<EditorInfo> getEditorsForNamespace(String namespace, EnumSet<ResultEnum> resultTypes)
namespace
- source namespaceresultTypes
- all kinds of result types in which the document may be
offered
public List<RendererInfo> getRenderersForNamespace(String namespace, EnumSet<ResultEnum> resultTypes)
namespace
- source namespaceresultTypes
- all kinds of result types in which the document may be
offered
public Set<? extends String> getRenderableNamespaces()
public Set<? extends String> getEditableNamespaces()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |