|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.tools.BuilderContext
public class BuilderContext
A BuilderContext holds context information when building an RTF document
Constructor Summary | |
---|---|
BuilderContext(IRtfOptions rtfOptions)
|
Method Summary | |
---|---|
RtfContainer |
getContainer(java.lang.Class containerClass,
boolean required,
java.lang.Object forWhichBuilder)
find the "nearest" container that implements the given interface on our stack |
TableContext |
getTableContext()
return the current TableContext |
void |
popContainer()
pop the topmost RtfContainer from our stack |
void |
popTableContext()
pop a TableContext from our stack |
void |
pushContainer(RtfContainer c)
push an RtfContainer on our stack |
void |
pushTableContext(TableContext tc)
push a TableContext to our stack |
void |
replaceContainer(RtfContainer oldC,
RtfContainer newC)
In some cases an RtfContainer must be replaced by another one on the stack. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuilderContext(IRtfOptions rtfOptions)
Method Detail |
---|
public RtfContainer getContainer(java.lang.Class containerClass, boolean required, java.lang.Object forWhichBuilder) throws RtfException
required
- if true, ConverterException is thrown if no container foundforWhichBuilder
- used in error message if container not found
RtfException
public void pushContainer(RtfContainer c)
public void replaceContainer(RtfContainer oldC, RtfContainer newC) throws java.lang.Exception
java.lang.Exception
public void popContainer()
public TableContext getTableContext()
public void pushTableContext(TableContext tc)
public void popTableContext()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |