com.bowstreet.builders.webapp.pagelocation
Interface PageLocation


public interface PageLocation


Nested Class Summary
static interface PageLocation.Names
           
static interface PageLocation.Tokens
           
 
Method Summary
 java.util.Collection getLocations()
          Get the Collection of all the locations represented by this PageLocation.
 java.util.Collection getPages()
          Get the Collection of all the Pages included in this PageLocation.
 java.lang.String toString()
          For conversion back to a source String.
 

Method Detail

getLocations

java.util.Collection getLocations()
Get the Collection of all the locations represented by this PageLocation. This will never return null, but it may refer to an empty list.

Returns:
a Collection of PageLocationEntry objects

getPages

java.util.Collection getPages()
Get the Collection of all the Pages included in this PageLocation. This is correctly a Set -- no Page is included more than once even if this PageLocation includes several positions on one Page. This will never return null, but it may refer to an empty list.

Returns:
a Collection of Page objects.

toString

java.lang.String toString()
For conversion back to a source String. Note that it might not be exactly the same as the original, because of optimizations.

Overrides:
toString in class java.lang.Object
Returns:
a PageLocation source String


Copyright © 2009 IBM. All Rights Reserved.