org.jfree.layouting.layouter.context

Class DefaultDocumentContext

public class DefaultDocumentContext extends DefaultDocumentMetaNode implements DocumentContext

Creation-Date: 08.12.2005, 20:17:07

Author: Thomas Morgner

Constructor Summary
DefaultDocumentContext()
Method Summary
voidaddMetaNode(DocumentMetaNode node)
voidcloseQuote()
CSSValuegetCounterPolicy(String name)
CounterStylegetCounterStyle(String counterName)
DocumentMetaNodegetMetaNode(int index)
intgetMetaNodeCount()
NamespaceCollectiongetNamespaces()
intgetQuoteLevel()
ResourceManagergetResourceManager()
CSSValuegetStringPolicy(String name)
voidinitialize()
This method is called once after the input-feed received all the document meta-data.
voidopenQuote()
voidremoveMetaNode(DocumentMetaNode node)
voidsetCounterPolicy(String name, CSSValue policy)
voidsetCounterStyle(String counterName, CounterStyle style)
voidsetStringPolicy(String name, CSSValue policy)

Constructor Detail

DefaultDocumentContext

public DefaultDocumentContext()

Method Detail

addMetaNode

public void addMetaNode(DocumentMetaNode node)

closeQuote

public void closeQuote()

getCounterPolicy

public CSSValue getCounterPolicy(String name)

getCounterStyle

public CounterStyle getCounterStyle(String counterName)

getMetaNode

public DocumentMetaNode getMetaNode(int index)

getMetaNodeCount

public int getMetaNodeCount()

getNamespaces

public NamespaceCollection getNamespaces()

getQuoteLevel

public int getQuoteLevel()

getResourceManager

public ResourceManager getResourceManager()

getStringPolicy

public CSSValue getStringPolicy(String name)

initialize

public void initialize()
This method is called once after the input-feed received all the document meta-data.

openQuote

public void openQuote()

removeMetaNode

public void removeMetaNode(DocumentMetaNode node)

setCounterPolicy

public void setCounterPolicy(String name, CSSValue policy)

setCounterStyle

public void setCounterStyle(String counterName, CounterStyle style)

setStringPolicy

public void setStringPolicy(String name, CSSValue policy)