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; }
buildTargetNodeMap(value, forest.get(systemId).getDocumentElement(), inheritedSCD, result, scdResult); for (Element value : children) if(!multiple || targetMultiple == null) buildTargetNodeMap(value, target, inheritedSCD, result, scdResult); else { for(Node rnode : targetMultiple) { buildTargetNodeMap(value, rnode, inheritedSCD, result, scdResult);
buildTargetNodeMap(value, forest.get(systemId).getDocumentElement(), inheritedSCD, result, scdResult); for (Element value : children) if(!multiple || targetMultiple == null) buildTargetNodeMap(value, target, inheritedSCD, result, scdResult); else { for(Node rnode : targetMultiple) { buildTargetNodeMap(value, rnode, inheritedSCD, result, scdResult);
buildTargetNodeMap(value, forest.get(systemId).getDocumentElement(), inheritedSCD, result, scdResult); for (Element value : children) if(!multiple || targetMultiple == null) buildTargetNodeMap(value, target, inheritedSCD, result, scdResult); else { for(Node rnode : targetMultiple) { buildTargetNodeMap(value, rnode, inheritedSCD, result, scdResult);
buildTargetNodeMap(value, forest.get(systemId).getDocumentElement(), inheritedSCD, result, scdResult); for (Element value : children) if(!multiple || targetMultiple == null) buildTargetNodeMap(value, target, inheritedSCD, result, scdResult); else { for(Node rnode : targetMultiple) { buildTargetNodeMap(value, rnode, inheritedSCD, result, scdResult);
buildTargetNodeMap(value, target, inheritedSCD, result, scdResult);