xidyn/test/Foo.java

44 lines
1.2 KiB
Java
Raw Permalink Normal View History

/*
* Copyright (C) 2006-2014,2017 Christian Pierre MOMON
2014-02-04 19:00:36 +01:00
*
* This file is part of Xidyn.
*
* Xidyn is free software: you can redistribute it and/or modify
2014-11-09 10:06:13 +01:00
* it under the terms of the GNU Lesser General Public License as published by
2014-02-04 19:00:36 +01:00
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Xidyn is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2014-11-09 10:06:13 +01:00
* GNU Lesser General Public License for more details.
2014-02-04 19:00:36 +01:00
*
2014-11-09 10:06:13 +01:00
* You should have received a copy of the GNU Lesser General Public License
2014-02-04 19:00:36 +01:00
* along with Xidyn. If not, see <http://www.gnu.org/licenses/>
*/
2013-08-19 16:35:49 +02:00
import org.w3c.dom.Document;
import fr.devinsy.xidyn.utils.XidynUtils;
/**
* The Class Foo.
2013-08-19 16:35:49 +02:00
*/
public class Foo
2013-08-19 16:35:49 +02:00
{
2016-09-08 02:41:48 +02:00
/**
* The main method.
2016-09-08 02:41:48 +02:00
*
* @param args
* the arguments
* @throws Exception
* the exception
2016-09-08 02:41:48 +02:00
*/
public static void main(final String[] args) throws Exception
{
String source = "<div><h1>toto</h1><span id='titi'>blank</span></div>";
2013-08-19 16:35:49 +02:00
2016-09-08 02:41:48 +02:00
Document dom = XidynUtils.buildDom(source);
}
2013-08-19 16:35:49 +02:00
}