nyla.solutions.global.xml.DomStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
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);
}