1 /*
2 * Created by IntelliJ IDEA.
3 * User: pelleb
4 * Date: Sep 10, 2002
5 * Time: 11:46:36 AM
6 * To change template for new interface use
7 * Code Style | Class Templates options (Tools | IDE Options).
8 */
9 package org.neuclear.xml;
10
11 import org.dom4j.DocumentHelper;
12 import org.dom4j.Element;
13 import org.dom4j.Namespace;
14
15 public interface ElementProxy {
16 public Element getElement();
17 /*
18 public QName getQName();
19 public String getTagName();
20 public Namespace getNS();
21 */
22
23
24 static Namespace XMLNS = DocumentHelper.createNamespace("xmlns", "http://www.w3.org/XML/1998/namespace");
25
26 /***
27 * Generates a textual XML Representation of an object.
28 *
29 * @return XML as text
30 * @throws XMLException
31 */
32 String asXML() throws XMLException;
33
34 /***
35 * Canonicalizes object's XML Representation
36 *
37 * @return byte array containing the Canonicalized Object
38 * @throws XMLException
39 */
40 byte[] canonicalize() throws XMLException;
41 }
This page was automatically generated by Maven