X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Futil%2Fxml%2FXML.java;h=28f829828e2f6daf6503f4f19484177464a80240;hb=bbfa208695e2a7f1bb555f841623945767f296e7;hp=d84fd757f92bbb397a85c9207e10a902ee5e6165;hpb=da127cd41fa65b7ec217f8e9f525ed7534abf5e1;p=jSite.git diff --git a/src/de/todesbaum/util/xml/XML.java b/src/de/todesbaum/util/xml/XML.java index d84fd75..28f8298 100644 --- a/src/de/todesbaum/util/xml/XML.java +++ b/src/de/todesbaum/util/xml/XML.java @@ -3,12 +3,12 @@ * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. - * + * * This program 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 GNU General Public License for more * details. - * + * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place - Suite 330, Boston, MA 02111-1307, USA. @@ -42,7 +42,7 @@ import org.w3c.dom.Document; /** * Contains method to transform DOM XML trees to byte arrays and vice versa. - * + * * @author David Roden <droden@gmail.com> * @version $Id:XML.java 221 2006-03-06 14:46:49Z bombe $ */ @@ -63,7 +63,7 @@ public class XML { /** * Returns a document builder factory. If possible the cached instance will be returned. - * + * * @return A document builder factory */ private static DocumentBuilderFactory getDocumentBuilderFactory() { @@ -76,7 +76,7 @@ public class XML { /** * Returns a document builder. If possible the cached instance will be returned. - * + * * @return A document builder */ private static DocumentBuilder getDocumentBuilder() { @@ -92,7 +92,7 @@ public class XML { /** * Returns a transformer factory. If possible the cached instance will be returned. - * + * * @return A transformer factory */ private static TransformerFactory getTransformerFactory() { @@ -105,7 +105,7 @@ public class XML { /** * Creates a new XML document. - * + * * @return A new XML document */ public static Document createDocument() { @@ -114,7 +114,7 @@ public class XML { /** * Transforms the DOM XML document into a byte array. - * + * * @param document * The document to transform * @return The byte array containing the XML representation @@ -143,7 +143,7 @@ public class XML { /** * Transforms the byte array into a DOM XML document. - * + * * @param data * The byte array to parse * @return The DOM XML document