Elexis API documentation
Version 2.1.6 as of December 11 2011

eaustria.utensil.xml
Class XmlZeug

java.lang.Object
  extended by eaustria.utensil.xml.XmlZeug

public class XmlZeug
extends java.lang.Object

Hilfsfunktionen zum Einlesen von XML-Dokumenten in DOM-Bäume.

Author:
leo

Method Summary
static org.w3c.dom.Document leertextlosLesen(java.io.InputStream ein, javax.xml.parsers.DocumentBuilderFactory dbf, javax.xml.parsers.DocumentBuilder db)
          Liest ein XML-Dokument ohne Rücksicht auf leere Textknoten ein.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

leertextlosLesen

public static org.w3c.dom.Document leertextlosLesen(java.io.InputStream ein,
                                                    javax.xml.parsers.DocumentBuilderFactory dbf,
                                                    javax.xml.parsers.DocumentBuilder db)
                                             throws java.io.IOException
Liest ein XML-Dokument ohne Rücksicht auf leere Textknoten ein.

Parameters:
ein - Eingabedatenstrom, der das XML-Dokument enthält.
dbf - DocumentBuilderFactory-Objekt oder null, wenn eins erzeugt werden soll.
db - DocumentBuilder oder null, wenn einer aus dbf erzeugt werden soll.
Throws:
java.io.IOException - wenn beim Einlesen Probleme auftraten (auch Syntaxfehler)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis