Dan Florian created SRAMP-230:
---------------------------------
Summary: ArtifactDeriver Subclasses Should Have Direct Access To The
StaticNamespaceContext
Key: SRAMP-230
URL:
https://issues.jboss.org/browse/SRAMP-230
Project: S-RAMP
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Core
Affects Versions: 0.4.0 - API Management
Reporter: Dan Florian
Assignee: Kurt Stam
While writing a custom {{AbstractXmlDeriver}}, I needed to register a namespace discovered
during the processing of the XML file (i.e., during the {{derive}} method). The only way I
could figure out how to do this was to cache the instance of the
{{StaticNamespaceContext}} passed into the {{configureNamespaceMappings}} method. Then,
when the {{derive}} method is called I could register namespaces with the namespace
context. It would be nice to have a getter for the namespace context for subclasses to
use.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira