|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.synthetic.reflection.EntryPoint
**For internal use only** API/behaviors shared between Constructors and Methods. They're mostly similar, except for what they proxy and a few specific calls (name, invoke/getInstance).
Constructor Summary | |
EntryPoint(Class declaringclass)
Insert the method's description here. |
Method Summary | |
void |
addExceptionType(Class exception)
Method addExceptionType |
void |
addParameter(Class type,
java.lang.String name)
Method addParameter |
boolean |
equals(java.lang.Object obj)
Compares this against the specified object. |
java.lang.StringBuffer |
getBody()
Extension: For synthesis, we need a place to hang a method body. |
Class |
getDeclaringClass()
Returns the Class object representing the class that declares the constructor represented by this Constructor object. |
Class[] |
getExceptionTypes()
Returns an array of Class objects that represent the types of the checked exceptions thrown by the underlying constructor represented by this Constructor object. |
java.lang.String |
getLanguage()
Extension: For synthesis, we need a place to hang a method body. |
int |
getModifiers()
Returns the Java language modifiers for the constructor represented by this Constructor object, as an integer. |
java.lang.String |
getName()
Member method. |
java.lang.String[] |
getParameterNames()
Method getParameterNames (getParameterNames) @return |
Class[] |
getParameterTypes()
Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor represented by this Constructor object. |
Class |
getReturnType()
Returns the Class object representing the class that will be returned by this EntryPoint. |
abstract int |
hashCode()
Returns a hashcode for this Constructor. |
void |
setBody(java.lang.String language,
java.lang.StringBuffer body)
Extension: For synthesis, we need a place to hang a method body. |
void |
setDeclaringClass(Class declaringClass)
Assert the Class object representing the class that declares the constructor represented by this Constructor object. |
void |
setModifiers(int modifiers)
Should only be accepted before a "real" entrypoint is bound. |
void |
setName(java.lang.String name)
Member method. |
java.lang.String |
toSource(java.lang.String basetab)
Generate Java code |
java.lang.String |
toString()
Return a string describing this Constructor. |
Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public EntryPoint(Class declaringclass)
Creation date: (12-27-99 2:31:39 PM)
realConstructor
- java.lang.reflect.Constructordeclaringclass
- Method Detail |
public boolean equals(java.lang.Object obj)
obj
- public Class getDeclaringClass()
public Class getReturnType()
public Class[] getExceptionTypes()
public void addExceptionType(Class exception) throws SynthesisException
exception
- public int getModifiers()
public java.lang.String getName()
public void setName(java.lang.String name) throws SynthesisException
name
- public Class[] getParameterTypes()
public java.lang.String[] getParameterNames()
public void addParameter(Class type, java.lang.String name) throws SynthesisException
type
- name
- public abstract int hashCode()
public void setDeclaringClass(Class declaringClass) throws SynthesisException
declaringClass
- public void setModifiers(int modifiers) throws SynthesisException
modifiers
- intpublic java.lang.String toString()
public java.util.Hashtable(int,float)
The only possible modifiers for constructors are the access modifiers public, protected or private. Only one of these may appear, or none if the constructor has default (package) access.
Methods will also display their checked exceptions.
public void setBody(java.lang.String language, java.lang.StringBuffer body) throws SynthesisException
language
- body
- public java.lang.StringBuffer getBody()
public java.lang.String getLanguage()
public java.lang.String toSource(java.lang.String basetab)
basetab
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |