4 public class TempDescriptor extends Descriptor {
5 static int currentid=0;
11 public TempDescriptor(String name) {
16 public TempDescriptor(String name, TypeDescriptor td) {
21 public TempDescriptor(String name, TypeDescriptor type, TagDescriptor td) {
27 public static TempDescriptor tempFactory() {
28 return new TempDescriptor("temp_"+currentid);
31 public static TempDescriptor tempFactory(String name) {
32 return new TempDescriptor(name+currentid);
35 public static TempDescriptor tempFactory(String name, TypeDescriptor td) {
36 return new TempDescriptor(name+currentid,td);
39 public static TempDescriptor tempFactory(String name, TypeDescriptor type, TagDescriptor tag) {
40 return new TempDescriptor(name+currentid,type,tag);
43 public static TempDescriptor paramtempFactory(String name, TypeDescriptor td) {
44 return new TempDescriptor(name,td);
47 public static TempDescriptor paramtempFactory(String name, TypeDescriptor tagtype, TagDescriptor tag) {
48 return new TempDescriptor(name, tagtype, tag);
51 public String toString() {
55 public void setType(TypeDescriptor td) {
59 public TypeDescriptor getType() {
63 public TagDescriptor getTag() {
67 public void setTag(TagDescriptor tag) {