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

nyla.solutions.global.xml.DomStrategy Maven / Gradle / Ivy

Go to download

Nyla Solutions Global Java API provides support for basic application utilities (application configuration, data encryption, debugger and text processing).

The newest version!
package nyla.solutions.global.xml;

import java.io.InputStream;
import java.net.URL;
import org.w3c.dom.Document;


public interface DomStrategy
{

	/**
	 * Convert XML to DOM object
	 * 
	 * @param aXML
	 *            the input XML
	 * @return DOM object for the XML
	 * @throws org.dom4j.DocumentException
	 */
	public Document toDocument(String aXML);
	
	public Document toDocument(InputStream inputStream);
	/**
	 * Convert XML to DOM object
	 * 
	 * @param aXML
	 *            the input XML
	 * @return DOM object for the XML
	 * @throws org.dom4j.DocumentException
	 */
	public Document toDocument(URL url);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy