|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsk.baka.xml.gene.xhtml.XHTMLCoordinator
public class XHTMLCoordinator
Implements the XHTML (http://www.w3.org/1999/xhtml) output
class functionality.
| Namespace | Name | Input kind |
| http://www.w3.org/1999/xhtml | XHTML | SAXSource |
| http://www.w3.org/2000/svg | SVG vector graphics | SAXSource |
| http://www.w3.org/1998/Math/MathML | MathML | SAXSource |
| http://www.uniba.sk/euromath/holder/png | Binary image | StreamSource |
This coordinator processes emp:mark itself - it may be 1:1
copied by the exporter from the source document fragment. If
xhtml:img and xhtml:a references local
resources then these resources are copied to the export directory and these
elements are modified to hold these new (relative) references.
If exporter result of some nametree is an image then it is saved into the
export directory and the emp:mark element is replaced by the
xhtml:img element.
| Constructor Summary | |
|---|---|
XHTMLCoordinator(sk.baka.xml.gene.CoordinatorInfo info)
Constructs the instance of the coordinator. |
|
| Method Summary | |
|---|---|
void |
alterContext(sk.baka.xml.gene.IExporter exporter,
sk.baka.xml.gene.ExportContext context,
sk.baka.xml.gene.controller.NamespacePath path)
|
void |
dispose()
|
void |
finishExport()
|
sk.baka.xml.gene.IConfigurator |
getConfigurator()
|
sk.baka.xml.gene.exportgraph.ExportGraphBuilder |
getGraphBuilder()
|
sk.baka.xml.gene.CoordinatorInfo |
getInfo()
|
(package private) static Map<String,EnumSet<SourceEnum>> |
getNamespaces()
Returns namespaces accepted. |
sk.baka.xml.gene.exportgraph.TransformGraph |
getTransformationGraph()
|
Object |
offerObject(String namespace)
|
Source |
partialResultEvent(DocumentFragment processed,
sk.baka.xml.gene.controller.NamespacePath path,
Source source,
String sourceNamespace,
sk.baka.xml.gene.CoordinatorInputKey key)
|
StreamResult |
requestResult(String fileName)
|
Result |
startExport(File systemId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XHTMLCoordinator(sk.baka.xml.gene.CoordinatorInfo info)
info - info| Method Detail |
|---|
public sk.baka.xml.gene.CoordinatorInfo getInfo()
getInfo in interface sk.baka.xml.gene.ICoordinatorpublic sk.baka.xml.gene.IConfigurator getConfigurator()
getConfigurator in interface sk.baka.xml.gene.ICoordinatorpublic void dispose()
dispose in interface sk.baka.xml.gene.ICoordinatorpublic sk.baka.xml.gene.exportgraph.ExportGraphBuilder getGraphBuilder()
getGraphBuilder in interface sk.baka.xml.gene.ICoordinatorpublic sk.baka.xml.gene.exportgraph.TransformGraph getTransformationGraph()
getTransformationGraph in interface sk.baka.xml.gene.ICoordinator
public Source partialResultEvent(DocumentFragment processed,
sk.baka.xml.gene.controller.NamespacePath path,
Source source,
String sourceNamespace,
sk.baka.xml.gene.CoordinatorInputKey key)
throws sk.baka.xml.gene.ExportException,
IOException
partialResultEvent in interface sk.baka.xml.gene.ICoordinatorsk.baka.xml.gene.ExportException
IOException
public StreamResult requestResult(String fileName)
throws IOException
requestResult in interface sk.baka.xml.gene.ICoordinatorIOException
public Result startExport(File systemId)
throws sk.baka.xml.gene.ExportException,
IOException
startExport in interface sk.baka.xml.gene.ICoordinatorsk.baka.xml.gene.ExportException
IOException
public void finishExport()
throws sk.baka.xml.gene.ExportException,
IOException
finishExport in interface sk.baka.xml.gene.ICoordinatorsk.baka.xml.gene.ExportException
IOExceptionstatic Map<String,EnumSet<SourceEnum>> getNamespaces()
public Object offerObject(String namespace)
offerObject in interface sk.baka.xml.gene.ICoordinator
public void alterContext(sk.baka.xml.gene.IExporter exporter,
sk.baka.xml.gene.ExportContext context,
sk.baka.xml.gene.controller.NamespacePath path)
alterContext in interface sk.baka.xml.gene.ICoordinator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||