org.apache.xml.utils.synthetic.reflection

Interface Member

Known Implementing Classes:
Constructor, EntryPoint, Field, Method

public interface Member

Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.

Note that this is not currently derived from java.lang.reflect.Member, due to questions about how to handle declarignClass.

See Also:
Class

Method Summary

abstract Class
getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
abstract int
getModifiers()
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
abstract void
setDeclaringClass(Class declaringClass)
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
abstract void
setModifiers(int modifiers)
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.

Method Details

getDeclaringClass

public abstract Class getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.

getModifiers

public abstract int getModifiers()
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer. The Modifier class should be used to decode the modifiers in the integer.

setDeclaringClass

public abstract void setDeclaringClass(Class declaringClass)
            throws SynthesisException
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
Parameters:
declaringClass -

setModifiers

public abstract void setModifiers(int modifiers)
            throws SynthesisException
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer. The Modifier class should be used to decode the modifiers in the integer.
Parameters:
modifiers -

Copyright B) 2004 Apache XML Project. All Rights Reserved.