|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--wobzilla_viewFactory
This services is responsilbe for the creation of new views that are
selected with the help of template-rules. The view-configuration
can be found with the findRule
method.
For a detailed description of the selection algorithm see the
XSLT-specification.
Method Summary | |
function
|
createView(contextNode,mode,logger,context,serviceManager,importedRulesOnly,templateName, args)
finds a rule for the contextNode and creates the appropiate view with the help of the componentFactory .
|
function
|
findRule(contextNode,mode,importedRulesOnly,templateName)
selects a template rule from the given contextNode or templateName (if set). |
Method Detail |
function createView(contextNode,mode,logger,context,serviceManager,importedRulesOnly,templateName, args)
componentFactory
. The
contents of the Rule will be used as a configuration node for
the componentFactory. If there is more than one content-node
(or an element with a namespace different from
"http://wobzilla.sf.net/views" a configuration for a wrapping
WbzContainer will be created.
templateName
- will be passed to findRule
contextNode
- will be passed to findRule
mode
- will be passed to findRule
context
- will be passed to the createComponent
method
importedRulesOnly
- will be passed to findRule
serviceManager
- will be passed to the createComponent
method
logger
- will be passed to the createComponent
method
function findRule(contextNode,mode,importedRulesOnly,templateName)
templateName
- selects a rule by name without matching the contextNode.
contextNode
- the contextNode used for matching
mode
- the mode of the template rule
importedRulesOnly
- only search rules of imported stylesheets
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |