sk.baka.xml.gene.builtin
Class CoordinatorFactoryImpl

java.lang.Object
  extended by sk.baka.xml.gene.builtin.CoordinatorFactoryImpl
All Implemented Interfaces:
ICoordinatorFactory

public final class CoordinatorFactoryImpl
extends Object
implements ICoordinatorFactory

Produces default coordinators.

Author:
Martin Vysny

Field Summary
static String OUTPUT_CLASS_LATEX
           Denotes the preddefined LaTeX document output class.
 
Constructor Summary
CoordinatorFactoryImpl()
          Constructor.
 
Method Summary
 ICoordinator create(String outputClass)
          Creates the coordinator that exports a particular document class.
 Set<CoordinatorInfo> getCoordinators()
          Returns the information about all known output document classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_CLASS_LATEX

public static final String OUTPUT_CLASS_LATEX

Denotes the preddefined LaTeX document output class. This class expects that all nametrees present in the document can be transformed into the LaTeX file format:

See Also:
Constant Field Values
Constructor Detail

CoordinatorFactoryImpl

public CoordinatorFactoryImpl()
Constructor.

Method Detail

create

public ICoordinator create(String outputClass)
Description copied from interface: ICoordinatorFactory
Creates the coordinator that exports a particular document class.

Specified by:
create in interface ICoordinatorFactory
Parameters:
outputClass - the class of documents that this coordinator produces. It may be one of preddefined constants or a custom one. If the coordinator does not support this class then it must throw an exception.
Returns:
the coordinator instance.

getCoordinators

public Set<CoordinatorInfo> getCoordinators()
Description copied from interface: ICoordinatorFactory
Returns the information about all known output document classes.

Specified by:
getCoordinators in interface ICoordinatorFactory
Returns:
all document types, that can be exported.


Copyright © 2006 Martin Vysny - baka. All Rights Reserved.