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 NormalizerNormalizationExceptionjava.io.IOExceptionpublic void commitCalls()
throws NormalizationException
NormalizationExceptionpublic void startElement(java.lang.String namespace,
java.lang.String tag,
AttributeMap attributes)
throws NormalizationException,
java.io.IOException
startElement in interface Normalizernamespace - tag - attributes - NormalizationExceptionjava.io.IOExceptionpublic void addText(java.lang.String text)
throws NormalizationException,
java.io.IOException
addText in interface Normalizertext - NormalizationExceptionjava.io.IOExceptionpublic void endElement()
throws NormalizationException,
java.io.IOException
endElement in interface Normalizernamespace - tag - NormalizationExceptionjava.io.IOExceptionpublic void endDocument()
throws NormalizationException,
java.io.IOException
endDocument in interface NormalizerNormalizationExceptionjava.io.IOExceptionpublic void handlePageBreak(CSSValue pageName, PseudoPage[] pseudoPages) throws NormalizationException
handlePageBreak in interface NormalizerNormalizationExceptionpublic State saveState() throws StateException
saveState in interface StatefullComponentStateExceptionpublic Renderer getRenderer()
getRenderer in interface Normalizer