de.smartics.properties.impl.config.domain.key.rtaware
Class TenantUserDefinitionConfigParser

Package class diagram package TenantUserDefinitionConfigParser
java.lang.Object
  extended by de.smartics.properties.impl.config.domain.key.envapp.AbstractDefinitionConfigParser<TenantUserPropertiesDefinitionContext>
      extended by de.smartics.properties.impl.config.domain.key.rtaware.TenantUserDefinitionConfigParser
All Implemented Interfaces:
DefinitionConfigParser< TenantUserPropertiesDefinitionContext>

public final class TenantUserDefinitionConfigParser
     
     
extends AbstractDefinitionConfigParser< TenantUserPropertiesDefinitionContext>

Parses the definition.xml file for properties.


Field Summary
 
Fields inherited from class de.smartics.properties.impl.config.domain.key.envapp.AbstractDefinitionConfigParser
namespace
 
Constructor Summary
TenantUserDefinitionConfigParser()
          Default constructor.
 
Method Summary
 TenantUserPropertiesDefinitionContext parse(String systemId, InputStream input)
          Parses the definition.xml from the given stream.
protected  ConfigurationKey<?> readKey(org.jdom.Element element)
          Parses the configuration key.
 
Methods inherited from class de.smartics.properties.impl.config.domain.key.envapp.AbstractDefinitionConfigParser
norm, parse, parse, readApplication, readEnvironment, readFiles, readSet, readSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantUserDefinitionConfigParser

public TenantUserDefinitionConfigParser()
Default constructor.

Method Detail

parse

public TenantUserPropertiesDefinitionContext parse(String systemId,
                                                   InputStream input)
                                            throws ConfigException
Parses the definition.xml from the given stream.

Parameters:
systemId - the identifier of the resource on the stream.
input - the definition.xml on the stream.
Returns:
the parsed context.
Throws:
ConfigException - on any problem reading from the stream.

readKey

protected ConfigurationKey<?> readKey(org.jdom.Element element)
                               throws de.smartics.util.lang.NullArgumentException
Description copied from class: AbstractDefinitionConfigParser
Parses the configuration key.

Specified by:
readKey in class AbstractDefinitionConfigParser<TenantUserPropertiesDefinitionContext>
Parameters:
element - the element within which the elements of the key are located.
Returns:
the configuration key.
Throws:
de.smartics.util.lang.NullArgumentException


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.