org.apache.cocoon.transformation.pagination
Class PageRules

java.lang.Object
  extended by org.apache.cocoon.transformation.pagination.PageRules

public class PageRules
extends Object

Container class for the immutable pagination rules for each page.

Version:
CVS $Id: PageRules.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Stefano Mazzocchi, Boon Hian Tek

Field Summary
 int charCount
           
 int elementCount
           
 String elementName
           
 String elementURI
           
 int unitLinks
           
 
Constructor Summary
PageRules()
           
 
Method Summary
 void addRangeLink(int rangeLink)
           
 void addRangeLink(Integer rangeLink)
           
 void addRangeLink(String rangeLink)
           
 Integer[] getRangeLinks()
           
 boolean match(String namespace)
           
 boolean match(String element, String namespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementName

public String elementName

elementURI

public String elementURI

elementCount

public int elementCount

charCount

public int charCount

unitLinks

public int unitLinks
Constructor Detail

PageRules

public PageRules()
Method Detail

match

public boolean match(String element,
                     String namespace)

match

public boolean match(String namespace)

getRangeLinks

public Integer[] getRangeLinks()

addRangeLink

public void addRangeLink(Integer rangeLink)

addRangeLink

public void addRangeLink(int rangeLink)

addRangeLink

public void addRangeLink(String rangeLink)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.