Class MSOfficeDocumentPropertiesRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
com.opensymphony.module.sitemesh.html.BlockExtractingRule
com.opensymphony.module.sitemesh.html.rules.MSOfficeDocumentPropertiesRule
- All Implemented Interfaces:
TagRule
Extracts the extra properties saved in HTML from MS Office applications (Word and Excel), such as Author, Company,
Version, etc.
- Author:
- Joe Walnes
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new MS office document properties rule. -
Method Summary
Methods inherited from class com.opensymphony.module.sitemesh.html.BlockExtractingRule
createBufferMethods inherited from class com.opensymphony.module.sitemesh.html.BasicRule
currentBuffer, getCurrentBufferContent, setContext
-
Constructor Details
-
MSOfficeDocumentPropertiesRule
Instantiates a new MS office document properties rule.- Parameters:
page- the page
-
-
Method Details
-
shouldProcess
Description copied from interface:TagRuleCalled by the HTMLProcessor to determine if a rule should be called for a given tag. The name parameter will always be passed in lowercase.- Specified by:
shouldProcessin interfaceTagRule- Overrides:
shouldProcessin classBasicRule- Parameters:
name- the name- Returns:
- true, if successful
-
process
Description copied from interface:TagRuleProcess.- Specified by:
processin interfaceTagRule- Overrides:
processin classBlockExtractingRule- Parameters:
tag- the tag
-
start
Description copied from class:BlockExtractingRuleStart.- Overrides:
startin classBlockExtractingRule- Parameters:
tag- the tag
-
end
Description copied from class:BlockExtractingRuleEnd.- Overrides:
endin classBlockExtractingRule- Parameters:
tag- the tag
-