public class DivExtractingRule extends BasicBlockRule<String>
tagProcessorContext| Constructor and Description |
|---|
DivExtractingRule(ContentProperty propertyToExport) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processEnd(Tag tag,
String id)
Called when a block is ended (i.e.
|
protected String |
processStart(Tag tag)
Called when a block is started (i.e.
|
processsetTagProcessorContextpublic DivExtractingRule(ContentProperty propertyToExport)
protected String processStart(Tag tag) throws IOException
BasicBlockRule<opening> tag is encountered).processStart in class BasicBlockRule<String>tag - Opening tag.BasicBlockRule.processEnd(Tag, Object). May be null.IOExceptionprotected void processEnd(Tag tag, String id) throws IOException
BasicBlockRule</closing> tag is encountered).processEnd in class BasicBlockRule<String>tag - Closing tag. This will not have any attributes available (as they are associated
with an opening tag. To get access to the attributes, the BasicBlockRule.processStart(Tag) method
should access them and return them as data.id - Data returned from BasicBlockRule.processStart(Tag). May be null.IOExceptionCopyright © 2015. All Rights Reserved.