Class MarkupIdVisitor

  • All Implemented Interfaces:
    org.apache.wicket.util.visit.IVisitor<org.apache.wicket.Component,​java.lang.Void>

    public class MarkupIdVisitor
    extends java.lang.Object
    implements org.apache.wicket.util.visit.IVisitor<org.apache.wicket.Component,​java.lang.Void>
    $Id: MarkupIdVisitor.java 1714M 2012-01-17 08:57:27Z (local) $

    Class to retrieve the Wicket component with the specified markup identifier

    Since:
    1.0
    Author:
    Julien Roche
    • Constructor Summary

      Constructors 
      Constructor Description
      MarkupIdVisitor​(java.lang.String id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void component​(org.apache.wicket.Component component, org.apache.wicket.util.visit.IVisit<java.lang.Void> visit)  
      org.apache.wicket.Component getFoundComponent()  
      java.lang.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​(java.lang.String id)
    • Method Detail

      • component

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

        public java.lang.String getId()
      • getFoundComponent

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