TopicPagerBean.java :  » MVC » simpleframework » net » simpleframework » content » component » topicpager » Java Open Source

Java Open Source » MVC » simpleframework 
simpleframework » net » simpleframework » content » component » topicpager » TopicPagerBean.java
package net.simpleframework.content.component.topicpager;

import net.simpleframework.content.component.AbstractContentPagerBean;
import net.simpleframework.util.StringUtils;
import net.simpleframework.web.page.PageDocument;
import net.simpleframework.web.page.component.IComponentRegistry;

import org.dom4j.Element;

/**
 * LGPLv3
 * 
 * @author (cknet@126.com, 13910090885)
 *         http://code.google.com/p/simpleframework/
 *         http://www.simpleframework.net
 */
public class TopicPagerBean extends AbstractContentPagerBean {

  public TopicPagerBean(final IComponentRegistry componentRegistry,
      final PageDocument pageDocument, final Element element) {
    super(componentRegistry, pageDocument, element);
  }

  @Override
  public String getDataPath() {
    return getResourceHomePath() + "/jsp/topicpager.jsp";
  }

  @Override
  public String getPagerXmlPath() {
    return getResourceHomePath() + "/jsp/__topicpager.xml";
  }

  @Override
  public String getHandleClass() {
    return StringUtils.text(super.getHandleClass(), DefaultTopicPagerHandle.class.getName());
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.