public Object getObject ( String type , Package pkg ) { if ( type == null || type . equals ( documentType ) ) { if ( object == null && content != null ) { object = VariableTranslator . realToObject ( pkg , documentType , content ) ; } } else { if ( content != null ) { documentType = type ; object = VariableTranslator . realToObject ( pkg , documentType , content ) ; } else if ( object != null ) { content = VariableTranslator . realToString ( pkg , documentType , object ) ; documentType = type ; object = VariableTranslator . realToObject ( pkg , documentType , content ) ; } } return object ; }
content in object format