DynamicProcess dynamicProcess, ExpandedName elementName,
XMLProcess process) throws SAXException {
SimpleElementProcess simple = (SimpleElementProcess) process;
DerivableHTTPMessageEntity entity = (DerivableHTTPMessageEntity)
simple.getObject();
String name = entity.getName();
if (name == null) {
String from = entity.getFrom();
if (from == null) {
forwardError(dynamicProcess, "No name specified for '" +
elementName + "'");
} else {
entity.setName(from);
}
}
// Add the entity to the collection of entities.
XMLPipelineContext context = dynamicProcess.getPipelineContext();