1 57 58 package org.apache.wsif.compiler.schema.tools; 59 60 import java.util.Vector ; 61 62 import javax.xml.namespace.QName ; 63 64 69 public class SchemaGroup implements SchemaType { 70 71 73 private String name; 74 private QName ref; 75 private boolean isArray = false; 76 private SchemaMGS child; 77 private String targetURI; 78 79 83 public SchemaGroup( 84 String name, 85 QName ref, 86 boolean isArray, 87 SchemaMGS child, 88 String targetURI) { 89 90 this.name = name; 91 this.ref = ref; 92 this.isArray = isArray; 93 this.child = child; 94 this.targetURI = targetURI; 95 96 } 97 98 103 public SchemaMGS getChild() { 104 return child; 105 } 106 107 112 public int getElementType() { 113 return GROUP; 114 } 115 116 121 public String getName() { 122 return name; 123 } 124 125 130 public QName getRef() { 131 return ref; 132 } 133 134 139 public String getTargetURI() { 140 141 return targetURI; 142 143 } 144 145 150 public boolean isArray() { 151 return isArray; 152 } 153 } | Popular Tags |