For IntelliJ IDEA,
Android Studio or Eclipse



private void myMethod () {SCDBasedBindingSet s =
DOMForest dOMForest;dOMForest.transform(options.isExtensionMode())
DOMForest forest;new SCDBasedBindingSet(forest)
DOMForest dOMForest;Internalizer.transform(dOMForest, enableSCD, disableSecureProcessing)
- Smart code suggestions by Codota
}
private void reportError( Element errorSource, String formattedMsg ) { reportError( errorSource, formattedMsg, null ); }
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; }
/** * Parses a {@link DOMForest} into a {@link XSSchemaSet}. * * @return * null if the parsing failed. */ public XSSchemaSet createXSOM(DOMForest forest, SCDBasedBindingSet scdBasedBindingSet) throws SAXException { // set up other parameters to XSOMParser XSOMParser reader = createXSOMParser(forest); // re-parse the transformed schemas for (String systemId : forest.getRootDocuments()) { errorReceiver.pollAbort(); Document dom = forest.get(systemId); if (!dom.getDocumentElement().getNamespaceURI().equals(Const.JAXB_NSURI)) reader.parse(systemId); } XSSchemaSet result = reader.getResult(); if(result!=null) scdBasedBindingSet.apply(result,errorReceiver); return result; }
private void reportError( Element errorSource, String formattedMsg ) { reportError( errorSource, formattedMsg, null ); }
private void reportError( Element errorSource, String formattedMsg ) { reportError( errorSource, formattedMsg, null ); }
private void reportError( Element errorSource, String formattedMsg ) { reportError( errorSource, formattedMsg, null ); }
private void reportError( Element errorSource, String formattedMsg ) { reportError( errorSource, formattedMsg, null ); }
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; }
/** * Parses a {@link DOMForest} into a {@link XSSchemaSet}. * * @return * null if the parsing failed. */ public XSSchemaSet createXSOM(DOMForest forest, SCDBasedBindingSet scdBasedBindingSet) throws SAXException { // set up other parameters to XSOMParser XSOMParser reader = createXSOMParser(forest); // re-parse the transformed schemas for (String systemId : forest.getRootDocuments()) { errorReceiver.pollAbort(); Document dom = forest.get(systemId); if (!dom.getDocumentElement().getNamespaceURI().equals(Const.JAXB_NSURI)) { reader.parse(systemId); } } XSSchemaSet result = reader.getResult(); if(result!=null) scdBasedBindingSet.apply(result,errorReceiver); return result; }
/** * Parses a {@link DOMForest} into a {@link XSSchemaSet}. * * @return * null if the parsing failed. */ public XSSchemaSet createXSOM(DOMForest forest, SCDBasedBindingSet scdBasedBindingSet) throws SAXException { // set up other parameters to XSOMParser XSOMParser reader = createXSOMParser(forest); // re-parse the transformed schemas for (String systemId : forest.getRootDocuments()) { errorReceiver.pollAbort(); Document dom = forest.get(systemId); if (!dom.getDocumentElement().getNamespaceURI().equals(Const.JAXB_NSURI)) reader.parse(systemId); } XSSchemaSet result = reader.getResult(); if(result!=null) scdBasedBindingSet.apply(result,errorReceiver); return result; }
/** * Parses a {@link DOMForest} into a {@link XSSchemaSet}. * * @return * null if the parsing failed. */ public XSSchemaSet createXSOM(DOMForest forest, SCDBasedBindingSet scdBasedBindingSet) throws SAXException { // set up other parameters to XSOMParser XSOMParser reader = createXSOMParser(forest); // re-parse the transformed schemas for (String systemId : forest.getRootDocuments()) { errorReceiver.pollAbort(); Document dom = forest.get(systemId); if (!dom.getDocumentElement().getNamespaceURI().equals(Const.JAXB_NSURI)) { reader.parse(systemId); } } XSSchemaSet result = reader.getResult(); if(result!=null) scdBasedBindingSet.apply(result,errorReceiver); return result; }
/** * Parses a {@link DOMForest} into a {@link XSSchemaSet}. * * @return * null if the parsing failed. */ public XSSchemaSet createXSOM(DOMForest forest, SCDBasedBindingSet scdBasedBindingSet) throws SAXException { // set up other parameters to XSOMParser XSOMParser reader = createXSOMParser(forest); // re-parse the transformed schemas for (String systemId : forest.getRootDocuments()) { errorReceiver.pollAbort(); Document dom = forest.get(systemId); if (!dom.getDocumentElement().getNamespaceURI().equals(Const.JAXB_NSURI)) { reader.parse(systemId); } } XSSchemaSet result = reader.getResult(); if(result!=null) scdBasedBindingSet.apply(result,errorReceiver); return result; }