de.smartics.properties.impl.config.domain.key.envapp
Class EnvAppDefinitionConfigParser

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

public final class EnvAppDefinitionConfigParser
     
     
extends AbstractDefinitionConfigParser< EnvAppPropertiesDefinitionContext>

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
EnvAppDefinitionConfigParser()
          Default constructor.
 
Method Summary
 EnvAppPropertiesDefinitionContext 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

EnvAppDefinitionConfigParser

public EnvAppDefinitionConfigParser()
Default constructor.

Method Detail

parse

public EnvAppPropertiesDefinitionContext 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)
Description copied from class: AbstractDefinitionConfigParser
Parses the configuration key.

Specified by:
readKey in class AbstractDefinitionConfigParser<EnvAppPropertiesDefinitionContext>
Parameters:
element - the element within which the elements of the key are located.
Returns:
the configuration key.


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