| |
|
| java.lang.Object org.jibx.binding.classes.BindingMethod org.jibx.binding.classes.MethodBuilder org.jibx.binding.classes.ExceptionMethodBuilder org.jibx.binding.classes.ContextMethodBuilder org.jibx.binding.classes.MarshalUnmarshalBuilder org.jibx.binding.classes.UnmarshalBuilder
UnmarshalBuilder | public class UnmarshalBuilder extends MarshalUnmarshalBuilder (Code) | | Unmarshalling method builder. Tracks the creation of an unmarshalling method,
including special handling of exceptions that may be generated by object
accesses during the unmarshalling process.
author: Dennis M. Sosnoski version: 1.0 |
SINGLE_STRING_ARGS | final protected static Type[] SINGLE_STRING_ARGS(Code) | | |
UNMARSHALLING_POSITION_METHOD | final protected static String UNMARSHALLING_POSITION_METHOD(Code) | | |
UNMARSHALLING_POSITION_SIGNATURE | final protected static String UNMARSHALLING_POSITION_SIGNATURE(Code) | | |
UNMARSHAL_EXCEPTION_TEXT | final protected static String UNMARSHAL_EXCEPTION_TEXT(Code) | | |
UNMARSHAL_METHOD_ARGS | final protected static Type[] UNMARSHAL_METHOD_ARGS(Code) | | |
UnmarshalBuilder | public UnmarshalBuilder(String name, ClassFile cf, ClassFile mf) throws JiBXException(Code) | | Constructor. This sets up for constructing a virtual unmarshalling method
with public access and wrapped exception handling. If the method is being
generated directly to the class being unmarshalled it's built as a
virtual method; otherwise, it's done as a static method.
Parameters: name - method name to be built Parameters: cf - unmarshal class file information Parameters: mf - method generation class file information throws: JiBXException - on error in initializing method construction |
genExceptionHandler | public InstructionHandle genExceptionHandler() throws JiBXException(Code) | | Add exception handler code. The implementation of this abstract base
class method provides handling specific to an unmarshalling method.
handle for first instruction in handler throws: JiBXException - on error in creating exception handler |
Methods inherited from org.jibx.binding.classes.MethodBuilder | public void addException(String name)(Code)(Java Doc) public int addLocal(String name, Type type)(Code)(Java Doc) public ClassItem addMethod() throws JiBXException(Code)(Java Doc) public void addMethodExceptions(ClassItem method)(Code)(Java Doc) public void appendAASTORE()(Code)(Java Doc) public void appendACONST_NULL()(Code)(Java Doc) public void appendALOAD(String type)(Code)(Java Doc) public void appendARRAYLENGTH()(Code)(Java Doc) public void appendASTORE(String type)(Code)(Java Doc) public void appendCall(ClassItem item)(Code)(Java Doc) public void appendCallInit(String name, String signature)(Code)(Java Doc) public void appendCallInterface(String method, String signature)(Code)(Java Doc) public void appendCallStatic(String method, String signature)(Code)(Java Doc) public void appendCallVirtual(String method, String signature)(Code)(Java Doc) public void appendCreateArray(String type)(Code)(Java Doc) public void appendCreateCast(String from, String to)(Code)(Java Doc) public void appendCreateCast(String to)(Code)(Java Doc) public void appendCreateNew(String name)(Code)(Java Doc) public void appendDCMPG()(Code)(Java Doc) public void appendDUP()(Code)(Java Doc) public void appendDUP2()(Code)(Java Doc) public void appendDUP_X1()(Code)(Java Doc) public void appendFCMPG()(Code)(Java Doc) public void appendGet(ClassItem item)(Code)(Java Doc) public void appendGetField(ClassItem item)(Code)(Java Doc) public void appendGetStatic(ClassItem item)(Code)(Java Doc) public void appendIASTORE()(Code)(Java Doc) public void appendICONST_0()(Code)(Java Doc) public void appendICONST_1()(Code)(Java Doc) public BranchWrapper appendIFEQ(Object src)(Code)(Java Doc) public BranchWrapper appendIFGE(Object src)(Code)(Java Doc) public BranchWrapper appendIFLT(Object src)(Code)(Java Doc) public BranchWrapper appendIFNE(Object src)(Code)(Java Doc) public BranchWrapper appendIFNONNULL(Object src)(Code)(Java Doc) public BranchWrapper appendIFNULL(Object src)(Code)(Java Doc) public BranchWrapper appendIF_ICMPNE(Object src)(Code)(Java Doc) public void appendISUB()(Code)(Java Doc) public void appendIXOR()(Code)(Java Doc) public void appendIncrementLocal(int inc, int slot)(Code)(Java Doc) public void appendInstanceOf(String to)(Code)(Java Doc) public void appendLCMP()(Code)(Java Doc) public void appendLoadConstant(int value)(Code)(Java Doc) public void appendLoadConstant(String value)(Code)(Java Doc) public void appendLoadConstant(Object value)(Code)(Java Doc) public void appendLoadLocal(int slot)(Code)(Java Doc) public void appendPOP()(Code)(Java Doc) public void appendPOP2()(Code)(Java Doc) public void appendPut(ClassItem item)(Code)(Java Doc) public void appendPutField(ClassItem item)(Code)(Java Doc) public void appendPutStatic(ClassItem item)(Code)(Java Doc) public void appendReturn()(Code)(Java Doc) public void appendReturn(Type type)(Code)(Java Doc) public void appendReturn(String type)(Code)(Java Doc) public void appendSWAP()(Code)(Java Doc) public void appendSWAP1For2()(Code)(Java Doc) public void appendStoreLocal(int slot)(Code)(Java Doc) public BranchTarget appendTargetACONST_NULL()(Code)(Java Doc) public BranchTarget appendTargetCreateNew(String name)(Code)(Java Doc) public BranchTarget appendTargetLoadConstant(int value)(Code)(Java Doc) public BranchTarget appendTargetLoadConstant(String value)(Code)(Java Doc) public BranchTarget appendTargetNOP()(Code)(Java Doc) public void appendThrow()(Code)(Java Doc) public BranchWrapper appendUnconditionalBranch(Object src)(Code)(Java Doc) public void codeComplete(boolean suffix) throws JiBXException(Code)(Java Doc) protected LocalVariableGen createLocal(String name, Type type)(Code)(Java Doc) public int getAccessFlags()(Code)(Java Doc) protected InstructionHandle getFirstInstruction()(Code)(Java Doc) public ClassItem getItem()(Code)(Java Doc) public Object getKeyValue(Object key)(Code)(Java Doc) protected InstructionHandle getLastInstruction()(Code)(Java Doc) public Method getMethod()(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getSignature()(Code)(Java Doc) abstract protected void handleExceptions() throws JiBXException(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public void initStackState(BranchWrapper branch)(Code)(Java Doc) public void initStackState(BranchWrapper branch, int pop)(Code)(Java Doc) protected void initStackState(String[] types)(Code)(Java Doc) protected InstructionHandle internalAppendCreateNew(String name)(Code)(Java Doc) public boolean isStackTopLong()(Code)(Java Doc) public void setAccessFlags(int flags)(Code)(Java Doc) public Object setKeyValue(Object key, Object value)(Code)(Java Doc) final protected void setTarget(InstructionHandle inst)(Code)(Java Doc) public void targetNext(BranchWrapper branch)(Code)(Java Doc) public void targetNext(BranchWrapper[] branches)(Code)(Java Doc)
|
|
|
|