StatefullComponent
ChainingNormalizer
, ContentNormalizer
, RecordingContentNormalizer
public interface Normalizer extends StatefullComponent
Modifier and Type | Method | 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.
|
saveState
void startDocument() throws NormalizationException, java.io.IOException
NormalizationException
java.io.IOException
void startElement(java.lang.String namespace, java.lang.String tag, AttributeMap attributes) throws NormalizationException, java.io.IOException
namespace
- tag
- attributes
- NormalizationException
java.io.IOException
void addText(java.lang.String text) throws NormalizationException, java.io.IOException
text
- NormalizationException
java.io.IOException
void endElement() throws NormalizationException, java.io.IOException
namespace
- tag
- NormalizationException
java.io.IOException
void endDocument() throws NormalizationException, java.io.IOException
NormalizationException
java.io.IOException
void handlePageBreak(CSSValue pageName, PseudoPage[] pseudoPages) throws NormalizationException
NormalizationException
Renderer getRenderer()