public interface Normalizer extends StatefullComponent
| Modifier and Type | Method and Description |
|---|---|
void |
addText(java.lang.String text)
Adds text content to the current element.
|
void |
endDocument()
Ends the document.
|
void |
endElement()
Ends the current element.
|
Renderer |
getRenderer()
Returns the renderer.
|
void |
handlePageBreak(CSSValue pageName,
PseudoPage[] pseudoPages) |
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.
|
saveStatevoid startDocument()
throws NormalizationException,
java.io.IOException
NormalizationExceptionjava.io.IOExceptionvoid startElement(java.lang.String namespace,
java.lang.String tag,
AttributeMap attributes)
throws NormalizationException,
java.io.IOException
namespace - tag - attributes - NormalizationExceptionjava.io.IOExceptionvoid addText(java.lang.String text)
throws NormalizationException,
java.io.IOException
text - NormalizationExceptionjava.io.IOExceptionvoid endElement()
throws NormalizationException,
java.io.IOException
namespace - tag - NormalizationExceptionjava.io.IOExceptionvoid endDocument()
throws NormalizationException,
java.io.IOException
NormalizationExceptionjava.io.IOExceptionvoid handlePageBreak(CSSValue pageName, PseudoPage[] pseudoPages) throws NormalizationException
NormalizationExceptionRenderer getRenderer()