public void startChildHandler(Handler child) { //childHandlers.add(child); node.addChild( child.getParseNode() ); //initialize the context for the handler if ( child instanceof ElementHandler ) { ElementInstance childInstance = (ElementInstance) child.getComponent(); ContextInitializer initer = new ContextInitializer(childInstance, node, child.getContext()); parser.getBindingWalker() .walk(element.getElementDeclaration(), initer, getContext() ); } }
public void startChildHandler(Handler child) { //childHandlers.add(child); node.addChild(child.getParseNode()); //initialize the context for the handler if (child instanceof ElementHandler) { ElementInstance childInstance = (ElementInstance) child.getComponent(); ContextInitializer initer = new ContextInitializer(childInstance, node, child.getContext()); parser.getBindingWalker().walk(element.getElementDeclaration(), initer, getContext()); } }
parent.getContext(), parser ); parser.getBindingWalker().walk( attribute.getAttributeDeclaration(), executor, parent.getContext() );
ParseExecutor executor = new ParseExecutor(attribute, null, parent.getContext(), parser); parser.getBindingWalker() .walk(attribute.getAttributeDeclaration(), executor, parent.getContext());
ParseExecutor executor = new ParseExecutor(attribute, null, parent.getContext(), parser); parser.getBindingWalker() .walk(attribute.getAttributeDeclaration(), executor, parent.getContext());
parser.getBindingWalker().walk(element, executor, context);
public void startChildHandler(Handler child) { //childHandlers.add(child); node.addChild(child.getParseNode()); //initialize the context for the handler if (child instanceof ElementHandler) { //get the containing type (we do this for anonymous complex types) XSDTypeDefinition container = null; if (getParentHandler().getComponent() != null) { container = getParentHandler().getComponent().getTypeDefinition(); } ElementInstance childInstance = (ElementInstance) child.getComponent(); ContextInitializer initer = new ContextInitializer(childInstance, node, child.getContext()); parser.getBindingWalker().walk(element.getElementDeclaration(), initer, container, getContext()); } }
parser.getBindingWalker().walk(element, executor, context);
parser.getBindingWalker().walk( element, executor, context );
parser.getBindingWalker() .walk(element.getElementDeclaration(), executor, container, getParentHandler().getContext());
parser.getBindingWalker().walk(element.getElementDeclaration(), executor, container, getParentHandler().getContext() );
parser.getBindingWalker() .walk(element.getElementDeclaration(), executor, container, getParentHandler().getContext());