org.apache.cocoon.sitemap.node
Class WhenNode

java.lang.Object
  extended by org.apache.cocoon.sitemap.node.AbstractSitemapNode
      extended by org.apache.cocoon.sitemap.node.MatchNode
          extended by org.apache.cocoon.sitemap.node.WhenNode
All Implemented Interfaces:
SitemapNode

public class WhenNode
extends MatchNode


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cocoon.sitemap.node.MatchNode
MatchNode.MatcherContext
 
Constructor Summary
WhenNode()
           
 
Method Summary
protected  void checkParent()
          Check if the parent is a select node.
 Class<?> getType()
          
 InvocationResult invoke(Invocation invocation)
          
 
Methods inherited from class org.apache.cocoon.sitemap.node.MatchNode
getValue, isMatching, lookupMatcherContext, setValue
 
Methods inherited from class org.apache.cocoon.sitemap.node.AbstractSitemapNode
addChild, getParameters, getParent, invoke, processParameter, setParameters, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhenNode

public WhenNode()
Method Detail

getType

public Class<?> getType()

Specified by:
getType in interface SitemapNode
Overrides:
getType in class MatchNode
See Also:
SitemapNode.getType()

invoke

public InvocationResult invoke(Invocation invocation)
Description copied from class: MatchNode

Specified by:
invoke in interface SitemapNode
Overrides:
invoke in class MatchNode
See Also:
AbstractSitemapNode.invoke(org.apache.cocoon.sitemap.Invocation)

checkParent

protected void checkParent()
Check if the parent is a select node.



Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.