org.xs4j.xmlspitter.InternalSpitterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmlslurper Show documentation
Show all versions of xmlslurper Show documentation
An attempt to port parsing capabilities offered by Groovy XMLSlurper into the Java world. The following is not planned to be accurate projection, instead the most useful functions will be implemented.
The newest version!
package org.xs4j.xmlspitter;
/**
* Created by mturski on 1/5/2017.
*/
public final class InternalSpitterFactory implements XMLSpitterFactory {
public static XMLSpitterFactory getInstance() {
return new InternalSpitterFactory();
}
private InternalSpitterFactory() {
}
@Override
public final XMLSpitter createXMLSpitter() {
return new XMLSpitterImpl(new XMLSpitterImpl.InternalStreamProvider());
}
}