com.opensymphony.module.sitemesh.parser.rules
Class MSOfficeDocumentPropertiesRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
com.opensymphony.module.sitemesh.html.BlockExtractingRule
com.opensymphony.module.sitemesh.parser.rules.MSOfficeDocumentPropertiesRule
- All Implemented Interfaces:
- TagRule
- public class MSOfficeDocumentPropertiesRule
- extends BlockExtractingRule
Extracts the extra properties saved in HTML from MS Office applications (Word and Excel),
such as Author, Company, Version, etc.
- Author:
- Joe Walnes
| Fields inherited from class com.opensymphony.module.sitemesh.html.BasicRule |
context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
page
private final HTMLPage page
inDocumentProperties
private boolean inDocumentProperties
MSOfficeDocumentPropertiesRule
public MSOfficeDocumentPropertiesRule(HTMLPage page)
shouldProcess
public boolean shouldProcess(String name)
- Specified by:
shouldProcess in interface TagRule- Overrides:
shouldProcess in class BasicRule
process
public void process(Tag tag)
- Specified by:
process in interface TagRule- Overrides:
process in class BlockExtractingRule
start
protected void start(Tag tag)
- Overrides:
start in class BlockExtractingRule
end
protected void end(Tag tag)
- Overrides:
end in class BlockExtractingRule