|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.fotree.FoTreeServer4a
public class FoTreeServer4a
The top-level object in the FOTree implementation. FOTreeServer encapsulates the FOTree at a high level of abstraction for a client application.
Constructor Summary | |
---|---|
FoTreeServer4a(org.apache.commons.logging.Log logger,
org.axsl.font.FontServer fontServer,
org.axsl.text.TextServer textServer,
org.axsl.hyphen.HyphenationServer hyphenationServer,
org.axsl.graphic.GraphicServer graphicServer,
URL[] graphicSearchPath,
boolean cachingGraphics)
Constructor. |
Method Summary | |
---|---|
Namespace |
createNonstandardNamespace(String mappingClassName)
Creates a Namespace instance for the given class name. |
NamespaceAxsl |
getAxslNamespace()
Returns the namespace used for "axsl" items. |
NamespaceFO |
getFONamespace()
Returns the namespace used for "FO" items. |
org.axsl.font.FontServer |
getFontServer()
Returns the font server. |
NamespaceForay |
getForayNamespace()
Returns the namespace used for extension items. |
org.apache.commons.logging.Log |
getLogger()
Returns the logger. |
MathNamespace |
getMathNamespace()
Returns the namespace used for "MathML" items. |
Namespace |
getNamespace(String namespaceURI)
Returns the namespace for a given name. |
String |
getPropertyName(PropertyType propertyType)
Returns the text property name for a given PropertyType instance. |
NamespaceSVG |
getSVGNamespace()
Returns the namespace used for "SVG" items. |
org.axsl.text.TextServer |
getTextServer()
Returns the text server. |
NamespaceXML |
getXMLNamespace()
Returns the namespace used for "XML" items. |
FOTreeBuilder |
makeFoTree()
|
void |
registerNamespace(Namespace namespace)
Add a Namespace instance to the list of namespaces that we should be able to parse. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FoTreeServer4a(org.apache.commons.logging.Log logger, org.axsl.font.FontServer fontServer, org.axsl.text.TextServer textServer, org.axsl.hyphen.HyphenationServer hyphenationServer, org.axsl.graphic.GraphicServer graphicServer, URL[] graphicSearchPath, boolean cachingGraphics)
logger
- The logger.fontServer
- The font server.textServer
- The text server.hyphenationServer
- The hyphenation server.graphicServer
- The graphic server.graphicSearchPath
- The array of URLs in which graphics should be
searched.cachingGraphics
- Indicates whether we are caching graphics for
reuse.Method Detail |
---|
public void registerNamespace(Namespace namespace)
namespace
- A Namespace instance to be added.public Namespace getNamespace(String namespaceURI)
namespaceURI
- The namespace URI for which a namespace is needed.
public NamespaceFO getFONamespace()
public NamespaceForay getForayNamespace()
public NamespaceSVG getSVGNamespace()
public MathNamespace getMathNamespace()
public NamespaceXML getXMLNamespace()
public NamespaceAxsl getAxslNamespace()
public String getPropertyName(PropertyType propertyType)
propertyType
- The property type whose name is needed.
public Namespace createNonstandardNamespace(String mappingClassName)
mappingClassName
- The name of the Namespace subclass for which
an instance should be created.
public FOTreeBuilder makeFoTree()
makeFoTree
in interface org.axsl.fo.FoTreeFactory
public org.apache.commons.logging.Log getLogger()
public org.axsl.text.TextServer getTextServer()
public org.axsl.font.FontServer getFontServer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |