private XMLEvent wrap(EndElement endElement) { final List<Namespace> targetNamespaces = mapNamespaces( existingXmlNamespacesIterator( endElement ) ); // Transfer the location info from the incoming event to the event factory // so that the event we ask it to generate for us has the same location info xmlEventFactory.setLocation( endElement.getLocation() ); return xmlEventFactory.createEndElement( new QName( MappingXsdSupport.INSTANCE.latestJpaDescriptor().getNamespaceUri(), endElement.getName().getLocalPart() ), targetNamespaces.iterator() ); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void addEndEvent(XMLEvent xmlEvent) { EndElement ee = xmlEvent.asEndElement(); String tagName = ee.getName().getLocalPart(); EndEvent endEvent = new EndEvent(tagName, ee.getLocation()); eventList.add(endEvent); globalElementPath.pop(); }
private void checkEndTagName(final QName expectedName, final EndElement element) throws PolicyException { final QName actualName = element.getName(); if (!expectedName.equals(actualName)) { throw LOGGER.logSevereException(new PolicyException(LocalizationMessages.WSP_0091_END_ELEMENT_NO_MATCH(expectedName, element, element.getLocation()))); } }
private XMLEvent wrap(EndElement endElement) { final List<Namespace> targetNamespaces = mapNamespaces( existingXmlNamespacesIterator( endElement ) ); // Transfer the location info from the incoming event to the event factory // so that the event we ask it to generate for us has the same location info xmlEventFactory.setLocation( endElement.getLocation() ); return xmlEventFactory.createEndElement( new QName( MappingXsdSupport.INSTANCE.latestJpaDescriptor().getNamespaceUri(), endElement.getName().getLocalPart() ), targetNamespaces.iterator() ); }
logger.warn( "Translation (Line {}) is empty. type attribute was updated to unfinished.", endElem.getLocation().getLineNumber());
fillQName(fElementQName, end.getName()); fillDeclaredPrefixes(end); fLocationWrapper.setLocation(end.getLocation()); fSchemaDOMParser.endElement(fElementQName, null); fNamespaceContext.popContext();
fillQName(fElementQName, end.getName()); fillDeclaredPrefixes(end); fLocationWrapper.setLocation(end.getLocation()); fSchemaDOMParser.endElement(fElementQName, null); fNamespaceContext.popContext();
fillQName(fElementQName, end.getName()); fillDeclaredPrefixes(end); fLocationWrapper.setLocation(end.getLocation()); fSchemaDOMParser.endElement(fElementQName, null); fNamespaceContext.popContext();
fillQName(fElementQName, end.getName()); fillDeclaredPrefixes(end); fStAXLocationWrapper.setLocation(end.getLocation()); fSchemaValidator.endElement(fElementQName, null); if (--fDepth <= 0) {