}
public Object end(final String uri, final String localName,
final ExtensibleXmlParser parser) throws SAXException {
final Element element = parser.endElementBuilder();
Lane lane = (Lane) parser.getCurrent();
org.w3c.dom.Node xmlNode = element.getFirstChild();
while (xmlNode != null) {
String nodeName = xmlNode.getNodeName();
if ("flowElementRef".equals(nodeName)) {
String flowElementRef = xmlNode.getTextContent();
lane.addFlowElement(flowElementRef);
}
xmlNode = xmlNode.getNextSibling();
}
return lane;
}