private Definitions parseDefinitions(TWSDLParserContextImpl context, Document root) { context.pushWSDLLocation(); context.setWSDLLocation(context.getDocument().getSystemId()); new Internalizer(forest, options, errReceiver).transform(); Definitions definitions = parseDefinitionsNoImport(context, root); if(definitions == null){ Locator locator = forest.locatorTable.getStartLocation(root.getDocumentElement()); errReceiver.error(locator, WsdlMessages.PARSING_NOT_AWSDL(locator.getSystemId())); } processImports(context); context.popWSDLLocation(); return definitions; }
private Definitions parseDefinitions(TWSDLParserContextImpl context, Document root) { context.pushWSDLLocation(); context.setWSDLLocation(context.getDocument().getSystemId()); new Internalizer(forest, options, errReceiver).transform(); Definitions definitions = parseDefinitionsNoImport(context, root); if(definitions == null){ Locator locator = forest.locatorTable.getStartLocation(root.getDocumentElement()); errReceiver.error(locator, WsdlMessages.PARSING_NOT_AWSDL(locator.getSystemId())); } processImports(context); context.popWSDLLocation(); return definitions; }
private Definitions parseDefinitions(TWSDLParserContextImpl context, Document root) { context.pushWSDLLocation(); context.setWSDLLocation(context.getDocument().getSystemId()); new Internalizer(forest, options, errReceiver).transform(); Definitions definitions = parseDefinitionsNoImport(context, root); if(definitions == null){ Locator locator = forest.locatorTable.getStartLocation(root.getDocumentElement()); errReceiver.error(locator, WsdlMessages.PARSING_NOT_AWSDL(locator.getSystemId())); } processImports(context); context.popWSDLLocation(); return definitions; }
private Definitions parseDefinitions(TWSDLParserContextImpl context, Document root) { context.pushWSDLLocation(); context.setWSDLLocation(context.getDocument().getSystemId()); new Internalizer(forest, options, errReceiver).transform(); Definitions definitions = parseDefinitionsNoImport(context, root); if(definitions == null){ Locator locator = forest.locatorTable.getStartLocation(root.getDocumentElement()); errReceiver.error(locator, WsdlMessages.PARSING_NOT_AWSDL(locator.getSystemId())); } processImports(context); context.popWSDLLocation(); return definitions; }