org.apache.tapestry.services
Class LibraryMapping
java.lang.Object
org.apache.tapestry.services.LibraryMapping
public final class LibraryMapping
- extends Object
Used to configure the ComponentClassResolver, to allow it to map prefixes to library root packages (the
application namespace is a special case of this). In each case, a prefix on the path is mapped to a package. Prefixes
should start and end with characters, such as "core". It is allowed for a prefix to contain a slash, though it is not
recommended.
The root package name should have a number of sub-packages: - pages
- contains named pages
- components
- contains components
- mixins
- contains component mixins
- base
- contains base classes
- See Also:
TapestryModule.contributeComponentClassResolver(org.apache.tapestry.ioc.Configuration)
LibraryMapping
public LibraryMapping(String pathPrefix,
String rootPackage)
getPathPrefix
public String getPathPrefix()
getRootPackage
public String getRootPackage()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.