|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.RendererSelector
public final class RendererSelector
Selects preferred renderers.
Constructor Summary | |
---|---|
RendererSelector()
Creates new empty selector, with no preferred renderers. |
|
RendererSelector(RendererSelector other)
Clones given selector. |
Method Summary | |
---|---|
protected Map<String,RendererInfo> |
getPreferredRenderers()
|
Map<String,EnumSet<sk.baka.ikslibs.SourceEnum>> |
getRenderable()
Computes and returns information about renderable namespaces. |
RendererInfo |
getRendererInfo(String namespace,
EnumSet<sk.baka.ikslibs.ResultEnum> products)
Retrieves the renderer that will be used to renderer document with given namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RendererSelector()
public RendererSelector(RendererSelector other)
other
- the selector to clone.Method Detail |
---|
public Map<String,EnumSet<sk.baka.ikslibs.SourceEnum>> getRenderable()
public RendererInfo getRendererInfo(String namespace, EnumSet<sk.baka.ikslibs.ResultEnum> products) throws EditorException
namespace
- the nametree namespace.products
- in which kinds of sources the document can be provided.
null
.
EditorException
- if no renderer is suitable for given namespace.protected Map<String,RendererInfo> getPreferredRenderers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |