public Object start(final String uri, final String localName, final Attributes attrs, final ExtensibleXmlParser parser) throws SAXException { parser.startElementBuilder( localName, attrs ); WorkflowProcessImpl process = ( WorkflowProcessImpl ) parser.getParent(); final String identifier = attrs.getValue( "identifier" ); final String type = attrs.getValue( "type" ); emptyAttributeCheck( localName, "identifier", identifier, parser ); emptyAttributeCheck( localName, "type", type, parser ); Map<String, String> map = process.getGlobals(); if ( map == null ) { map = new HashMap<String, String>(); process.setGlobals( map ); } map.put( identifier, type ); return null; }
public Object start(final String uri, final String localName, final Attributes attrs, final ExtensibleXmlParser parser) throws SAXException { parser.startElementBuilder( localName, attrs ); WorkflowProcessImpl process = ( WorkflowProcessImpl ) parser.getParent(); final String identifier = attrs.getValue( "identifier" ); final String type = attrs.getValue( "type" ); emptyAttributeCheck( localName, "identifier", identifier, parser ); emptyAttributeCheck( localName, "type", type, parser ); Map<String, String> map = process.getGlobals(); if ( map == null ) { map = new HashMap<String, String>(); process.setGlobals( map ); } map.put( identifier, type ); return null; }
public Object start(final String uri, final String localName, final Attributes attrs, final ExtensibleXmlParser parser) throws SAXException { parser.startElementBuilder( localName, attrs ); WorkflowProcessImpl process = ( WorkflowProcessImpl ) parser.getParent(); final String identifier = attrs.getValue( "identifier" ); final String type = attrs.getValue( "type" ); emptyAttributeCheck( localName, "identifier", identifier, parser ); emptyAttributeCheck( localName, "type", type, parser ); Map<String, String> map = process.getGlobals(); if ( map == null ) { map = new HashMap<String, String>(); process.setGlobals( map ); } map.put( identifier, type ); return null; }
public Object start(final String uri, final String localName, final Attributes attrs, final ExtensibleXmlParser parser) throws SAXException { parser.startElementBuilder( localName, attrs ); WorkflowProcessImpl process = ( WorkflowProcessImpl ) parser.getParent(); final String identifier = attrs.getValue( "identifier" ); final String type = attrs.getValue( "type" ); emptyAttributeCheck( localName, "identifier", identifier, parser ); emptyAttributeCheck( localName, "type", type, parser ); Map<String, String> map = process.getGlobals(); if ( map == null ) { map = new HashMap<String, String>(); process.setGlobals( map ); } map.put( identifier, type ); return null; }