1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.impl.wsdl.panels.request.components.editor;
14
15 import org.apache.xmlbeans.SchemaType;
16 import org.apache.xmlbeans.XmlObject;
17
18 public class XmlLocation
19 {
20 private final int line;
21 private final int column;
22 private XmlObject xmlObject;
23 private final SchemaType schemaType;
24 private String documentation;
25
26 public XmlLocation( int line, int column)
27 {
28 this( line, column, null, null, null );
29 }
30
31 public XmlLocation( int line, int column, XmlObject xmlObject, SchemaType schemaType, String documentation )
32 {
33 this.line = line;
34 this.column = column;
35 this.xmlObject = xmlObject;
36 this.schemaType = schemaType;
37 this.documentation = documentation;
38 }
39
40 public int getColumn()
41 {
42 return column;
43 }
44
45 public int getLine()
46 {
47 return line;
48 }
49
50 public SchemaType getSchemaType()
51 {
52 return schemaType;
53 }
54
55 public XmlObject getXmlObject()
56 {
57 return xmlObject;
58 }
59
60 public String getDocumentation()
61 {
62 return documentation;
63 }
64
65 public void setDocumentation( String documentation )
66 {
67 this.documentation = documentation;
68 }
69
70
71 }