1 57 58 package org.apache.wsif.compiler.schema.tools; 59 60 import javax.xml.namespace.QName ; 61 62 67 public class SchemaElement implements SchemaType { 68 69 72 private String name; 73 private QName ref; 74 private QName type; 75 private boolean isArray = false; 76 77 private SchemaType child; 78 private String targetURI; 79 80 84 public SchemaElement( 85 String name, 86 QName ref, 87 QName type, 88 boolean isArray, 89 SchemaType child, 90 String targetURI) { 91 92 this.name = name; 93 this.ref = ref; 94 this.type = type; 95 this.isArray = isArray; 96 this.child = child; 97 this.targetURI = targetURI; 98 99 } 100 101 106 public SchemaType getChild() { 107 return child; 108 } 109 110 115 public int getElementType() { 116 return ELEMENT; 117 } 118 119 124 public String getName() { 125 return name; 126 } 127 128 133 public QName getRef() { 134 return ref; 135 } 136 137 142 public String getTargetURI() { 143 return targetURI; 144 145 } 146 147 152 public QName getType() { 153 return type; 154 } 155 156 161 public boolean isArray() { 162 return isArray; 163 } 164 } | Popular Tags |