net.alantea.viewml.processors.AddBundleProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of viewml Show documentation
Show all versions of viewml Show documentation
XML view description system
package net.alantea.viewml.processors;
import org.xml.sax.SAXException;
import net.alantea.utils.MultiMessages;
import net.alantea.viewml.annotations.VInstruction;
/**
* The Class ImportProcessor.
*/
@VInstruction("addBundle")
public class AddBundleProcessor implements Processor
{
/**
* Instantiates a new import processor.
*/
public AddBundleProcessor()
{
}
/**
* Process.
*
* @param data the data
* @throws SAXException the SAX exception
*/
/* (non-Javadoc)
* @see net.eads.astrium.it3s.txml.processors.Processor#process(java.lang.String)
*/
@Override
public void process(String data) throws SAXException
{
MultiMessages.addBundle(data.trim());
}
}