de.smartics.properties.impl.config.domain.key.envapp
Class EnvAppDefinitionConfigParser
java.lang.Object
de.smartics.properties.impl.config.domain.key.envapp.AbstractDefinitionConfigParser<EnvAppPropertiesDefinitionContext>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvAppDefinitionConfigParser
public EnvAppDefinitionConfigParser()
-
Default constructor.
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.