
org.nlab.xml.stream.factory.StaxCachedFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xml-stream-css Show documentation
Show all versions of xml-stream-css Show documentation
Stream Xml using StAX and Css matcher
package org.nlab.xml.stream.factory;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLOutputFactory;
/**
* @author nlabrot
* Cached factory for input/output
*/
public class StaxCachedFactory {
protected StaxCachedFactory()
{
}
/**
* Get an input factory according to properties
* @param properties properties
* @return XMLInputFactory
*/
public static XMLInputFactory getInputFactory(Object... properties) {
return StaxCachedInputFactory.getFactory(properties);
}
/**
* Get an output factory according to properties
* @param properties properties
* @return XMLInputFactory
*/
public static XMLOutputFactory getOutputFactory(Object... properties) {
return StaxCachedOutputFactory.getFactory(properties);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy