org.compass.core.engine.naming
Class DefaultPropertyPath

java.lang.Object
  extended by org.compass.core.engine.naming.DynamicPropertyPath
      extended by org.compass.core.engine.naming.DefaultPropertyPath
All Implemented Interfaces:
PropertyPath

public class DefaultPropertyPath
extends DynamicPropertyPath

The default implementation of PropertyPath, extending DynamicPropertyPath, but return a StaticPropertyPath when hintStatic() is called.

Author:
kimchy

Constructor Summary
DefaultPropertyPath(PropertyPath root, String name)
           
 
Method Summary
 PropertyPath hintStatic()
          Compass path construction process will hint on heavily used path elements that might be better off made static.
 
Methods inherited from class org.compass.core.engine.naming.DynamicPropertyPath
equals, getPath, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyPath

public DefaultPropertyPath(PropertyPath root,
                           String name)
Method Detail

hintStatic

public PropertyPath hintStatic()
Description copied from interface: PropertyPath
Compass path construction process will hint on heavily used path elements that might be better off made static. The implementation might decide to create a PropertyPath implementation that is more static in nature.

Specified by:
hintStatic in interface PropertyPath
Overrides:
hintStatic in class DynamicPropertyPath


Copyright (c) 2004-2008 The Compass Project.