1 28 29 package org.jibx.binding.model; 30 31 import org.jibx.binding.classes.ClassItem; 32 33 41 42 public class ClassItemWrapper implements IClassItem 43 { 44 private final IClass m_class; 45 final ClassItem m_item; 46 47 ClassItemWrapper(IClass clas, ClassItem item) { 48 m_class = clas; 49 m_item = item; 50 } 51 52 55 public IClass getOwningClass() { 56 return m_class; 57 } 58 59 62 public String getName() { 63 return m_item.getName(); 64 } 65 66 69 public String getTypeName() { 70 return m_item.getTypeName(); 71 } 72 73 76 public int getArgumentCount() { 77 return m_item.getArgumentCount(); 78 } 79 80 83 public String getArgumentType(int index) { 84 return m_item.getArgumentTypes()[index]; 85 } 86 87 90 public int getAccessFlags() { 91 return m_item.getAccessFlags(); 92 } 93 94 97 public String getSignature() { 98 return m_item.getSignature(); 99 } 100 101 104 public boolean isMethod() { 105 return m_item.isMethod(); 106 } 107 108 111 public boolean isInitializer() { 112 return m_item.isInitializer(); 113 } 114 115 118 public String [] getExceptions() { 119 return m_item.getExceptions(); 120 } 121 } | Popular Tags |