org.jfree.layouting.normalizer
public class ChainingNormalizer extends java.lang.Object implements Normalizer
Constructor and Description |
---|
ChainingNormalizer(Normalizer normalizer) |
Modifier and Type | Method and Description |
---|---|
void |
addText(java.lang.String text)
Adds text content to the current element.
|
void |
commitCalls() |
void |
endDocument()
Ends the document.
|
void |
endElement()
Ends the current element.
|
Renderer |
getRenderer()
Returns the renderer.
|
void |
handlePageBreak(CSSValue pageName,
PseudoPage[] pseudoPages) |
State |
saveState() |
void |
startDocument()
Start document is the first call to the normalizer.
|
void |
startElement(java.lang.String namespace,
java.lang.String tag,
AttributeMap attributes)
Starts a new element.
|
public ChainingNormalizer(Normalizer normalizer)
public void startDocument() throws NormalizationException, java.io.IOException
startDocument
in interface Normalizer
NormalizationException
java.io.IOException
public void commitCalls() throws NormalizationException
NormalizationException
public void startElement(java.lang.String namespace, java.lang.String tag, AttributeMap attributes) throws NormalizationException, java.io.IOException
startElement
in interface Normalizer
namespace
- tag
- attributes
- NormalizationException
java.io.IOException
public void addText(java.lang.String text) throws NormalizationException, java.io.IOException
addText
in interface Normalizer
text
- NormalizationException
java.io.IOException
public void endElement() throws NormalizationException, java.io.IOException
endElement
in interface Normalizer
namespace
- tag
- NormalizationException
java.io.IOException
public void endDocument() throws NormalizationException, java.io.IOException
endDocument
in interface Normalizer
NormalizationException
java.io.IOException
public void handlePageBreak(CSSValue pageName, PseudoPage[] pseudoPages) throws NormalizationException
handlePageBreak
in interface Normalizer
NormalizationException
public State saveState() throws StateException
saveState
in interface StatefullComponent
StateException
public Renderer getRenderer()
getRenderer
in interface Normalizer