org.apache.felix.scrplugin.tags.qdox
Class QDoxJavaField

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

public class QDoxJavaField
extends Object
implements JavaField

QDoxJavaField.java...


Field Summary
protected  QDoxJavaClassDescription description
           
protected  com.thoughtworks.qdox.model.JavaField field
           
 
Constructor Summary
QDoxJavaField(com.thoughtworks.qdox.model.JavaField f, QDoxJavaClassDescription 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 com.thoughtworks.qdox.model.JavaField field

description

protected final QDoxJavaClassDescription description
Constructor Detail

QDoxJavaField

public QDoxJavaField(com.thoughtworks.qdox.model.JavaField f,
                     QDoxJavaClassDescription 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.