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, TagDescriptor td) {
26 public static TempDescriptor tempFactory() {
27 return new TempDescriptor("temp_"+currentid);
30 public static TempDescriptor tempFactory(String name) {
31 return new TempDescriptor(name+currentid);
34 public static TempDescriptor tempFactory(String name, TypeDescriptor td) {
35 return new TempDescriptor(name+currentid,td);
38 public static TempDescriptor tempFactory(String name, TagDescriptor tag) {
39 return new TempDescriptor(name+currentid,tag);
42 public static TempDescriptor paramtempFactory(String name, TypeDescriptor td) {
43 return new TempDescriptor(name,td);
46 public static TempDescriptor paramtempFactory(String name, TagDescriptor tag) {
47 return new TempDescriptor(name,tag);
50 public String toString() {
54 public void setType(TypeDescriptor td) {
58 public TypeDescriptor getType() {
62 public TagDescriptor getTag() {