org.sf.bluprints
Class Bluprints
java.lang.Object
org.sf.bluprints.Bluprints
public class Bluprints
- extends Object
This class defines all of the Bluprints loaded from the configuration
file. This also stores the reload interval from the configuration file.
- Author:
- Brian Pontarelli
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAMESPACE
public static final String DEFAULT_NAMESPACE
- See Also:
- Constant Field Values
Bluprints
public Bluprints()
split
public static final String[] split(String name)
- Given a bluprint name i.e. foo:bar, this returns the parts, {foo, bar}. If the name is a single
value i.e. bar, this returns the default namespace as the first part and the name as the second
part i.e. default:bar.
- Parameters:
name
- The name to split.
- Returns:
- The parts.
getNamespace
public String getNamespace()
setNamespace
public void setNamespace(String namespace)
getUri
public String getUri()
setUri
public void setUri(String uri)
getPage
public Bluprint getPage(String name)
getNumPages
public int getNumPages()
setPages
public void setPages(List<Bluprint> pages)
"Copyright © 2002, Bluprints, Creative Commons License"