org.apache.jetspeed.profiler.impl
Class JetspeedProfileLocator

java.lang.Object
  extended byorg.apache.jetspeed.profiler.impl.JetspeedProfileLocator
All Implemented Interfaces:
org.apache.jetspeed.profiler.ProfileLocator, ProfileLocatorControl

public class JetspeedProfileLocator
extends Object
implements ProfileLocatorControl

ProfileLocatorImpl

Version:
$Id: JetspeedProfileLocator.java 187876 2004-11-03 19:40:14Z taylor $
Author:
David Sean Taylor

Field Summary
private  LinkedList elements
           
private  org.apache.jetspeed.profiler.Profiler profiler
           
private  String requestPath
           
 
Fields inherited from interface org.apache.jetspeed.profiler.ProfileLocator
PAGE_LOCATOR, PATH_SEPARATOR, SECURITY_LOCATOR
 
Constructor Summary
JetspeedProfileLocator()
           
 
Method Summary
 void add(org.apache.jetspeed.profiler.rules.RuleCriterion criterion, boolean isControl, boolean isNavigation, String value)
           
 void add(String name, boolean isControl, boolean isNavigation, String value)
           
 void add(String name, String value)
           
 void createFromLocatorPath(String path)
           
 List getElements()
           
 String getLocatorPath()
           
 String getLocatorPath(org.apache.jetspeed.profiler.ProfileLocatorProperty[] properties)
           
 String getRequestPath()
           
 String getValue(String name)
           
 void init(org.apache.jetspeed.profiler.Profiler profiler, String requestPath)
           
 boolean isControl(String name)
           
 boolean isNavigation(String name)
           
 Iterator iterator()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elements

private LinkedList elements

profiler

private org.apache.jetspeed.profiler.Profiler profiler

requestPath

private String requestPath
Constructor Detail

JetspeedProfileLocator

public JetspeedProfileLocator()
Method Detail

getElements

public List getElements()
Specified by:
getElements in interface ProfileLocatorControl

init

public void init(org.apache.jetspeed.profiler.Profiler profiler,
                 String requestPath)
Specified by:
init in interface org.apache.jetspeed.profiler.ProfileLocator

iterator

public Iterator iterator()
Specified by:
iterator in interface org.apache.jetspeed.profiler.ProfileLocator

getValue

public String getValue(String name)
Specified by:
getValue in interface org.apache.jetspeed.profiler.ProfileLocator

isControl

public boolean isControl(String name)
Specified by:
isControl in interface org.apache.jetspeed.profiler.ProfileLocator

isNavigation

public boolean isNavigation(String name)
Specified by:
isNavigation in interface org.apache.jetspeed.profiler.ProfileLocator

add

public void add(org.apache.jetspeed.profiler.rules.RuleCriterion criterion,
                boolean isControl,
                boolean isNavigation,
                String value)
Specified by:
add in interface org.apache.jetspeed.profiler.ProfileLocator

add

public void add(String name,
                boolean isControl,
                boolean isNavigation,
                String value)
Specified by:
add in interface org.apache.jetspeed.profiler.ProfileLocator

add

public void add(String name,
                String value)
Specified by:
add in interface org.apache.jetspeed.profiler.ProfileLocator

createFromLocatorPath

public void createFromLocatorPath(String path)
Specified by:
createFromLocatorPath in interface org.apache.jetspeed.profiler.ProfileLocator

getLocatorPath

public String getLocatorPath()
Specified by:
getLocatorPath in interface org.apache.jetspeed.profiler.ProfileLocator

getLocatorPath

public String getLocatorPath(org.apache.jetspeed.profiler.ProfileLocatorProperty[] properties)
Specified by:
getLocatorPath in interface org.apache.jetspeed.profiler.ProfileLocator

toString

public String toString()
Specified by:
toString in interface org.apache.jetspeed.profiler.ProfileLocator

getRequestPath

public String getRequestPath()
Specified by:
getRequestPath in interface org.apache.jetspeed.profiler.ProfileLocator


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.