summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson/agfasdo/com.agfa.hap.sdo/src/main/java/com/agfa/hap/sdo/implementation/XMLDocumentImpl.java
blob: e03e04435cd984162f35e96acce3633f1e8f91b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package com.agfa.hap.sdo.implementation;

import commonj.sdo.DataObject;
import commonj.sdo.helper.XMLDocument;

class XMLDocumentImpl implements XMLDocument {

    private DataObject rootObject;
    private String rootElementURI;
    private String rootElementName;
    private String encoding;
    

    public XMLDocumentImpl(DataObject root, String uri, String name) {
        this();
        rootObject = root;
        rootElementName = name;
        rootElementURI = uri;
    }

    public XMLDocumentImpl() {
        encoding = "UTF-8";
    }

    public DataObject getRootObject() {
        return rootObject;
    }

    public String getRootElementURI() {
        return rootElementURI;
    }

    public String getRootElementName() {
        return rootElementName;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public boolean isXMLDeclaration() {
        // TODO Auto-generated method stub
        return false;
    }

    public void setXMLDeclaration(boolean xmlDeclaration) {
        // TODO Auto-generated method stub

    }

    public String getXMLVersion() {
        // TODO Auto-generated method stub
        return null;
    }

    public void setXMLVersion(String xmlVersion) {
        // TODO Auto-generated method stub

    }

    public String getSchemaLocation() {
        // TODO Auto-generated method stub
        return null;
    }

    public void setSchemaLocation(String schemaLocation) {
        // TODO Auto-generated method stub

    }

    public String getNoNamespaceSchemaLocation() {
        // TODO Auto-generated method stub
        return null;
    }

    public void setNoNamespaceSchemaLocation(String schemaLocation) {
        // TODO Auto-generated method stub

    }

}