1 19 20 package org.apache.tools.ant.module.bridge.impl; 21 22 import java.util.Enumeration ; 23 import org.apache.tools.ant.IntrospectionHelper; 24 import org.apache.tools.ant.module.bridge.IntrospectionHelperProxy; 25 26 29 final class IntrospectionHelperImpl implements IntrospectionHelperProxy { 30 31 private final IntrospectionHelper helper; 32 33 public IntrospectionHelperImpl(Class c) { 34 helper = IntrospectionHelper.getHelper(c); 35 } 36 37 public Class getAttributeType(String name) { 38 return helper.getAttributeType(name); 39 } 40 41 @SuppressWarnings ("unchecked") public Enumeration <String > getAttributes() { 43 return helper.getAttributes(); 44 } 45 46 public Class getElementType(String name) { 47 return helper.getElementType(name); 48 } 49 50 @SuppressWarnings ("unchecked") 51 public Enumeration <String > getNestedElements() { 52 return helper.getNestedElements(); 53 } 54 55 public boolean supportsCharacters() { 56 return helper.supportsCharacters(); 57 } 58 59 } 60 | Popular Tags |