private SCDBasedBindingSet transform() { // either target nodes are conventional DOM nodes (as per spec), Map<Element,List<Node>> targetNodes = new HashMap<Element,List<Node>>(); // ... or it will be schema components by means of SCD (RI extension) SCDBasedBindingSet scd = new SCDBasedBindingSet(forest); // // identify target nodes for all <jaxb:bindings> // for (Element jaxbBindings : forest.outerMostBindings) { // initially, the inherited context is itself buildTargetNodeMap(jaxbBindings, jaxbBindings, null, targetNodes, scd); } // // then move them to their respective positions. // for (Element jaxbBindings : forest.outerMostBindings) { move(jaxbBindings, targetNodes); } return scd; }
private SCDBasedBindingSet transform() { // either target nodes are conventional DOM nodes (as per spec), Map<Element,List<Node>> targetNodes = new HashMap<Element,List<Node>>(); // ... or it will be schema components by means of SCD (RI extension) SCDBasedBindingSet scd = new SCDBasedBindingSet(forest); // // identify target nodes for all <jaxb:bindings> // for (Element jaxbBindings : forest.outerMostBindings) { // initially, the inherited context is itself buildTargetNodeMap(jaxbBindings, jaxbBindings, null, targetNodes, scd); } // // then move them to their respective positions. // for (Element jaxbBindings : forest.outerMostBindings) { move(jaxbBindings, targetNodes); } return scd; }
private SCDBasedBindingSet transform() { // either target nodes are conventional DOM nodes (as per spec), Map<Element,Node> targetNodes = new HashMap<Element,Node>(); // ... or it will be schema components by means of SCD (RI extension) SCDBasedBindingSet scd = new SCDBasedBindingSet(forest); // // identify target nodes for all <jaxb:bindings> // for (Element jaxbBindings : forest.outerMostBindings) { // initially, the inherited context is itself buildTargetNodeMap(jaxbBindings, jaxbBindings, null, targetNodes, scd); } // // then move them to their respective positions. // for (Element jaxbBindings : forest.outerMostBindings) { move(jaxbBindings, targetNodes); } return scd; }
private SCDBasedBindingSet transform() { // either target nodes are conventional DOM nodes (as per spec), Map<Element,List<Node>> targetNodes = new HashMap<Element,List<Node>>(); // ... or it will be schema components by means of SCD (RI extension) SCDBasedBindingSet scd = new SCDBasedBindingSet(forest); // // identify target nodes for all <jaxb:bindings> // for (Element jaxbBindings : forest.outerMostBindings) { // initially, the inherited context is itself buildTargetNodeMap(jaxbBindings, jaxbBindings, null, targetNodes, scd); } // // then move them to their respective positions. // for (Element jaxbBindings : forest.outerMostBindings) { move(jaxbBindings, targetNodes); } return scd; }
private SCDBasedBindingSet transform() { // either target nodes are conventional DOM nodes (as per spec), Map<Element,List<Node>> targetNodes = new HashMap<Element,List<Node>>(); // ... or it will be schema components by means of SCD (RI extension) SCDBasedBindingSet scd = new SCDBasedBindingSet(forest); // // identify target nodes for all <jaxb:bindings> // for (Element jaxbBindings : forest.outerMostBindings) { // initially, the inherited context is itself buildTargetNodeMap(jaxbBindings, jaxbBindings, null, targetNodes, scd); } // // then move them to their respective positions. // for (Element jaxbBindings : forest.outerMostBindings) { move(jaxbBindings, targetNodes); } return scd; }