org.odlabs.wiquery.core.util
Class MarkupIdVisitor

java.lang.Object
  extended by org.odlabs.wiquery.core.util.MarkupIdVisitor
All Implemented Interfaces:
org.apache.wicket.util.visit.IVisitor<org.apache.wicket.Component,Void>

public class MarkupIdVisitor
extends Object
implements org.apache.wicket.util.visit.IVisitor<org.apache.wicket.Component,Void>

$Id$

Class to retrieve the Wicket component with the specified markup identifiant

Since:
1.0
Author:
Julien Roche

Constructor Summary
MarkupIdVisitor(String id)
          Constructor
 
Method Summary
 void component(org.apache.wicket.Component component, org.apache.wicket.util.visit.IVisit<Void> visit)
           
 org.apache.wicket.Component getFoundComponent()
           
 String getId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkupIdVisitor

public MarkupIdVisitor(String id)
Constructor

Parameters:
id - Markup identifiant
Method Detail

component

public void component(org.apache.wicket.Component component,
                      org.apache.wicket.util.visit.IVisit<Void> visit)
Specified by:
component in interface org.apache.wicket.util.visit.IVisitor<org.apache.wicket.Component,Void>

getId

public String getId()
Returns:
the markup identifiant

getFoundComponent

public org.apache.wicket.Component getFoundComponent()
Returns:
the Wicket component that have been found


Copyright © 2012. All Rights Reserved.