org.apache.cocoon.transformation.pagination
Class PageRules

java.lang.Object
  extended byorg.apache.cocoon.transformation.pagination.PageRules

public class PageRules
extends Object

Container class for the immutable pagination rules for each page.

Version:
$Id: PageRules.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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-2008 The Apache Software Foundation. All Rights Reserved.