jadex.xml.reader.XMLReaderFactoryAndroid Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-android-xmlpull Show documentation
Show all versions of jadex-android-xmlpull Show documentation
This Project includes a variant of the Jadex XML Parser that uses the Android XML Pull API.
package jadex.xml.reader;
import jadex.xml.stax.XMLReporter;
/**
* Factory implementation for Android.
*/
public class XMLReaderFactoryAndroid extends XMLReaderFactory
{
@Override
public AReader createReader()
{
return createReader(false);
}
@Override
public AReader createReader(boolean bulklink)
{
return createReader(bulklink, false, null);
}
@Override
public AReader createReader(boolean bulklink, boolean validate, XMLReporter reporter)
{
return createReader(bulklink, validate, false, reporter);
}
@Override
public AReader createReader(boolean bulklink, boolean validate, boolean coalescing, XMLReporter reporter)
{
return new PullParserReader(validate, coalescing, reporter, bulklink);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy