|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.document.DocumentView
public final class DocumentView
Represents one presentation of document.
Constructor Summary | |
---|---|
DocumentView(XMLAccess doc,
RendererSelector selector,
EditorSite site)
Constructs the instance of object. |
Method Summary | |
---|---|
void |
addTransformers(sk.baka.xml.gene.exportgraph.TransformGraph graph)
Registers new transformers, ignoring transformers already registered. |
protected void |
finalize()
|
sk.baka.xml.gene.CoordinatorInfo |
getCoordinatorInfo()
The editor data provider coordinator info. |
sk.baka.xml.gene.exportgraph.ExportGraph |
getEditGraph()
Returns the current exporter graph. |
sk.baka.xml.gene.exportgraph.ExportGraph |
getGraphFor(Collection<? extends String> namespaces)
Constructs graph for given set of namespaces. |
void |
initialize(sk.baka.xml.gene.exportgraph.TransformGraph graph)
Initializes the view, performing the transformation. |
boolean |
isClosed()
Returns true if this view is closed. |
boolean |
isInitialized()
Checks if this view is initialized. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentView(XMLAccess doc, RendererSelector selector, EditorSite site)
doc
- document to viewselector
- selects preferred renderers. May be null
-
in such case no renderers are preferred.site
- the transformed data receiver.Method Detail |
---|
public void initialize(sk.baka.xml.gene.exportgraph.TransformGraph graph) throws sk.baka.xml.gene.ExportException, IOException
graph
- transform graph.
sk.baka.xml.gene.ExportException
- if error occurs during the transformation.
IOException
- if i/o error occurs during the transformation.public sk.baka.xml.gene.exportgraph.ExportGraph getGraphFor(Collection<? extends String> namespaces)
namespaces
- namespaces
public sk.baka.xml.gene.exportgraph.ExportGraph getEditGraph()
public void addTransformers(sk.baka.xml.gene.exportgraph.TransformGraph graph)
graph
- graph to register.public boolean isInitialized()
true
if this view is initialized,
false
otherwise.public sk.baka.xml.gene.CoordinatorInfo getCoordinatorInfo()
public boolean isClosed()
true
if this view is closed. If the view is
closed, it becomes invalid and must not be used.
true
if this view is closedprotected void finalize() throws Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |