org.apache.felix.scrplugin.tags.cl
Class ClassLoaderJavaField

java.lang.Object
  extended by org.apache.felix.scrplugin.tags.cl.ClassLoaderJavaField
All Implemented Interfaces:
JavaField

public class ClassLoaderJavaField
extends Object
implements JavaField

ClassLoaderJavaField.java...


Field Summary
protected  JavaClassDescription description
           
protected  Field field
           
 
Constructor Summary
ClassLoaderJavaField(Field f, JavaClassDescription d)
           
 
Method Summary
 String[] getInitializationExpression()
          Return the initial value if this is a static constant.
 String getName()
          The name of the field.
 JavaTag getTagByName(String name)
          Return the given tag.
 String getType()
          The type of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

field

protected final Field field

description

protected final JavaClassDescription description
Constructor Detail

ClassLoaderJavaField

public ClassLoaderJavaField(Field f,
                            JavaClassDescription d)
Method Detail

getInitializationExpression

public String[] getInitializationExpression()
Description copied from interface: JavaField
Return the initial value if this is a static constant. If this field is not an array, an array of length 1 is returned with the value. If this field is an array, the array of values is returned.

Specified by:
getInitializationExpression in interface JavaField
Returns:
The initial value of the field.
See Also:
JavaField.getInitializationExpression()

getName

public String getName()
Description copied from interface: JavaField
The name of the field.

Specified by:
getName in interface JavaField
See Also:
JavaField.getName()

getTagByName

public JavaTag getTagByName(String name)
Description copied from interface: JavaField
Return the given tag.

Specified by:
getTagByName in interface JavaField
Parameters:
name - The tag name.
Returns:
The tag or null.
See Also:
JavaField.getTagByName(java.lang.String)

getType

public String getType()
Description copied from interface: JavaField
The type of the field.

Specified by:
getType in interface JavaField
See Also:
JavaField.getType()


Copyright © 2011 Apache Software Foundation. All Rights Reserved.