org.openpermis.editor.policy.configuration
Class ConfigurationSection.Factory

java.lang.Object
  extended by org.openpermis.editor.policy.configuration.ConfigurationSection.Factory
All Implemented Interfaces:
ConfigurationSectionFactory
Direct Known Subclasses:
ConfigurationGenericSection.Factory, ConfigurationGroupSection.Factory, ConfigurationScopedSection.Factory
Enclosing class:
ConfigurationSection

public abstract static class ConfigurationSection.Factory
extends Object
implements ConfigurationSectionFactory

Factory for generic configuration sections.

Since:
0.9.0

Constructor Summary
ConfigurationSection.Factory(String name)
          Creates a configuration section factory for elements with the specified name.
 
Method Summary
 ConfigurationSection createSection(org.dom4j.Element element)
          Creates a configuration section for the specified element.
protected abstract  ConfigurationSection primCreateSection(org.dom4j.Element element)
          Primitive to create the actual section for an element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationSection.Factory

public ConfigurationSection.Factory(String name)
Creates a configuration section factory for elements with the specified name.

Parameters:
name - the name of the element to match.
Since:
0.9.0
Method Detail

primCreateSection

protected abstract ConfigurationSection primCreateSection(org.dom4j.Element element)
Primitive to create the actual section for an element.

Parameters:
element - the element to create the section for.
Returns:
the configuration section created.
Since:
0.9.0

createSection

public final ConfigurationSection createSection(org.dom4j.Element element)
Description copied from interface: ConfigurationSectionFactory
Creates a configuration section for the specified element.

Specified by:
createSection in interface ConfigurationSectionFactory
Parameters:
element - the element to create the section for, must not be null.
Returns:
the configuration section requested or null if this factory cannot create a section for this element.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG