All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.retest.recheck.xml.XMLEventToRootElementConverter Maven / Gradle / Ivy

The newest version!
package de.retest.recheck.xml;

import javax.xml.stream.events.XMLEvent;

import de.retest.ui.descriptors.IdentifyingAttributes;
import de.retest.ui.descriptors.RootElement;

public class XMLEventToRootElementConverter extends XMLEventToElementConverter {

	public XMLEventToRootElementConverter( final XMLEvent event ) {
		super( null, 0, event );
	}

	public RootElement createElement() {
		final IdentifyingAttributes identifyingAttributes = new IdentifyingAttributes( this.identifyingAttributes );
		final RootElement result = new RootElement( identifyingAttributes, attributes.immutable(), null,
				containedComponents, null, 1, null );
		return result;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy