Search in sources :

Example 1 with NonValidator

use of org.freeplane.n3.nanoxml.NonValidator in project freeplane by freeplane.

the class TreeXmlReader method load.

/*
	 * (non-Javadoc)
	 * @see freeplane.persistence.Reader#load()
	 */
public void load(final Reader reader) throws XMLException {
    parser = new XMLParser();
    final IXMLReader nanoxmlReader = new StdXMLReader(reader);
    parser.setReader(nanoxmlReader);
    parser.setBuilder(this);
    parser.setValidator(new NonValidator());
    parser.parse();
}
Also used : NonValidator(org.freeplane.n3.nanoxml.NonValidator) IXMLReader(org.freeplane.n3.nanoxml.IXMLReader) StdXMLReader(org.freeplane.n3.nanoxml.StdXMLReader)

Aggregations

IXMLReader (org.freeplane.n3.nanoxml.IXMLReader)1 NonValidator (org.freeplane.n3.nanoxml.NonValidator)1 StdXMLReader (org.freeplane.n3.nanoxml.StdXMLReader)1