|
||||||||||
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(TransformGraph graph)
Registers new transformers, ignoring transformers already registered. |
protected void |
finalize()
|
CoordinatorInfo |
getCoordinatorInfo()
The editor data provider coordinator info. |
ExportGraph |
getEditGraph()
Returns the current exporter graph. |
ExportGraph |
getGraphFor(Collection<? extends String> namespaces)
Constructs graph for given set of namespaces. |
void |
initialize(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(TransformGraph graph) throws ExportException, IOException
graph
- transform graph.
ExportException
- if error occurs during the transformation.
IOException
- if i/o error occurs during the transformation.public ExportGraph getGraphFor(Collection<? extends String> namespaces)
namespaces
- namespaces
public ExportGraph getEditGraph()
public void addTransformers(TransformGraph graph)
graph
- graph to register.public boolean isInitialized()
true
if this view is initialized,
false
otherwise.public 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 |