All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fugerit.java.doc.base.xml.DocContentHandler Maven / Gradle / Ivy

There is a newer version: 8.11.9
Show newest version
/*****************************************************************

	Fugerit Java Library org.fugerit.java.doc.base 

	Copyright (c) 2019 Fugerit

	All rights reserved. This program and the accompanying materials
	are made available under the terms of the Apache License v2.0
	which accompanies this distribution, and is available at
	http://www.apache.org/licenses/
	(txt version : http://www.apache.org/licenses/LICENSE-2.0.txt
	html version : http://www.apache.org/licenses/LICENSE-2.0.html)

   This product includes software developed at
   The Apache Software Foundation (http://www.apache.org/).

*****************************************************************/
/*
 * @(#)DocContentHandler.java
 *
 * @project    : org.fugerit.java.doc.base
 * @package    : org.fugerit.java.doc.base.xml
 * @creation   : 06/set/06
 * @license	   : META-INF/LICENSE.TXT
 */
package org.fugerit.java.doc.base.xml;

import java.util.Properties;

import org.fugerit.java.doc.base.model.DocBase;
import org.fugerit.java.doc.base.model.DocHelper;
import org.fugerit.java.doc.base.parser.DocParserContext;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;

/**
 * 
 *
 * @author Matteo 
 *
 */
public class DocContentHandler implements ContentHandler {
	
	public static Properties attsToProperties(Attributes atts) {
		Properties props =  new Properties();
		for ( int k=0; k




© 2015 - 2025 Weber Informatics LLC | Privacy Policy