1 57 58 package org.apache.wsif.compiler.schema.tools; 59 60 import javax.xml.namespace.QName ; 61 62 67 public class SchemaAttribute implements SchemaType { 68 69 private String name; 71 private QName ref; 72 private QName type; 73 private SchemaSimpleType child; 74 private String targetURI; 75 76 80 public SchemaAttribute( 81 String name, 82 QName ref, 83 QName type, 84 SchemaSimpleType child, 85 String targetURI) { 86 87 this.name = name; 88 this.ref = ref; 89 this.type = type; 90 this.child = child; 91 this.targetURI = targetURI; 92 93 } 94 95 100 public SchemaSimpleType getChild() { 101 return child; 102 } 103 104 109 public int getElementType() { 110 return ATTRIBUTE; 111 } 112 113 118 public String getName() { 119 return name; 120 } 121 122 127 public QName getRef() { 128 return ref; 129 } 130 131 136 public String getTargetURI() { 137 138 return targetURI; 139 140 } 141 142 147 public QName getType() { 148 return type; 149 } 150 } | Popular Tags |