List of usage examples for org.xml.sax.helpers DefaultHandler subclass-usage
From source file org.sakaiproject.util.DefaultEntityHandler.java
/**
* This class is required by the SAX parser to parse into. Rather than use the ContentHandler interface
* this class and the underlying DefautlHandler implements all the required methods of ContentHandler
* and others, removing most of the implementation load from those producing extensions.
*
* DefaultEntityHandlers are create by SAXReaders and consume SAXEvents building an Entity, which is then
From source file org.intermine.pathquery.PathQueryHandler.java
/**
* Extension of DefaultHandler to handle parsing PathQuery objects
*
* @author Mark Woodbridge
* @author Kim Rutherford
* @author Thomas Riley
From source file org.sakaibrary.xserver.XMLCleanup.java
public class XMLCleanup extends DefaultHandler { private static final org.apache.commons.logging.Log LOG = org.apache.commons.logging.LogFactory .getLog("org.sakaibrary.xserver.XMLCleanup"); private ByteArrayOutputStream bytes; private Writer out;
From source file com.aurel.track.exchange.track.importer.ImporterFieldParser.java
public class ImporterFieldParser extends DefaultHandler { private static final Logger LOGGER = LogManager.getLogger(ImporterFieldParser.class); private List<ISerializableLabelBean> fieldBeans = new ArrayList<ISerializableLabelBean>(); public List<ISerializableLabelBean> parse(File xml) { //get a factory
From source file hudson.plugins.testlink.parser.junit.JUnitXmlHandler.java
/**
* The JUnit XML Handler.
*
* @author Bruno P. Kinoshita - http://www.kinoshita.eti.br
* @since 2.0
*/
From source file uk.org.rivernile.edinburghbustracker.server.livedata.LiveBusStopData.java
/**
* This class holds the live bus stop data. It gets the values from the parsed
* XML file and stores them in a structure which can be retrieved at a later
* time.
*
* @author Niall Scott
From source file io.milton.http.LockInfoSaxHandler.java
public class LockInfoSaxHandler extends DefaultHandler { private static final Logger log = LoggerFactory.getLogger(LockInfoSaxHandler.class); public static LockInfo parseLockInfo(Request request) throws IOException, FileNotFoundException, SAXException { InputStream in = request.getInputStream();
From source file org.eclipse.smila.integration.solr.SolrResponseHandler.java
public class SolrResponseHandler extends DefaultHandler { private static final String TEXT = "text"; private static final String HIGHLIGHT = "highlight";
From source file net.yacy.document.parser.xml.GenericXMLContentHandler.java
/**
* SAX handler for XML contents, only extracting text and eventual URLs from
* XML.
*
* @author luccioman
*
From source file bbcdataservice.BBCProgrammesParser.java
public class BBCProgrammesParser extends DefaultHandler { private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"); // 2010-10-03T01:10:00+01:00 private static final SimpleDateFormat DATE_FORMAT_ZULU = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); private static final int PROGRAMME_TYPE_EPISODE = 1;